-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
feat: add aliases to '--scanners' #5558
Conversation
Signed-off-by: knqyf263 <knqyf263@gmail.com>
Signed-off-by: knqyf263 <knqyf263@gmail.com>
Signed-off-by: knqyf263 <knqyf263@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left 1 comment.
The rest look good.
But i am worried about different names of target (config
) and scanner (misconfig
).
We don't write that we support config
, misconf
and misconfiguration
scanner words and different names can be confusing.
Is there any point in this renaming?
'Target' refers to what is being scanned, like container images, VM images, or configuration files. It's the object of our security analysis. 'Scanner', on the other hand, is the tool or method used to detect security issues within the 'Target'. For example, if we scan configuration files, the 'Target' is the configuration files themselves, and the 'Scanner' identifies any misconfigurations in them. Therefore, |
Signed-off-by: knqyf263 <knqyf263@gmail.com>
hm... It make sense. You convinced me 😄 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Signed-off-by: knqyf263 <knqyf263@gmail.com>
|
I think After your explanation, I understand your logic and agree with it. I think we don't need to remove |
OK, I'll wait for @simar7, then. |
TBH I have always found |
When I named it However, in reality, WordPress configuration scanning has been added only to the product version, and we currently have no plans for supporting anything beyond IaC. Therefore, I think the name |
Keeping aliases for backwards compatibility makes sense to me. Moving forwards I think we can do Therefore to summarize:
|
@simar7 This PR is about scanners, not targets. We discussed targets a bit, but this PR renamed The target ( I explained the differences between targets and scanners here. In short,
We used |
Yeah that's fine by me. |
Description
This PR updates the allowed values of
--scanners
fromconfig
tomisconfig
. It also adds aliases for backward compatibility and spelling discrepancies.misconfig
also allowsconfig
misconf
misconfiguration
vuln
also allowsvulnerability
Before
NOTE: It remains working.
After
Related Issues
--scanners config
to--scanners misconfig
#5557Related PRs
Checklist