Skip to content

feat: Add support for scanning specific rules - #733

Merged
gabriellavengeo merged 1 commit into
masterfrom
scan-specific-rules
Jun 9, 2026
Merged

gabriellavengeo merged 1 commit into
masterfrom
scan-specific-rules

Conversation

@gabriellavengeo

@gabriellavengeo gabriellavengeo commented Jun 8, 2026

Copy link
Copy Markdown
Member

Add support for only running scans for specific rules instead of the entire ruleset. This is helpful if one wants to do some specific checks without having to filter the scan result afterwards (e.g. only check seccomp).

  • Added --rules/-r flag to CLI which takes a comma-separated list of rule IDs
  • Added support for a rule query parameter in the HTTP server mode (supports multiple, e.g. ?rule=foo&rule=bar)

All Submissions.

Code Submissions.

  • Does your submission pass linting, tests, and security analysis?

Changes to Core Features.

  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you written new tests for your core changes, as applicable?

@gabriellavengeo gabriellavengeo added enhancement go Pull requests that update Go code labels Jun 8, 2026
@gabriellavengeo
gabriellavengeo force-pushed the scan-specific-rules branch 2 times, most recently from 700c3db to 579cd9e Compare June 8, 2026 11:38
@gabriellavengeo
gabriellavengeo marked this pull request as ready for review June 8, 2026 11:44
copethomas
copethomas previously approved these changes Jun 8, 2026

@copethomas copethomas left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@copethomas copethomas left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@gabriellavengeo
gabriellavengeo merged commit a59caad into master Jun 9, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants