Skip to content

Commit

Permalink
ci: dogfooding lacework vulnerability scans (orb)
Browse files Browse the repository at this point in the history
Signed-off-by: Salim Afiune Maya <[email protected]>
  • Loading branch information
afiune committed Jun 9, 2020
1 parent 897b05a commit e74a188
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ parameters:
default: 'afiune,scottford'

orbs:
lacework: lacework/[email protected]
slack: circleci/[email protected]
jq: circleci/[email protected]

Expand Down Expand Up @@ -79,6 +80,19 @@ jobs:
steps:
- slack/status:
mentions: << pipeline.parameters.slack-mentions >>
vuln-scan-cli:
executor: lacework/default
parameters:
tag:
type: string
steps:
- lacework/vuln-scan-run:
account: CI_ACCOUNT
api-key: CI_API_KEY
api-secret: CI_API_SECRET
registry: index.docker.io
repository: techallylw/lacework-cli
tag: << parameters.tag >>

workflows:
version: 2
Expand Down Expand Up @@ -112,6 +126,12 @@ workflows:
only: /^v.*/
branches:
ignore: /.*/
- vuln-scan-cli:
requires:
- release
matrix:
parameters:
tag: ["ubi-8", "centos-8", "debian-10", "ubuntu-1804", "amazonlinux-2"]

nightly:
triggers:
Expand Down

0 comments on commit e74a188

Please sign in to comment.