sca_dependencies
Creates, updates, deletes, gets or lists a sca_dependencies resource.
Overview
| Name | sca_dependencies |
| Type | Resource |
| Id | datadog.security.sca_dependencies |
Fields
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
create_scaresult | insert | |||
create_scascan | exec | data |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
site | string | The Datadog site (region) for your organization, for example datadoghq.com, us3.datadoghq.com, us5.datadoghq.com, ap1.datadoghq.com, ap2.datadoghq.com, datadoghq.eu, ddog-gov.com. Resolved from the DD_SITE environment variable when set. Optional: defaults to datadoghq.com, or the value of the DD_SITE environment variable when set; a WHERE value overrides both. |
INSERT examples
- create_scaresult
- Manifest
No description available.
INSERT INTO datadog.security.sca_dependencies (
data
)
SELECT
'{{ data }}'
;
# Description fields are for documentation purposes
- name: sca_dependencies
props:
- name: data
description: |
The data object in an SCA request, containing the dependency graph attributes and request type.
value:
attributes:
commit:
author_date: "{{ author_date }}"
author_email: "{{ author_email }}"
author_name: "{{ author_name }}"
branch: "{{ branch }}"
committer_email: "{{ committer_email }}"
committer_name: "{{ committer_name }}"
sha: "{{ sha }}"
dependencies:
- exclusions: "{{ exclusions }}"
group: "{{ group }}"
is_dev: {{ is_dev }}
is_direct: {{ is_direct }}
language: "{{ language }}"
locations: "{{ locations }}"
name: "{{ name }}"
package_manager: "{{ package_manager }}"
purl: "{{ purl }}"
reachable_symbol_properties: "{{ reachable_symbol_properties }}"
version: "{{ version }}"
env: "{{ env }}"
files:
- name: "{{ name }}"
purl: "{{ purl }}"
relations:
- depends_on: "{{ depends_on }}"
ref: "{{ ref }}"
repository:
url: "{{ url }}"
service: "{{ service }}"
tags: "{{ tags }}"
vulnerabilities:
- affects: "{{ affects }}"
bom_ref: "{{ bom_ref }}"
id: "{{ id }}"
id: "{{ id }}"
type: "{{ type }}"
Lifecycle Methods
EXEC variables use wire (API) names.
- create_scascan
Accepted
EXEC datadog.security.sca_dependencies.create_scascan
@@json=
'{
"data": "{{ data }}"
}'
;