-
Notifications
You must be signed in to change notification settings - Fork 818
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
Edit Statuses #1016
Merged
Merged
Edit Statuses #1016
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
Hi! Welcome to Kubescape. Thank you for taking the time and contributing to the open source community
We will try to review as soon as possible!
Please open against the master branch |
Signed-off-by: Amir Malka <amirm@armosec.io>
dwertent
approved these changes
Feb 2, 2023
@Moshe-Rappaport-CA Well done :) |
@dwertent do we wait for some workflows to merge this one as well? |
Signed-off-by: Amir Malka <amirm@armosec.io>
Signed-off-by: Amir Malka <amirm@armosec.io>
Signed-off-by: Amir Malka <amirm@armosec.io>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Describe your changes
Due to the many types of statuses, we are changing it to have 3 statuses:
For the controls (control-summary, resource-associates-controls) and for the rules (resource-associated-rules) there will also be a sub-status as defined below:
frameworks summary
andresult summary
, there is only statusBelow is the difference between the old and new statuses:
* "Action required (configuration)" Also when the status is “passed”
Control types
"actionRequired": "configuration"
attribute."actionRequired": "equires review"
attribute."actionRequired": "manual review"
attribute.A control that is of the manual-review type, should contain a rule with match, which will return the resources as they are
Screenshots - If Any (Optional)
I ran the following command to view the changes in the CLI printout:
kubescape scan control C-9999,C-0004,C-0052,C-0026,C-0085,C-0042,C-0009
The results of these controls on my cluster should be as follows:
"C-0009", should be
passed(w/exceptions)
"C-0004", should be
skipped(configuration)
"C-9999", should be
skipped(manual review)
"C-0052", should be
passed(irrelevant)
"C-0026", should be
skipped(requires review)
"C-0085", should be
skipped(integration)
"C-0042", should be
passed
Summary table
Resource view
Prints only the controls that fail
Control view
Checklist before requesting a review
Please open the PR against the
dev
branch (Unless the PR contains only documentation changes)