Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions .github/workflows/ossf-scorecard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
- main

permissions:
id-token: write
contents: read
issues: read
pull-requests: read
Expand Down Expand Up @@ -48,9 +49,11 @@ jobs:
jq -c '. + {"metadata_owner": "'$OWNER'", "metadata_repo": "'$REPO'", "metadata_query": "ossf"}' ossf-results.json > ossf-results-modified.json

- name: "Post results to Sentinel"
uses: cds-snc/sentinel-forward-data-action@01db4a9203054ecdb60ff368c3cdfca71d62e85f
uses: cds-snc/sentinel-forward-data-action@2b0831903177e4ba07c850c71ab2645f72cab269
with:
file_name: ossf-results-modified.json
log_type: GitHubMetadata_OSSF_Scorecard
log_analytics_workspace_id: ${{ secrets.LOG_ANALYTICS_WORKSPACE_ID }}
log_analytics_workspace_key: ${{ secrets.LOG_ANALYTICS_WORKSPACE_KEY }}
dce_endpoint: ${{ secrets.SENTINEL_DCE_ENDPOINT }}
dcr_rule_id: ${{ secrets.SENTINEL_DCR_RULE_ID_OSSF }}
stream_name: ${{ secrets.SENTINEL_STREAM_NAME_OSSF }}
azure_client_id: ${{ secrets.SENTINEL_V2_AZURE_CLIENT_ID }}
azure_tenant_id: ${{ secrets.SENTINEL_V2_AZURE_TENANT_ID }}
Loading