Skip to content

Commit 4dc104e

Browse files
authored
feat: Add the lw-scanner to the CDK (#11)
* feat: Add the lw-scanner to the CDK * fix: rename binary * fix: don't wait on the cdk-ingest workflow
1 parent e4957a5 commit 4dc104e

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed

.github/workflows/cdk.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: cdk
2+
3+
on:
4+
release:
5+
action: released
6+
7+
jobs:
8+
deploy:
9+
runs-on: "ubuntu-latest"
10+
permissions:
11+
contents: read
12+
steps:
13+
- name: Deploy to production CDK
14+
uses: aurelien-baudet/workflow-dispatch@v2
15+
with:
16+
workflow: cdk-ingest.yaml
17+
repo: lacework/services
18+
ref: main
19+
token: ${{ secrets.RELENG_GH_TOKEN }}
20+
inputs: '{ "owner": "lacework", "repository": "lacework-vulnerability-scanner", "tag": "${{ github.event.release.tag_name }}" }'
21+
wait-for-completion: false

CDK.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: vuln-scanner
2+
binary_name: lw-scanner
3+
component_type: CLI_COMMAND
4+
description: Lacework inline scanner
5+
feature_flag: ""
6+
private: false
7+
install_message: >
8+
Having installed the 'vuln-scanner' component you unlocked a new command:
9+
10+
lacework vuln-scanner
11+
12+
This new command will perform an inline scan outside of Lacework. Further information can be
13+
found at https://docs.lacework.net/console/local-scanning-quickstart.
14+
update_message: ""

0 commit comments

Comments
 (0)