Skip to content

Commit

Permalink
Add flag support to audit job (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
FelicianoTech authored Feb 3, 2023
1 parent 9255625 commit 2856a45
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions src/jobs/audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,18 @@ parameters:
version:
description: The Warden version. This is a full SemVer version.
type: string
config:
description: Path to the Warden file.
group:
description: Which repository group to audit.
type: string
default: ./warden.yml
default: all
repositoriesFile:
description: Path to the repositories.yml file.
type: string
default: ./repositories.yml
policyFile:
description: Path to the policy.yml file.
type: string
default: ./policy.yml

docker:
- image: cimg/base:2023.01
Expand All @@ -19,4 +27,4 @@ steps:
- run:
name: "Run an audit"
command: |
warden audit
warden audit --group=<< parameters.group >> --repositoriesFile=<< parameters.repositoriesFile >> --policyFile=<< parameters.policyFile >>

0 comments on commit 2856a45

Please sign in to comment.