File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Runtime Policies Checks
2+
3+ on :
4+ push :
5+ branches : [master]
6+ pull_request :
7+ branches : [master]
8+
9+ jobs :
10+ check_policies :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - name : Checkout the repository
14+ uses : actions/checkout@v1
15+
16+ - name : Install the datadog-agent package
17+ run : |
18+ sudo bash -c 'echo "deb https://apt.datadoghq.com stable 7" > /etc/apt//sources.list.d/datadog.list'
19+ sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 A2923DFF56EDA6E76E55E492D3A80E30382E94DE
20+ sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 D75CEA17048B9ACBF186794B32637D44F14F620E
21+ sudo apt update
22+ sudo apt install datadog-agent
23+
24+ - name : Check the policies
25+ run : |
26+ /opt/datadog-agent/embedded/bin/security-agent runtime check-policies --policies-dir runtime
You can’t perform that action at this time.
0 commit comments