CreateVulnerabilityAuditDetails¶
- class oci.adm.models.CreateVulnerabilityAuditDetails(**kwargs)¶
Bases:
objectDetails to create a vulnerability audit.
Methods:
__init__(**kwargs)Initializes a new CreateVulnerabilityAuditDetails object with values from keyword arguments.
Attributes:
Gets the application_dependencies of this CreateVulnerabilityAuditDetails.
Gets the build_type of this CreateVulnerabilityAuditDetails.
Gets the compartment_id of this CreateVulnerabilityAuditDetails.
Gets the configuration of this CreateVulnerabilityAuditDetails.
Gets the defined_tags of this CreateVulnerabilityAuditDetails.
Gets the display_name of this CreateVulnerabilityAuditDetails.
Gets the freeform_tags of this CreateVulnerabilityAuditDetails.
[Required] Gets the knowledge_base_id of this CreateVulnerabilityAuditDetails.
Gets the source of this CreateVulnerabilityAuditDetails.
Gets the usage_data of this CreateVulnerabilityAuditDetails.
- __init__(**kwargs)¶
Initializes a new CreateVulnerabilityAuditDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
knowledge_base_id (str) – The value to assign to the knowledge_base_id property of this CreateVulnerabilityAuditDetails.
compartment_id (str) – The value to assign to the compartment_id property of this CreateVulnerabilityAuditDetails.
application_dependencies (list[oci.adm.models.ApplicationDependency]) – The value to assign to the application_dependencies property of this CreateVulnerabilityAuditDetails.
build_type (str) – The value to assign to the build_type property of this CreateVulnerabilityAuditDetails.
configuration (oci.adm.models.VulnerabilityAuditConfiguration) – The value to assign to the configuration property of this CreateVulnerabilityAuditDetails.
usage_data (oci.adm.models.UsageDataDetails) – The value to assign to the usage_data property of this CreateVulnerabilityAuditDetails.
display_name (str) – The value to assign to the display_name property of this CreateVulnerabilityAuditDetails.
source (oci.adm.models.VulnerabilityAuditSource) – The value to assign to the source property of this CreateVulnerabilityAuditDetails.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateVulnerabilityAuditDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateVulnerabilityAuditDetails.
- property application_dependencies¶
Gets the application_dependencies of this CreateVulnerabilityAuditDetails. List of application dependencies (without vulnerabilities).
- Returns
The application_dependencies of this CreateVulnerabilityAuditDetails.
- Return type
- property build_type¶
Gets the build_type of this CreateVulnerabilityAuditDetails. The type of the build tool is restricted to only two values MAVEN or UNSET. Use UNSET when the list of application dependencies is not Maven-related or is a mix of Maven and other ecosystems. This option is soon to be deprecated.
- Returns
The build_type of this CreateVulnerabilityAuditDetails.
- Return type
str
- property compartment_id¶
Gets the compartment_id of this CreateVulnerabilityAuditDetails. The compartment Oracle Cloud identifier (OCID) of the vulnerability audit. If compartment identifier is not provided the compartment of the associated knowledge base will be used instead.
- Returns
The compartment_id of this CreateVulnerabilityAuditDetails.
- Return type
str
- property configuration¶
Gets the configuration of this CreateVulnerabilityAuditDetails.
- Returns
The configuration of this CreateVulnerabilityAuditDetails.
- Return type
- property defined_tags¶
Gets the defined_tags of this CreateVulnerabilityAuditDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Returns
The defined_tags of this CreateVulnerabilityAuditDetails.
- Return type
dict(str, dict(str, object))
- property display_name¶
Gets the display_name of this CreateVulnerabilityAuditDetails. The name of the vulnerability audit.
- Returns
The display_name of this CreateVulnerabilityAuditDetails.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this CreateVulnerabilityAuditDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}
- Returns
The freeform_tags of this CreateVulnerabilityAuditDetails.
- Return type
dict(str, str)
- property knowledge_base_id¶
[Required] Gets the knowledge_base_id of this CreateVulnerabilityAuditDetails. The Oracle Cloud identifier (OCID) of the knowledge base.
- Returns
The knowledge_base_id of this CreateVulnerabilityAuditDetails.
- Return type
str
- property source¶
Gets the source of this CreateVulnerabilityAuditDetails.
- Returns
The source of this CreateVulnerabilityAuditDetails.
- Return type
- property usage_data¶
Gets the usage_data of this CreateVulnerabilityAuditDetails.
- Returns
The usage_data of this CreateVulnerabilityAuditDetails.
- Return type