-
Notifications
You must be signed in to change notification settings - Fork 316
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
fix(keyExpectedValue): ansible-aws queries convert to a recommendation rather than a current status #5589
fix(keyExpectedValue): ansible-aws queries convert to a recommendation rather than a current status #5589
Conversation
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.
Hello, @liorj-orca!
Thank you so much for another contribution!
Can you update your branch with the master, please?
I only have a minor suggestion:
@@ -18,7 +18,7 @@ CxPolicy[result] { | |||
"resourceName": task.name, | |||
"searchKey": sprintf("name={{%s}}.{{%s}}.require_uppercase", [task.name, modules[m]]), | |||
"issueType": "IncorrectValue", | |||
"keyExpectedValue": "iam_password_policy.require_uppercase set and true", | |||
"keyExpectedValue": "iam_password_policy.require_uppercase should be set and true", |
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.
Can you improve the keyActualValue
of this result, please?
"keyActualValue": "iam_password_policy.require_uppercase is undefined",
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.
sure NP
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, @liorj-orca! It should mention that is undefined because it is what the policy finds. My suggestion is to add the "is", because is missing
…n rather than a current status
adf6035
to
13b2f51
Compare
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 🚀
* build(deps): bump github.com/aws/aws-sdk-go from 1.44.52 to 1.44.53 (#5585) Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.44.52 to 1.44.53. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md) - [Commits](aws/aws-sdk-go@v1.44.52...v1.44.53) --- updated-dependencies: - dependency-name: github.com/aws/aws-sdk-go dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * docs(kicsbot): update images digest (#5587) * ci(deps): bump golang from 1.18.3-alpine to 1.18.4-alpine (#5586) * ci(deps): bump golang from 1.18.3-alpine to 1.18.4-alpine Bumps golang from 1.18.3-alpine to 1.18.4-alpine. --- updated-dependencies: - dependency-name: golang dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * updating git version Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: rafaela-soares <rafaela.soares@checkmarx.com> * fix(keyExpectedValue): ansible-aws queries convert to a recommendation rather than a current status (#5589) * fix(keyExpectedValue): ansible-azure queries convert to a recommendation rather than a current status (#5590) * fix(keyExpectedValue): AzureResourceManager queries convert to a recommendation rather than a current status * fix(cloud provider flag): support alicloud in the cloud provider flag (#5561) * support alicloud in the cloud provider flag * correcting E2E * fix(keyExpectedValue): ansible-gcp queries convert to a recommendation rather than a current status * build(deps): bump github.com/aws/aws-sdk-go from 1.44.53 to 1.44.54 (#5595) Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.44.53 to 1.44.54. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md) - [Commits](aws/aws-sdk-go@v1.44.53...v1.44.54) --- updated-dependencies: - dependency-name: github.com/aws/aws-sdk-go dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump github.com/open-policy-agent/opa from 0.42.1 to 0.42.2 (#5596) Bumps [github.com/open-policy-agent/opa](https://github.com/open-policy-agent/opa) from 0.42.1 to 0.42.2. - [Release notes](https://github.com/open-policy-agent/opa/releases) - [Changelog](https://github.com/open-policy-agent/opa/blob/main/CHANGELOG.md) - [Commits](open-policy-agent/opa@v0.42.1...v0.42.2) --- updated-dependencies: - dependency-name: github.com/open-policy-agent/opa dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump helm.sh/helm/v3 from 3.9.0 to 3.9.1 (#5597) Bumps [helm.sh/helm/v3](https://github.com/helm/helm) from 3.9.0 to 3.9.1. - [Release notes](https://github.com/helm/helm/releases) - [Commits](helm/helm@v3.9.0...v3.9.1) --- updated-dependencies: - dependency-name: helm.sh/helm/v3 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * docs(kicsbot): update images digest (#5598) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: rafaela-soares <rafaela.soares@checkmarx.com> Co-authored-by: liorj-orca <96177663+liorj-orca@users.noreply.github.com> Co-authored-by: Lior Jacobian <liorj@orca.security>
Closes #
Proposed Changes
I submit this contribution under the Apache-2.0 license.