Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions workflow-templates/security.properties.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"name": "Security scanning",
"description": "Keeping Infrastructure as Code Secure. Static code analysis for DockerFiles, Helm Charts, and Terraform IAC.",
"iconName": "security",
"categories": [
"Security",
"Scanning"
],
"filePatterns": [
".*"
]
}
1 change: 1 addition & 0 deletions workflow-templates/security.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 24 additions & 0 deletions workflow-templates/security.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
Name: Security scanning
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Name: Security scanning
name: Security scanning

on:
pull_request:
jobs:
security-scan:
runs-on: sre
name: security-checks
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Mkdir results-dir
run: mkdir -p results-dir
- name: Run Scan
uses: checkmarx/kics-action@v1.3
with:
path: '.'
fail_on: high
output_path: results-dir
output_formats: 'json'
token: ${{ secrets.GITHUB_TOKEN }}
enable_comments: true
- name: Display Scan results
run: |
jq -e '.' results-dir/results.json