ApplicationScanSettings

class oci.vulnerability_scanning.models.ApplicationScanSettings(**kwargs)

Bases: object

Agent scan settings for applicaiton scan

Methods

__init__(**kwargs) Initializes a new ApplicationScanSettings object with values from keyword arguments.

Attributes

application_scan_recurrence [Required] Gets the application_scan_recurrence of this ApplicationScanSettings.
folders_to_scan [Required] Gets the folders_to_scan of this ApplicationScanSettings.
is_enabled [Required] Gets the is_enabled of this ApplicationScanSettings.
__init__(**kwargs)

Initializes a new ApplicationScanSettings object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • application_scan_recurrence (str) – The value to assign to the application_scan_recurrence property of this ApplicationScanSettings.
  • is_enabled (bool) – The value to assign to the is_enabled property of this ApplicationScanSettings.
  • folders_to_scan (list[oci.vulnerability_scanning.models.FolderToScan]) – The value to assign to the folders_to_scan property of this ApplicationScanSettings.
application_scan_recurrence

[Required] Gets the application_scan_recurrence of this ApplicationScanSettings. Scan recurrences in RFC-5545 section 3.3.10 format. Only supported input are weekly, biweekly, monthly listed below FREQ=WEEKLY;WKST=<weekday>;INTERVAL=1 - This weekly scan on the specified weekday (e.g. Sunday) FREQ=WEEKLY;WKST=<weekday>;INTERVAL=2 - This bi-weekly scan on the specified weekday (e.g. Sunday) FREQ=MONTHLY;WKST=<weekday>;INTERVAL=1 - This monthly scan on the specified weekday (e.g. Sunday, starting from the next such weekday based on the time of setting creation)

Returns:The application_scan_recurrence of this ApplicationScanSettings.
Return type:str
folders_to_scan

[Required] Gets the folders_to_scan of this ApplicationScanSettings. List of folders selected for scanning

Returns:The folders_to_scan of this ApplicationScanSettings.
Return type:list[oci.vulnerability_scanning.models.FolderToScan]
is_enabled

[Required] Gets the is_enabled of this ApplicationScanSettings. Enable or disable application scan

Returns:The is_enabled of this ApplicationScanSettings.
Return type:bool