add sca analysis #1
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
on: [push] | |
name: Datadog Software Composition Analysis | |
jobs: | |
software-composition-analysis: | |
runs-on: ubuntu-latest | |
name: Datadog SBOM Generation and Upload | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Check imported libraries are secure and compliant | |
id: datadog-software-composition-analysis | |
uses: DataDog/datadog-sca-github-action@main | |
with: | |
dd_api_key: ${{ secrets.DD_API_KEY }} | |
dd_app_key: ${{ secrets.DD_APP_KEY }} | |
dd_service: devsecops-python-app | |
dd_env: ci | |
dd_site: datadoghq.com |