Skip to content

Amazon.Lambda.Logging.AspNetCore create parameterized JSON log messages #1965

Amazon.Lambda.Logging.AspNetCore create parameterized JSON log messages

Amazon.Lambda.Logging.AspNetCore create parameterized JSON log messages #1965

name: Semgrep
on:
# Scan changed files in PRs, block on new issues only (existing issues ignored)
pull_request:
push:
branches: ["dev", "master"]
schedule:
- cron: '23 20 * * 1'
# Manually trigger the workflow
workflow_dispatch:
jobs:
semgrep:
name: Scan
permissions:
security-events: write
runs-on: ubuntu-latest
container:
image: returntocorp/semgrep
# Skip any PR created by dependabot to avoid permission issues
if: (github.actor != 'dependabot[bot]')
steps:
# Fetch project source
- uses: actions/checkout@v4
- run: semgrep ci --sarif > semgrep.sarif
env:
SEMGREP_RULES: >- # more at semgrep.dev/explore
p/security-audit
p/secrets
p/owasp-top-ten
- name: Upload SARIF file for GitHub Advanced Security Dashboard
uses: github/codeql-action/upload-sarif@ff0a06e83cb2de871e5a09832bc6a81e7276941f #v3.28.18
with:
sarif_file: semgrep.sarif
if: always()