Class: DatadogAPIClient::V2::AIGuardScfwFindings

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v2/models/ai_guard_scfw_findings.rb

Overview

The Supply Chain Firewall verdict for the version-pinned install packages found in the request. Evaluation requires Supply Chain Firewall to be enabled for the organization and the caller to have the appsec_vm_read permission. Without that permission, Supply Chain Firewall evaluation is skipped; the AI Guard evaluation request itself is not rejected. Findings are omitted when Supply Chain Firewall does not produce a result. The recommended action combines the package outcomes. Confirmation support is inferred from the evaluator profile, not from a separate confirmation-capability flag. By default, a non-empty meta.coding_agent selects the coding-agent profile, which assumes the caller can ask for confirmation and retains WARN in recommended_action. Omitting meta.coding_agent or setting it to an empty string selects the default profile, which assumes the caller cannot ask for confirmation and returns ALLOW instead of WARN in recommended_action. Package outcomes still retain WARN, and BLOCK is never changed to ALLOW by this rule.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_properties ⇒ Object

Returns the value of attribute additional_properties.



44
45
46
# File 'lib/datadog_api_client/v2/models/ai_guard_scfw_findings.rb', line 44

def additional_properties
  @additional_properties
end

#packages ⇒ Object

The packages the firewall evaluated, ALLOW ones included.



39
40
41
# File 'lib/datadog_api_client/v2/models/ai_guard_scfw_findings.rb', line 39

def packages
  @packages
end

The Supply Chain Firewall outcome for a package, a matched rule, or the whole request.



42
43
44
# File 'lib/datadog_api_client/v2/models/ai_guard_scfw_findings.rb', line 42

def recommended_action
  @recommended_action
end