fix(userspace/libsinsp): solve data race and segfault in logger #2445
Workflow file for this run
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
name: Insecure API check | |
on: | |
pull_request: | |
branches: | |
- master | |
- 'release/**' | |
- 'maintainers/**' | |
jobs: | |
insecure-api: | |
name: check-insecure-api | |
runs-on: ubuntu-latest | |
container: | |
image: returntocorp/semgrep:1.41.0 | |
steps: | |
- name: Checkout Libs ⤵️ | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
with: | |
fetch-depth: 0 | |
- name: Scan PR for insecure API usage 🕵️ | |
run: | | |
semgrep scan \ | |
--error \ | |
--metrics=off \ | |
--baseline-commit ${{ github.event.pull_request.base.sha }} \ | |
--config=./semgrep |