kazuo278/image scan by trivy
Trivyを利用した イメージスキャン
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| image_name | イメージ名 | yes | — |
| image_tag | イメージタグ | yes | — |
| trivy_username | プライベートリポジトリのユーザ名 | no | — |
| trivy_password | プライベートリポジトリのパスワード | no | — |
| security_chceks | カンマ区切りした検査対象リスト(vuln,config,secert,license) | no | vuln,secret |
| exit_code | セキュリティの問題が見つかった場合の終了コード値 正常終了として扱う場合: 0 異常終了として扱う場合: 1 | no | 0 |
| format | フォーマット(table,json,template) | no | table |
| template | フォーマットにtemplateを指定した場合に利用する デフォルトテンプレートは以下の通り。 - html: /contrib/html.tpl - xml: /contrib/junit.tpl | no | — |
| output | outputファイル名 | no | trivy-image-report.log |
| severity | カンマ区切りした表示するセキュリティ重要度のリスト(UNKNOWN,LOW,MEDIUM,HIGH,CRITICAL) | no | UNKNOWN,LOW,MEDIUM,HIGH,CRITICAL |
| timeout | タイムアウト値 | no | 5m |
| needs_display | コンソール出力有無 true: 出力有り false: 出力無し | no | true |
| options | Trivy Image 実行オプション | no | — |
Outputs
no outputs