-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from darryk10/darryk10-patch-2
Update README.md
- Loading branch information
Showing
2 changed files
with
67 additions
and
0 deletions.
There are no files selected for viewing
53 changes: 53 additions & 0 deletions
53
.github/workflows/test-analyze-mode-report-customized.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
on: | ||
workflow_dispatch: | ||
|
||
name: Test Analyze Mode Custom Report | ||
|
||
jobs: | ||
test-falco: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
actions: read | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Start Falco | ||
uses: darryk10/falco-action/start@ddcff83af077b30af70f188ba7b5446c98041446 | ||
with: | ||
mode: analyze | ||
verbose: true | ||
|
||
- name: Overwrite Source Code | ||
shell: bash | ||
run: | | ||
echo "pwned" > ${{ github.workspace }}/pwn.txt | ||
- name: Read Sensitive File | ||
run: | | ||
sleep 3 | ||
docker run --rm --privileged ubuntu cat /etc/shadow | ||
sleep 3 | ||
- name: Stop Falco | ||
uses: darryk10/falco-action/stop@ddcff83af077b30af70f188ba7b5446c98041446 | ||
with: | ||
mode: analyze | ||
verbose: true | ||
|
||
analyze: | ||
runs-on: ubuntu-latest | ||
needs: test-falco | ||
permissions: | ||
contents: read | ||
actions: read | ||
steps: | ||
- name: Analyze | ||
uses: darryk10/falco-action/analyze@ddcff83af077b30af70f188ba7b5446c98041446 | ||
with: | ||
falco-version: '0.39.0' | ||
extract-written-files: true | ||
extract-chisels: true | ||
extract-hashes: true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters