diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index ca40fa8..58f54d6 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -14,8 +14,15 @@ on: schedule: - cron: '0 15 * * 3' +permissions: # added using https://github.com/step-security/secure-workflows + contents: read + jobs: analyze: + permissions: + actions: read # for github/codeql-action/init to get workflow details + contents: read # for actions/checkout to fetch code + security-events: write # for github/codeql-action/autobuild to send a status report name: Analyze runs-on: ubuntu-latest @@ -64,3 +71,5 @@ jobs: - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v1 + + diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 72f662c..7e648c5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,6 +10,8 @@ on: pull_request: branches: [ master ] +permissions: + contents: read # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: # This workflow contains a single job called "build" diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 0000000..fb55b81 --- /dev/null +++ b/SECURITY.md @@ -0,0 +1,4 @@ +Reporting a Vulnerability +Please report (suspected) security vulnerabilities as a project issue. You will receive a response from us within 48 hours. If the issue is confirmed, we will release a patch as soon as possible depending on complexity but historically within a few days. + +