CreateVulnerabilityAuditDetails¶
-
class
oci.adm.models.
CreateVulnerabilityAuditDetails
(**kwargs)¶ Bases:
object
Details to create a vulnerability audit.
Methods
__init__
(**kwargs)Initializes a new CreateVulnerabilityAuditDetails object with values from keyword arguments. Attributes
application_dependencies
Gets the application_dependencies of this CreateVulnerabilityAuditDetails. build_type
Gets the build_type of this CreateVulnerabilityAuditDetails. compartment_id
Gets the compartment_id of this CreateVulnerabilityAuditDetails. configuration
Gets the configuration of this CreateVulnerabilityAuditDetails. defined_tags
Gets the defined_tags of this CreateVulnerabilityAuditDetails. display_name
Gets the display_name of this CreateVulnerabilityAuditDetails. freeform_tags
Gets the freeform_tags of this CreateVulnerabilityAuditDetails. knowledge_base_id
[Required] Gets the knowledge_base_id of this CreateVulnerabilityAuditDetails. source
Gets the source of this CreateVulnerabilityAuditDetails. usage_data
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.
-
application_dependencies
¶ Gets the application_dependencies of this CreateVulnerabilityAuditDetails. List of application dependencies (without vulnerabilities).
Returns: The application_dependencies of this CreateVulnerabilityAuditDetails. Return type: list[oci.adm.models.ApplicationDependency]
-
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
-
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
-
configuration
¶ Gets the configuration of this CreateVulnerabilityAuditDetails.
Returns: The configuration of this CreateVulnerabilityAuditDetails. Return type: oci.adm.models.VulnerabilityAuditConfiguration
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))
-
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
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)
-
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
-
source
¶ Gets the source of this CreateVulnerabilityAuditDetails.
Returns: The source of this CreateVulnerabilityAuditDetails. Return type: oci.adm.models.VulnerabilityAuditSource
-
usage_data
¶ Gets the usage_data of this CreateVulnerabilityAuditDetails.
Returns: The usage_data of this CreateVulnerabilityAuditDetails. Return type: oci.adm.models.UsageDataDetails
-