Skip to content

Commit

Permalink
added auditd setup and artifact upload (#29)
Browse files Browse the repository at this point in the history
* added auditd setup and artifact upload

* removed generated files from eslint

* fixed eslint errors

* fixed bash lint issues

* fixes eejs wrappeer

* fixed shfmt errors

* fixed bolt user creation

* upload audit logs to artifact

* added auparse

* added bolt cwd

* moved auparse to working directory

* auparse fixes

* fixed auparse call

* fixed auparse call

* added sudo summary

* moved log upload to debug mode

* fixes

* disablee sudo + sudoless summary

* fixed sed command

* release v1.4.0
  • Loading branch information
raianand authored Apr 16, 2024
1 parent 059c3dd commit 74cedb4
Show file tree
Hide file tree
Showing 22 changed files with 127,583 additions and 21,478 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,13 @@ jobs:
- name: Fetch MITM-Proxy
run: |
mkdir -p mitmproxy
wget https://github.com/koalalab-inc/go-libaudit/releases/download/v2.5.0/auparse-2.5.0-linux-amd64 --quiet
wget https://downloads.mitmproxy.org/10.2.2/mitmproxy-10.2.2-${{ env.os }}-${{ env.arch }}.tar.gz --quiet
tar -xzf mitmproxy-10.2.2-${{ env.os }}-${{ env.arch }}.tar.gz -C mitmproxy
mkdir -p bolt
cp mitmproxy/mitmdump bolt/mitmdump
cp src/intercept.py bolt/intercept.py
cp auparse-2.5.0-linux-amd64 bolt/auparse
tar -czf bolt-${{ env.tag }}-${{ env.os }}-${{ env.arch }}.tar.gz bolt
rm -rf mitmproxy bolt
rm mitmproxy-10.2.2-linux-x86_64.tar.gz
Expand Down
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -102,4 +102,6 @@ __tests__/runner/*
.vscode
*.code-workspace

bin/
bin/

src/generated/
4 changes: 4 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ inputs:
description: 'Egress rules'
required: false
default: '[]'
disable_passwordless_sudo:
description: 'Disable sudo without password'
required: false
default: false

# Define your outputs here.
outputs:
Expand Down
2 changes: 1 addition & 1 deletion badges/coverage.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
144,091 changes: 122,713 additions & 21,378 deletions dist/index.js

Large diffs are not rendered by default.

3,251 changes: 3,236 additions & 15 deletions dist/licenses.txt

Large diffs are not rendered by default.

Loading

0 comments on commit 74cedb4

Please sign in to comment.