-
Notifications
You must be signed in to change notification settings - Fork 316
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update(branch): sync master to release/1.6 (#5496)
* docs(kicsbot): update images digest (#5485) * build(deps): bump github.com/aws/aws-sdk-go from 1.44.34 to 1.44.37 (#5490) Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.44.34 to 1.44.37. - [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.34...v1.44.37) --- 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> * fix(query): uncomment cloud formation's test sample (#5320) * fix(query): uncomment cloud formation's test sample Signed-off-by: Felipe Avelar <felipe.avelar@outlook.com> * add suggested changes Signed-off-by: Felipe Avelar <felipe.avelar@outlook.com> * added branching process for major versions (#5479) * Update sync_major_release.yaml (#5497) * build(deps): bump github.com/aws/aws-sdk-go from 1.44.37 to 1.44.38 (#5498) Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.44.37 to 1.44.38. - [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.37...v1.44.38) --- 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/stretchr/testify from 1.7.2 to 1.7.4 (#5499) Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.2 to 1.7.4. - [Release notes](https://github.com/stretchr/testify/releases) - [Commits](stretchr/testify@v1.7.2...v1.7.4) --- updated-dependencies: - dependency-name: github.com/stretchr/testify 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 (#5500) * update(query): improved "Resource Not Using Tags" description (#5483) * updated "Resource Not Using Tags" description * fixing E2E test * fix(secrets inspector): added mutex to lock addVulnerability (#5503) * added mutex to lock addVulnerability * increased timeout for go lint and go test race * fixed tiller queries * fixed 94b76ea5-e074-4ca2-8a03-c5a606e30645 * docs(queries): update queries catalog (#5501) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Felipe Avelar <felipe.avelar@outlook.com> Co-authored-by: Rafaela Soares <rafaela.soares@checkmarx.com>
- Loading branch information
1 parent
3330636
commit b7fd445
Showing
30 changed files
with
2,152 additions
and
2,130 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ name: go-e2e | |
|
||
on: | ||
pull_request: | ||
branches: [master] | ||
branches: [master, release/1.6] | ||
|
||
jobs: | ||
e2e-tests: | ||
|
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,8 +2,7 @@ name: static-analysis | |
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
branches: [master, release/1.6] | ||
|
||
jobs: | ||
sonarcloud: | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: sync-branches-action | ||
|
||
on: | ||
push: | ||
branches: [master] | ||
|
||
jobs: | ||
sync-major-release-branch: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Cancel Previous Runs | ||
uses: styfle/cancel-workflow-action@0.9.1 | ||
with: | ||
access_token: ${{ github.token }} | ||
- uses: actions/checkout@v3 | ||
- name: Sync Pull Request | ||
uses: repo-sync/pull-request@v2 | ||
with: | ||
source_branch: "master" | ||
destination_branch: "release/1.6" | ||
pr_title: "update(branch): sync master to release/1.6" | ||
pr_body: | | ||
**Automated Changes** | ||
- :magic_wand: Syncing master to release/1.6 | ||
Triggered by SHA: _${{ github.sha }}_ | ||
github_token: ${{ secrets.KICS_BOT_PAT }} |
25 changes: 0 additions & 25 deletions
25
assets/queries/cloudFormation/aws/iam_access_analyzer_not_enabled/test/file.json
This file was deleted.
Oops, something went wrong.
48 changes: 24 additions & 24 deletions
48
assets/queries/cloudFormation/aws/iam_access_analyzer_not_enabled/test/negative1.yaml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,24 @@ | ||
#AWSTemplateFormatVersion: 2010-09-09 | ||
#Resources: | ||
# Analyzer: | ||
# Type: "AWS::AccessAnalyzer::Analyzer" | ||
# Properties: | ||
# AnalyzerName: MyAccountAnalyzer | ||
# Type: ACCOUNT | ||
# Tags: | ||
# - Key: Kind | ||
# Value: Dev | ||
# ArchiveRules: | ||
# Archive findings for a trusted AWS account | ||
# RuleName: ArchiveTrustedAccountAccess | ||
# Filter: | ||
# - Property: "principal.AWS" | ||
# Eq: | ||
# - "123456789012" | ||
# Archive findings for known public S3 buckets | ||
# RuleName: ArchivePublicS3BucketsAccess | ||
# Filter: | ||
# - Property: "resource" | ||
# Contains: | ||
# - "arn:aws:s3:::docs-bucket" | ||
# - "arn:aws:s3:::clients-bucket" | ||
AWSTemplateFormatVersion: 2010-09-09 | ||
Resources: | ||
Analyzer: | ||
Type: "AWS::AccessAnalyzer::Analyzer" | ||
Properties: | ||
AnalyzerName: MyAccountAnalyzer | ||
Type: ACCOUNT | ||
Tags: | ||
- Key: Kind | ||
Value: Dev | ||
ArchiveRules: | ||
- # Archive findings for a trusted AWS account | ||
RuleName: ArchiveTrustedAccountAccess | ||
Filter: | ||
- Property: "principal.AWS" | ||
Eq: | ||
- "123456789012" | ||
- # Archive findings for known public S3 buckets | ||
RuleName: ArchivePublicS3BucketsAccess | ||
Filter: | ||
- Property: "resource" | ||
Contains: | ||
- "arn:aws:s3:::docs-bucket" | ||
- "arn:aws:s3:::clients-bucket" |
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
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
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
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
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
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
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
Oops, something went wrong.