CreateHostScanRecipeDetails¶
-
class
oci.vulnerability_scanning.models.
CreateHostScanRecipeDetails
(**kwargs)¶ Bases:
object
The information for a new host scan recipe
Methods
__init__
(**kwargs)Initializes a new CreateHostScanRecipeDetails object with values from keyword arguments. Attributes
agent_settings
[Required] Gets the agent_settings of this CreateHostScanRecipeDetails. application_settings
Gets the application_settings of this CreateHostScanRecipeDetails. compartment_id
[Required] Gets the compartment_id of this CreateHostScanRecipeDetails. defined_tags
Gets the defined_tags of this CreateHostScanRecipeDetails. display_name
Gets the display_name of this CreateHostScanRecipeDetails. freeform_tags
Gets the freeform_tags of this CreateHostScanRecipeDetails. port_settings
[Required] Gets the port_settings of this CreateHostScanRecipeDetails. schedule
[Required] Gets the schedule of this CreateHostScanRecipeDetails. -
__init__
(**kwargs)¶ Initializes a new CreateHostScanRecipeDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - display_name (str) – The value to assign to the display_name property of this CreateHostScanRecipeDetails.
- compartment_id (str) – The value to assign to the compartment_id property of this CreateHostScanRecipeDetails.
- port_settings (oci.vulnerability_scanning.models.HostScanPortSettings) – The value to assign to the port_settings property of this CreateHostScanRecipeDetails.
- agent_settings (oci.vulnerability_scanning.models.HostScanAgentSettings) – The value to assign to the agent_settings property of this CreateHostScanRecipeDetails.
- application_settings (oci.vulnerability_scanning.models.ApplicationScanSettings) – The value to assign to the application_settings property of this CreateHostScanRecipeDetails.
- schedule (oci.vulnerability_scanning.models.Schedule) – The value to assign to the schedule property of this CreateHostScanRecipeDetails.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateHostScanRecipeDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateHostScanRecipeDetails.
-
agent_settings
¶ [Required] Gets the agent_settings of this CreateHostScanRecipeDetails.
Returns: The agent_settings of this CreateHostScanRecipeDetails. Return type: oci.vulnerability_scanning.models.HostScanAgentSettings
-
application_settings
¶ Gets the application_settings of this CreateHostScanRecipeDetails.
Returns: The application_settings of this CreateHostScanRecipeDetails. Return type: oci.vulnerability_scanning.models.ApplicationScanSettings
-
compartment_id
¶ [Required] Gets the compartment_id of this CreateHostScanRecipeDetails. Compartment ID of the scanning config. If no individual hosts are specified, all hosts in this compartment are scanned
Returns: The compartment_id of this CreateHostScanRecipeDetails. Return type: str
Gets the defined_tags of this CreateHostScanRecipeDetails. 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 CreateHostScanRecipeDetails. Return type: dict(str, dict(str, object))
-
display_name
¶ Gets the display_name of this CreateHostScanRecipeDetails. Recipe identifier, which can be renamed. If not present, it will be auto-generated. Avoid entering confidential information.
Returns: The display_name of this CreateHostScanRecipeDetails. Return type: str
Gets the freeform_tags of this CreateHostScanRecipeDetails. 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 CreateHostScanRecipeDetails. Return type: dict(str, str)
-
port_settings
¶ [Required] Gets the port_settings of this CreateHostScanRecipeDetails.
Returns: The port_settings of this CreateHostScanRecipeDetails. Return type: oci.vulnerability_scanning.models.HostScanPortSettings
-
schedule
¶ [Required] Gets the schedule of this CreateHostScanRecipeDetails.
Returns: The schedule of this CreateHostScanRecipeDetails. Return type: oci.vulnerability_scanning.models.Schedule
-