-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
36 lines (36 loc) · 1.01 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: "cpggen"
description: "Generate CPG for multiple languages for use with joern and Qwiet.AI."
inputs:
src:
description: "Source directory. Defaults to workspace"
required: false
default: "/github/workspace"
out_dir:
description: "Output directory for generated CPG"
required: false
default: "/github/workspace/cpg_out"
export_out_dir:
description: "Output directory for exported graphs. Set the environment variable CPG_EXPORT to true"
required: false
default: "/github/workspace/cpg_export"
lang:
description: "Language frontend to use. Defaults to autodetect which can generate multiple CPGs"
required: false
default: autodetect
runs:
using: "docker"
image: "docker://ghcr.io/appthreat/cpggen:main"
args:
- "cpggen"
- "--src"
- ${{ inputs.src }}
- "--out-dir"
- ${{ inputs.out_dir }}
- "--lang"
- ${{ inputs.lang }}
- "--build"
- "--export-out-dir"
- ${{ inputs.export_out_dir }}
branding:
icon: "check"
color: "blue"