Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed patch_state profile construction; Removed requirement overrides from _resource. #1087

Merged
merged 2 commits into from
May 28, 2024

Conversation

pagbabian-splunk
Copy link
Contributor

@pagbabian-splunk pagbabian-splunk commented May 15, 2024

Related Issue: #1086, #1075

Description of changes:

Attributes in a constraint should be recommended, not optional. _resource was overriding the _entity requirements to optional. This bug fix removes the override.

The patch_state Discovery event class was registered with the Host profile, but not including the profiles/host.json attributes. The built-in device attribute needed a "profile": null statement in its clause.

… from _resource (name, uid) - should not be optional if in a constraint.

Signed-off-by: Paul Agbabian <[email protected]>
Signed-off-by: Paul Agbabian <[email protected]>
@pagbabian-splunk pagbabian-splunk added bug Something isn't working non_breaking Non Breaking, backwards compatible changes v1.3.0 Changes marked for v1.3.0 of OCSF labels May 15, 2024
@zschmerber zschmerber merged commit 34ba2f2 into main May 28, 2024
2 checks passed
@floydtree floydtree deleted the patch_state branch May 28, 2024 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working non_breaking Non Breaking, backwards compatible changes v1.3.0 Changes marked for v1.3.0 of OCSF
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants