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

Add resource_type to rule properties #4

Merged
merged 1 commit into from
Sep 6, 2024
Merged

Conversation

snakster
Copy link

@snakster snakster commented Sep 5, 2024

This PR adds the resource_type field from the rule metadata to the output of passed rules, and further to the rule properties in the Sarif report.

This field is useful to know which resource rules were applied to, in particular for rules without violations where we have no way of knowing this otherwise.

@snakster snakster marked this pull request as ready for review September 5, 2024 19:29
Copy link

@sixstone-qq sixstone-qq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 🤗

@snakster snakster merged commit e553f7a into master Sep 6, 2024
@snakster snakster deleted the snk-add-resource-type branch September 6, 2024 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants