You must set your Datadog API and application keys as secrets in your GitHub repository whether at the organization or repository level. Ensure that you add the code_analysis_read scope to your Datadog application key. For more information, see API and Application Keys.
Make sure to replace dd_site with the Datadog site you are using3.
Get the execution time statistics for analyzed files.
No
false
debug
Lets the analyzer print additional logs useful for debugging. To enable, set to yes.
No
no
subdirectory
A subdirectory pattern or glob (or space-delimited subdirectory patterns) that the analysis should be limited to. For example: “src” or “src packages”.
false
architecture
The CPU architecture to use for the analyzer. Supported values are x86_64 and aarch64.
Diff-aware scanning only scans the files modified by a commit when analyzing feature branches. Diff-aware is enabled by default. To disable diff-aware scanning, set the GitHub action diff_aware parameter to false.
Datadog Software Composition Analysis (SCA) also offers the ability to scan your dependencies
and detect vulnerabilities and licenses. You can use this product with the datadog-sca-github-action.