2022-04-08 21:52:36 +00:00
|
|
|
name: 'TruffleHog OSS'
|
2022-04-08 21:33:55 +00:00
|
|
|
description: 'Scan Github Actions with TruffleHog'
|
|
|
|
author: Truffle Security Co. <support@trufflesec.com>
|
|
|
|
|
|
|
|
inputs:
|
|
|
|
path:
|
|
|
|
description: Repository path
|
|
|
|
required: true
|
|
|
|
base:
|
|
|
|
description: Start scanning from here (usually main branch).
|
|
|
|
required: true
|
|
|
|
head:
|
|
|
|
description: Scan commits until here (usually dev branch).
|
|
|
|
required: false
|
2022-08-01 22:05:08 +00:00
|
|
|
extra_args:
|
|
|
|
default: ''
|
|
|
|
description: Extra args to be passed to the trufflehog cli.
|
|
|
|
required: false
|
2022-04-08 21:33:55 +00:00
|
|
|
branding:
|
|
|
|
icon: "shield"
|
|
|
|
color: "green"
|
|
|
|
runs:
|
|
|
|
using: "docker"
|
2022-05-09 17:58:47 +00:00
|
|
|
image: "docker://ghcr.io/trufflesecurity/trufflehog:latest"
|
2022-04-08 21:33:55 +00:00
|
|
|
args:
|
|
|
|
- git
|
|
|
|
- file://${{ inputs.path }}
|
|
|
|
- --since-commit
|
|
|
|
- ${{ inputs.base }}
|
|
|
|
- --branch
|
2022-04-08 21:52:36 +00:00
|
|
|
- ${{ inputs.head }}
|
2022-04-21 17:08:51 +00:00
|
|
|
- --fail
|
2022-08-01 22:05:08 +00:00
|
|
|
- ${{ inputs.extra_args }}
|