Skip to content

Commit

Permalink
update readme and fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
anderssonw committed Jan 27, 2023
1 parent 4315bfb commit e602f21
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run-security-scans.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ on:
default: true
type: boolean
allow_severity_level:
description: 'A string which determines the highest level of severity the security scans can find while still succeeding workflows. Only "medium", "high" and "critical" values are allowed. Any Note that these values are case sensitive.'
description: 'A string which determines the highest level of severity the security scans can find while still succeeding workflows. Only "medium", "high" and "critical" values are allowed. Note that these values are case sensitive.'
required: false
default: medium
type: string
Expand Down
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ jobs:
image_url: <registry>/<repository>:<tag> or <registry>/<repository>@<digest> # the image created by build job
trivy: <optional>
tfsec: <optional>
allow_severity_level: medium
dev:
needs: [build]
Expand All @@ -245,6 +246,7 @@ jobs:
| image_url | string | | The Docker image url must be of the form `registry/repository:tag` for run-security-scans. It is not required; however, in order to run Trivy and aquire attestations an image_url must be supplied. |
| trivy | boolean | | An optional boolean that determines whether trivy-scan will be run. Defaults to 'true'. |
| tfsec | boolean | | An optional boolean that determines whether tfsec-scan will be run. Defaults to 'true'. |
| allow_severity_level | string | | A string which determines the highest level of severity the security scans can find while still succeeding workflows. Only "medium", "high" and "critical" values are allowed. Note that these values are case sensitive. |

<br/>

Expand Down Expand Up @@ -596,11 +598,12 @@ this role.
<br />

# Troubleshooting
See [TROUBLESHOOTING.md](TROUBLESHOOTING.md).
If you experience and fix an issue that isn't mentioned there, feel free to add it.

See [TROUBLESHOOTING.md](TROUBLESHOOTING.md).
If you experience and fix an issue that isn't mentioned there, feel free to add it.

<br />

# Contributing

Get in touch with SKIP if you have any contribution suggestions, and feel free to create a pull-request.
Get in touch with SKIP if you have any contribution suggestions, and feel free to create a pull-request.

0 comments on commit e602f21

Please sign in to comment.