Class: DatadogAPIClient::V2::McpScanRequestDataAttributes

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

Overview

The attributes of an MCP SCA scan request, describing the libraries to scan and their context.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



33
34
35
# File 'lib/datadog_api_client/v2/models/mcp_scan_request_data_attributes.rb', line 33

def additional_properties
  @additional_properties
end

#commit_hashObject

The commit hash of the source code being scanned.



25
26
27
# File 'lib/datadog_api_client/v2/models/mcp_scan_request_data_attributes.rb', line 25

def commit_hash
  @commit_hash
end

#librariesObject

The list of libraries to scan for vulnerabilities.



28
29
30
# File 'lib/datadog_api_client/v2/models/mcp_scan_request_data_attributes.rb', line 28

def libraries
  @libraries
end

#resource_nameObject

The name of the resource (typically the repository or project name) being scanned.



31
32
33
# File 'lib/datadog_api_client/v2/models/mcp_scan_request_data_attributes.rb', line 31

def resource_name
  @resource_name
end