-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #171 from SumoLogic/fy25q1awso
Fy25q1awso Release
- Loading branch information
Showing
79 changed files
with
12,192 additions
and
1,530 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
name: "CF template tests" | ||
on: [workflow_dispatch, pull_request] | ||
|
||
jobs: | ||
ValidateLinting: | ||
name: "Validatation (cfn-lint)" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup Cloud Formation Linter with Latest Version | ||
uses: scottbrenner/cfn-lint-action@v2 | ||
|
||
- name: Print the Cloud Formation Linter Version & run Linter. | ||
run: | | ||
cfn-lint aws-observability/**/*.yaml --ignore-templates aws-observability/**/*TestTemplate.yaml | ||
CFSecurityChecksCheckovt: | ||
name: "Security Checks (checkov)" | ||
runs-on: "ubuntu-latest" | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v3 | ||
|
||
- uses: bridgecrewio/checkov-action@master | ||
with: | ||
directory: 'aws-observability/' | ||
quiet: true | ||
framework: cloudformation | ||
output_format: cli | ||
output_bc_ids: false | ||
skip_check: CKV_AWS_26,CKV_AWS_116,CKV_AWS_117,CKV_AWS_115,CKV_AWS_108,CKV_AWS_173,CKV_AWS_18,CKV_AWS_21,CKV_AWS_109,CKV_AWS_67,CKV_AWS_36,CKV_AWS_35,CKV_AWS_111,CKV_AWS_54,CKV_AWS_56,CKV_AWS_55,CKV_AWS_53 | ||
|
||
CFSecurityChecksCFNNAG: | ||
name: "Security Checks (cfn-nag)" | ||
runs-on: "ubuntu-latest" | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: 2.6 | ||
- name: Install cfn_nag | ||
run: | | ||
gem install cfn-nag | ||
- name: Validate with cfn_nag | ||
run: | | ||
cfn_nag_scan -i aws-observability --ignore-fatal aws-observability/**/TestTemplate.yaml | ||
continue-on-error: true |
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,47 @@ | ||
name: "TF template tests" | ||
on: [workflow_dispatch, pull_request] | ||
|
||
jobs: | ||
|
||
ValidateTF: | ||
runs-on: ubuntu-latest | ||
name: "Validatation (format & syntax)" | ||
defaults: | ||
run: | ||
working-directory: ./aws-observability-terraform | ||
steps: | ||
- uses: actions/checkout@v4 | ||
name: Checkout source code | ||
|
||
- uses: hashicorp/setup-terraform@v3 | ||
name: Setup Terraform | ||
|
||
- name: Terraform fmt | ||
id: fmt | ||
run: terraform fmt -check -recursive -diff | ||
continue-on-error: true | ||
|
||
- name: Terraform Init | ||
id: init | ||
run: terraform init | ||
|
||
- name: Terraform Validate | ||
id: validate | ||
run: terraform validate | ||
|
||
TFSecurityChecks: | ||
name: "Security Checks (checkov)" | ||
runs-on: "ubuntu-latest" | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v3 | ||
|
||
- uses: bridgecrewio/checkov-action@master | ||
with: | ||
directory: 'aws-observability-terraform/' | ||
quiet: true | ||
framework: terraform | ||
output_format: cli | ||
output_bc_ids: false | ||
download_external_modules: true | ||
skip_check: CKV_AWS_26,CKV_AWS_35,CKV_AWS_67,CKV_AWS_36,CKV_AWS_252,CKV_AWS_158,CKV_AWS_338,CKV_AWS_117,CKV_AWS_115,CKV_AWS_173,CKV_AWS_50,CKV_AWS_241,CKV_AWS_240,CKV2_AWS_6,CKV2_AWS_62,CKV_AWS_144,CKV_AWS_18,CKV_AWS_21,CKV_AWS_145,CKV_TF_1,CKV_AWS_27,CKV_AWS_124,CKV2_AWS_10,CKV_AWS_272,CKV2_AWS_61 |
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.