Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
cataphract committed Aug 29, 2024
1 parent ae35f9b commit f7dc232
Show file tree
Hide file tree
Showing 18 changed files with 654 additions and 90 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,11 @@ jobs:
uses: actions/checkout@v4
- name: Get library artifact
run: ./utils/scripts/load-binary.sh ${{ matrix.library }}
- name: Get nginx module
if: matrix.library == 'cpp'
run: ./utils/scripts/load-binary.sh nginx
env:
CIRCLECI_TOKEN: ${{ secrets.CIRCLECI_TOKEN }}
- name: Get agent artifact
run: ./utils/scripts/load-binary.sh agent
# ### appsec-event-rules is now a private repo. The GH_TOKEN provided can't read private repos.
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/run-end-to-end.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,8 @@ jobs:
env:
DD_API_KEY: ${{ secrets.DD_API_KEY }}
- name: Run APPSEC_MISSING_RULES scenario
# C++ 1.2.0 freeze when the rules file is missing
if: always() && steps.build.outcome == 'success' && contains(inputs.scenarios, '"APPSEC_MISSING_RULES"') && inputs.library != 'cpp'
if: always() && steps.build.outcome == 'success' && contains(inputs.scenarios, '"APPSEC_MISSING_RULES"') && matrix.weblog != 'nginx'
# nginx 1.2.0 refuses to start without a valid rules files
run: ./run.sh APPSEC_MISSING_RULES
env:
DD_API_KEY: ${{ secrets.DD_API_KEY }}
Expand All @@ -182,8 +182,8 @@ jobs:
env:
DD_API_KEY: ${{ secrets.DD_API_KEY }}
- name: Run APPSEC_CORRUPTED_RULES scenario
# C++ 1.2.0 freeze when the rules file is missing
if: always() && steps.build.outcome == 'success' && contains(inputs.scenarios, '"APPSEC_CORRUPTED_RULES"') && inputs.library != 'cpp'
if: always() && steps.build.outcome == 'success' && contains(inputs.scenarios, '"APPSEC_CORRUPTED_RULES"') && matrix.weblog != 'nginx'
# nginx 1.2.0 refuses to start without a valid rules files
run: ./run.sh APPSEC_CORRUPTED_RULES
env:
DD_API_KEY: ${{ secrets.DD_API_KEY }}
Expand Down
Loading

0 comments on commit f7dc232

Please sign in to comment.