1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. VulnerabilityScanning
  5. HostScanRecipe
Oracle Cloud Infrastructure v1.29.0 published on Thursday, Mar 28, 2024 by Pulumi

oci.VulnerabilityScanning.HostScanRecipe

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.29.0 published on Thursday, Mar 28, 2024 by Pulumi

    This resource provides the Host Scan Recipe resource in Oracle Cloud Infrastructure Vulnerability Scanning service.

    Creates a new HostScanRecipe. A recipe determines the types of security issues that you want scanned, and how often to scan.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testHostScanRecipe = new oci.vulnerabilityscanning.HostScanRecipe("testHostScanRecipe", {
        agentSettings: {
            scanLevel: _var.host_scan_recipe_agent_settings_scan_level,
            agentConfiguration: {
                vendor: _var.host_scan_recipe_agent_settings_agent_configuration_vendor,
                cisBenchmarkSettings: {
                    scanLevel: _var.host_scan_recipe_agent_settings_agent_configuration_cis_benchmark_settings_scan_level,
                },
                endpointProtectionSettings: {
                    scanLevel: _var.host_scan_recipe_agent_settings_agent_configuration_endpoint_protection_settings_scan_level,
                },
                shouldUnInstall: _var.host_scan_recipe_agent_settings_agent_configuration_should_un_install,
                vaultSecretId: oci_vault_secret.test_secret.id,
                vendorType: _var.host_scan_recipe_agent_settings_agent_configuration_vendor_type,
            },
        },
        compartmentId: _var.compartment_id,
        portSettings: {
            scanLevel: _var.host_scan_recipe_port_settings_scan_level,
        },
        schedule: {
            type: _var.host_scan_recipe_schedule_type,
            dayOfWeek: _var.host_scan_recipe_schedule_day_of_week,
        },
        applicationSettings: {
            applicationScanRecurrence: _var.host_scan_recipe_application_settings_application_scan_recurrence,
            foldersToScans: [{
                folder: _var.host_scan_recipe_application_settings_folders_to_scan_folder,
                operatingsystem: _var.host_scan_recipe_application_settings_folders_to_scan_operatingsystem,
            }],
            isEnabled: _var.host_scan_recipe_application_settings_is_enabled,
        },
        definedTags: {
            "foo-namespace.bar-key": "value",
        },
        displayName: _var.host_scan_recipe_display_name,
        freeformTags: {
            "bar-key": "value",
        },
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_host_scan_recipe = oci.vulnerability_scanning.HostScanRecipe("testHostScanRecipe",
        agent_settings=oci.vulnerability_scanning.HostScanRecipeAgentSettingsArgs(
            scan_level=var["host_scan_recipe_agent_settings_scan_level"],
            agent_configuration=oci.vulnerability_scanning.HostScanRecipeAgentSettingsAgentConfigurationArgs(
                vendor=var["host_scan_recipe_agent_settings_agent_configuration_vendor"],
                cis_benchmark_settings=oci.vulnerability_scanning.HostScanRecipeAgentSettingsAgentConfigurationCisBenchmarkSettingsArgs(
                    scan_level=var["host_scan_recipe_agent_settings_agent_configuration_cis_benchmark_settings_scan_level"],
                ),
                endpoint_protection_settings=oci.vulnerability_scanning.HostScanRecipeAgentSettingsAgentConfigurationEndpointProtectionSettingsArgs(
                    scan_level=var["host_scan_recipe_agent_settings_agent_configuration_endpoint_protection_settings_scan_level"],
                ),
                should_un_install=var["host_scan_recipe_agent_settings_agent_configuration_should_un_install"],
                vault_secret_id=oci_vault_secret["test_secret"]["id"],
                vendor_type=var["host_scan_recipe_agent_settings_agent_configuration_vendor_type"],
            ),
        ),
        compartment_id=var["compartment_id"],
        port_settings=oci.vulnerability_scanning.HostScanRecipePortSettingsArgs(
            scan_level=var["host_scan_recipe_port_settings_scan_level"],
        ),
        schedule=oci.vulnerability_scanning.HostScanRecipeScheduleArgs(
            type=var["host_scan_recipe_schedule_type"],
            day_of_week=var["host_scan_recipe_schedule_day_of_week"],
        ),
        application_settings=oci.vulnerability_scanning.HostScanRecipeApplicationSettingsArgs(
            application_scan_recurrence=var["host_scan_recipe_application_settings_application_scan_recurrence"],
            folders_to_scans=[oci.vulnerability_scanning.HostScanRecipeApplicationSettingsFoldersToScanArgs(
                folder=var["host_scan_recipe_application_settings_folders_to_scan_folder"],
                operatingsystem=var["host_scan_recipe_application_settings_folders_to_scan_operatingsystem"],
            )],
            is_enabled=var["host_scan_recipe_application_settings_is_enabled"],
        ),
        defined_tags={
            "foo-namespace.bar-key": "value",
        },
        display_name=var["host_scan_recipe_display_name"],
        freeform_tags={
            "bar-key": "value",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/go/oci/VulnerabilityScanning"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := VulnerabilityScanning.NewHostScanRecipe(ctx, "testHostScanRecipe", &VulnerabilityScanning.HostScanRecipeArgs{
    			AgentSettings: &vulnerabilityscanning.HostScanRecipeAgentSettingsArgs{
    				ScanLevel: pulumi.Any(_var.Host_scan_recipe_agent_settings_scan_level),
    				AgentConfiguration: &vulnerabilityscanning.HostScanRecipeAgentSettingsAgentConfigurationArgs{
    					Vendor: pulumi.Any(_var.Host_scan_recipe_agent_settings_agent_configuration_vendor),
    					CisBenchmarkSettings: &vulnerabilityscanning.HostScanRecipeAgentSettingsAgentConfigurationCisBenchmarkSettingsArgs{
    						ScanLevel: pulumi.Any(_var.Host_scan_recipe_agent_settings_agent_configuration_cis_benchmark_settings_scan_level),
    					},
    					EndpointProtectionSettings: &vulnerabilityscanning.HostScanRecipeAgentSettingsAgentConfigurationEndpointProtectionSettingsArgs{
    						ScanLevel: pulumi.Any(_var.Host_scan_recipe_agent_settings_agent_configuration_endpoint_protection_settings_scan_level),
    					},
    					ShouldUnInstall: pulumi.Any(_var.Host_scan_recipe_agent_settings_agent_configuration_should_un_install),
    					VaultSecretId:   pulumi.Any(oci_vault_secret.Test_secret.Id),
    					VendorType:      pulumi.Any(_var.Host_scan_recipe_agent_settings_agent_configuration_vendor_type),
    				},
    			},
    			CompartmentId: pulumi.Any(_var.Compartment_id),
    			PortSettings: &vulnerabilityscanning.HostScanRecipePortSettingsArgs{
    				ScanLevel: pulumi.Any(_var.Host_scan_recipe_port_settings_scan_level),
    			},
    			Schedule: &vulnerabilityscanning.HostScanRecipeScheduleArgs{
    				Type:      pulumi.Any(_var.Host_scan_recipe_schedule_type),
    				DayOfWeek: pulumi.Any(_var.Host_scan_recipe_schedule_day_of_week),
    			},
    			ApplicationSettings: &vulnerabilityscanning.HostScanRecipeApplicationSettingsArgs{
    				ApplicationScanRecurrence: pulumi.Any(_var.Host_scan_recipe_application_settings_application_scan_recurrence),
    				FoldersToScans: vulnerabilityscanning.HostScanRecipeApplicationSettingsFoldersToScanArray{
    					&vulnerabilityscanning.HostScanRecipeApplicationSettingsFoldersToScanArgs{
    						Folder:          pulumi.Any(_var.Host_scan_recipe_application_settings_folders_to_scan_folder),
    						Operatingsystem: pulumi.Any(_var.Host_scan_recipe_application_settings_folders_to_scan_operatingsystem),
    					},
    				},
    				IsEnabled: pulumi.Any(_var.Host_scan_recipe_application_settings_is_enabled),
    			},
    			DefinedTags: pulumi.Map{
    				"foo-namespace.bar-key": pulumi.Any("value"),
    			},
    			DisplayName: pulumi.Any(_var.Host_scan_recipe_display_name),
    			FreeformTags: pulumi.Map{
    				"bar-key": pulumi.Any("value"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testHostScanRecipe = new Oci.VulnerabilityScanning.HostScanRecipe("testHostScanRecipe", new()
        {
            AgentSettings = new Oci.VulnerabilityScanning.Inputs.HostScanRecipeAgentSettingsArgs
            {
                ScanLevel = @var.Host_scan_recipe_agent_settings_scan_level,
                AgentConfiguration = new Oci.VulnerabilityScanning.Inputs.HostScanRecipeAgentSettingsAgentConfigurationArgs
                {
                    Vendor = @var.Host_scan_recipe_agent_settings_agent_configuration_vendor,
                    CisBenchmarkSettings = new Oci.VulnerabilityScanning.Inputs.HostScanRecipeAgentSettingsAgentConfigurationCisBenchmarkSettingsArgs
                    {
                        ScanLevel = @var.Host_scan_recipe_agent_settings_agent_configuration_cis_benchmark_settings_scan_level,
                    },
                    EndpointProtectionSettings = new Oci.VulnerabilityScanning.Inputs.HostScanRecipeAgentSettingsAgentConfigurationEndpointProtectionSettingsArgs
                    {
                        ScanLevel = @var.Host_scan_recipe_agent_settings_agent_configuration_endpoint_protection_settings_scan_level,
                    },
                    ShouldUnInstall = @var.Host_scan_recipe_agent_settings_agent_configuration_should_un_install,
                    VaultSecretId = oci_vault_secret.Test_secret.Id,
                    VendorType = @var.Host_scan_recipe_agent_settings_agent_configuration_vendor_type,
                },
            },
            CompartmentId = @var.Compartment_id,
            PortSettings = new Oci.VulnerabilityScanning.Inputs.HostScanRecipePortSettingsArgs
            {
                ScanLevel = @var.Host_scan_recipe_port_settings_scan_level,
            },
            Schedule = new Oci.VulnerabilityScanning.Inputs.HostScanRecipeScheduleArgs
            {
                Type = @var.Host_scan_recipe_schedule_type,
                DayOfWeek = @var.Host_scan_recipe_schedule_day_of_week,
            },
            ApplicationSettings = new Oci.VulnerabilityScanning.Inputs.HostScanRecipeApplicationSettingsArgs
            {
                ApplicationScanRecurrence = @var.Host_scan_recipe_application_settings_application_scan_recurrence,
                FoldersToScans = new[]
                {
                    new Oci.VulnerabilityScanning.Inputs.HostScanRecipeApplicationSettingsFoldersToScanArgs
                    {
                        Folder = @var.Host_scan_recipe_application_settings_folders_to_scan_folder,
                        Operatingsystem = @var.Host_scan_recipe_application_settings_folders_to_scan_operatingsystem,
                    },
                },
                IsEnabled = @var.Host_scan_recipe_application_settings_is_enabled,
            },
            DefinedTags = 
            {
                { "foo-namespace.bar-key", "value" },
            },
            DisplayName = @var.Host_scan_recipe_display_name,
            FreeformTags = 
            {
                { "bar-key", "value" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.VulnerabilityScanning.HostScanRecipe;
    import com.pulumi.oci.VulnerabilityScanning.HostScanRecipeArgs;
    import com.pulumi.oci.VulnerabilityScanning.inputs.HostScanRecipeAgentSettingsArgs;
    import com.pulumi.oci.VulnerabilityScanning.inputs.HostScanRecipeAgentSettingsAgentConfigurationArgs;
    import com.pulumi.oci.VulnerabilityScanning.inputs.HostScanRecipeAgentSettingsAgentConfigurationCisBenchmarkSettingsArgs;
    import com.pulumi.oci.VulnerabilityScanning.inputs.HostScanRecipeAgentSettingsAgentConfigurationEndpointProtectionSettingsArgs;
    import com.pulumi.oci.VulnerabilityScanning.inputs.HostScanRecipePortSettingsArgs;
    import com.pulumi.oci.VulnerabilityScanning.inputs.HostScanRecipeScheduleArgs;
    import com.pulumi.oci.VulnerabilityScanning.inputs.HostScanRecipeApplicationSettingsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var testHostScanRecipe = new HostScanRecipe("testHostScanRecipe", HostScanRecipeArgs.builder()        
                .agentSettings(HostScanRecipeAgentSettingsArgs.builder()
                    .scanLevel(var_.host_scan_recipe_agent_settings_scan_level())
                    .agentConfiguration(HostScanRecipeAgentSettingsAgentConfigurationArgs.builder()
                        .vendor(var_.host_scan_recipe_agent_settings_agent_configuration_vendor())
                        .cisBenchmarkSettings(HostScanRecipeAgentSettingsAgentConfigurationCisBenchmarkSettingsArgs.builder()
                            .scanLevel(var_.host_scan_recipe_agent_settings_agent_configuration_cis_benchmark_settings_scan_level())
                            .build())
                        .endpointProtectionSettings(HostScanRecipeAgentSettingsAgentConfigurationEndpointProtectionSettingsArgs.builder()
                            .scanLevel(var_.host_scan_recipe_agent_settings_agent_configuration_endpoint_protection_settings_scan_level())
                            .build())
                        .shouldUnInstall(var_.host_scan_recipe_agent_settings_agent_configuration_should_un_install())
                        .vaultSecretId(oci_vault_secret.test_secret().id())
                        .vendorType(var_.host_scan_recipe_agent_settings_agent_configuration_vendor_type())
                        .build())
                    .build())
                .compartmentId(var_.compartment_id())
                .portSettings(HostScanRecipePortSettingsArgs.builder()
                    .scanLevel(var_.host_scan_recipe_port_settings_scan_level())
                    .build())
                .schedule(HostScanRecipeScheduleArgs.builder()
                    .type(var_.host_scan_recipe_schedule_type())
                    .dayOfWeek(var_.host_scan_recipe_schedule_day_of_week())
                    .build())
                .applicationSettings(HostScanRecipeApplicationSettingsArgs.builder()
                    .applicationScanRecurrence(var_.host_scan_recipe_application_settings_application_scan_recurrence())
                    .foldersToScans(HostScanRecipeApplicationSettingsFoldersToScanArgs.builder()
                        .folder(var_.host_scan_recipe_application_settings_folders_to_scan_folder())
                        .operatingsystem(var_.host_scan_recipe_application_settings_folders_to_scan_operatingsystem())
                        .build())
                    .isEnabled(var_.host_scan_recipe_application_settings_is_enabled())
                    .build())
                .definedTags(Map.of("foo-namespace.bar-key", "value"))
                .displayName(var_.host_scan_recipe_display_name())
                .freeformTags(Map.of("bar-key", "value"))
                .build());
    
        }
    }
    
    resources:
      testHostScanRecipe:
        type: oci:VulnerabilityScanning:HostScanRecipe
        properties:
          agentSettings:
            scanLevel: ${var.host_scan_recipe_agent_settings_scan_level}
            agentConfiguration:
              vendor: ${var.host_scan_recipe_agent_settings_agent_configuration_vendor}
              cisBenchmarkSettings:
                scanLevel: ${var.host_scan_recipe_agent_settings_agent_configuration_cis_benchmark_settings_scan_level}
              endpointProtectionSettings:
                scanLevel: ${var.host_scan_recipe_agent_settings_agent_configuration_endpoint_protection_settings_scan_level}
              shouldUnInstall: ${var.host_scan_recipe_agent_settings_agent_configuration_should_un_install}
              vaultSecretId: ${oci_vault_secret.test_secret.id}
              vendorType: ${var.host_scan_recipe_agent_settings_agent_configuration_vendor_type}
          compartmentId: ${var.compartment_id}
          portSettings:
            scanLevel: ${var.host_scan_recipe_port_settings_scan_level}
          schedule:
            type: ${var.host_scan_recipe_schedule_type}
            dayOfWeek: ${var.host_scan_recipe_schedule_day_of_week}
          applicationSettings:
            applicationScanRecurrence: ${var.host_scan_recipe_application_settings_application_scan_recurrence}
            foldersToScans:
              - folder: ${var.host_scan_recipe_application_settings_folders_to_scan_folder}
                operatingsystem: ${var.host_scan_recipe_application_settings_folders_to_scan_operatingsystem}
            isEnabled: ${var.host_scan_recipe_application_settings_is_enabled}
          definedTags:
            foo-namespace.bar-key: value
          displayName: ${var.host_scan_recipe_display_name}
          freeformTags:
            bar-key: value
    

    Create HostScanRecipe Resource

    new HostScanRecipe(name: string, args: HostScanRecipeArgs, opts?: CustomResourceOptions);
    @overload
    def HostScanRecipe(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       agent_settings: Optional[_vulnerabilityscanning.HostScanRecipeAgentSettingsArgs] = None,
                       application_settings: Optional[_vulnerabilityscanning.HostScanRecipeApplicationSettingsArgs] = None,
                       compartment_id: Optional[str] = None,
                       defined_tags: Optional[Mapping[str, Any]] = None,
                       display_name: Optional[str] = None,
                       freeform_tags: Optional[Mapping[str, Any]] = None,
                       port_settings: Optional[_vulnerabilityscanning.HostScanRecipePortSettingsArgs] = None,
                       schedule: Optional[_vulnerabilityscanning.HostScanRecipeScheduleArgs] = None)
    @overload
    def HostScanRecipe(resource_name: str,
                       args: HostScanRecipeArgs,
                       opts: Optional[ResourceOptions] = None)
    func NewHostScanRecipe(ctx *Context, name string, args HostScanRecipeArgs, opts ...ResourceOption) (*HostScanRecipe, error)
    public HostScanRecipe(string name, HostScanRecipeArgs args, CustomResourceOptions? opts = null)
    public HostScanRecipe(String name, HostScanRecipeArgs args)
    public HostScanRecipe(String name, HostScanRecipeArgs args, CustomResourceOptions options)
    
    type: oci:VulnerabilityScanning:HostScanRecipe
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args HostScanRecipeArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args HostScanRecipeArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args HostScanRecipeArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args HostScanRecipeArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args HostScanRecipeArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    HostScanRecipe Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The HostScanRecipe resource accepts the following input properties:

    AgentSettings HostScanRecipeAgentSettings
    (Updatable) Agent scan settings for a host scan
    CompartmentId string
    (Updatable) Compartment ID of the scanning config. If no individual hosts are specified, all hosts in this compartment are scanned
    PortSettings HostScanRecipePortSettings
    (Updatable) Port scan settings for a host scan
    Schedule HostScanRecipeSchedule
    (Updatable) A scanning schedule
    ApplicationSettings HostScanRecipeApplicationSettings
    (Updatable) Agent scan settings for an application scan (as a part of a host scan)
    DefinedTags Dictionary<string, object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DisplayName string
    (Updatable) Recipe identifier, which can be renamed. If not present, it will be auto-generated. Avoid entering confidential information.
    FreeformTags Dictionary<string, object>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    AgentSettings HostScanRecipeAgentSettingsArgs
    (Updatable) Agent scan settings for a host scan
    CompartmentId string
    (Updatable) Compartment ID of the scanning config. If no individual hosts are specified, all hosts in this compartment are scanned
    PortSettings HostScanRecipePortSettingsArgs
    (Updatable) Port scan settings for a host scan
    Schedule HostScanRecipeScheduleArgs
    (Updatable) A scanning schedule
    ApplicationSettings HostScanRecipeApplicationSettingsArgs
    (Updatable) Agent scan settings for an application scan (as a part of a host scan)
    DefinedTags map[string]interface{}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DisplayName string
    (Updatable) Recipe identifier, which can be renamed. If not present, it will be auto-generated. Avoid entering confidential information.
    FreeformTags map[string]interface{}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    agentSettings HostScanRecipeAgentSettings
    (Updatable) Agent scan settings for a host scan
    compartmentId String
    (Updatable) Compartment ID of the scanning config. If no individual hosts are specified, all hosts in this compartment are scanned
    portSettings HostScanRecipePortSettings
    (Updatable) Port scan settings for a host scan
    schedule HostScanRecipeSchedule
    (Updatable) A scanning schedule
    applicationSettings HostScanRecipeApplicationSettings
    (Updatable) Agent scan settings for an application scan (as a part of a host scan)
    definedTags Map<String,Object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName String
    (Updatable) Recipe identifier, which can be renamed. If not present, it will be auto-generated. Avoid entering confidential information.
    freeformTags Map<String,Object>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    agentSettings HostScanRecipeAgentSettings
    (Updatable) Agent scan settings for a host scan
    compartmentId string
    (Updatable) Compartment ID of the scanning config. If no individual hosts are specified, all hosts in this compartment are scanned
    portSettings HostScanRecipePortSettings
    (Updatable) Port scan settings for a host scan
    schedule HostScanRecipeSchedule
    (Updatable) A scanning schedule
    applicationSettings HostScanRecipeApplicationSettings
    (Updatable) Agent scan settings for an application scan (as a part of a host scan)
    definedTags {[key: string]: any}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName string
    (Updatable) Recipe identifier, which can be renamed. If not present, it will be auto-generated. Avoid entering confidential information.
    freeformTags {[key: string]: any}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    agent_settings HostScanRecipeAgentSettingsArgs
    (Updatable) Agent scan settings for a host scan
    compartment_id str
    (Updatable) Compartment ID of the scanning config. If no individual hosts are specified, all hosts in this compartment are scanned
    port_settings HostScanRecipePortSettingsArgs
    (Updatable) Port scan settings for a host scan
    schedule HostScanRecipeScheduleArgs
    (Updatable) A scanning schedule
    application_settings HostScanRecipeApplicationSettingsArgs
    (Updatable) Agent scan settings for an application scan (as a part of a host scan)
    defined_tags Mapping[str, Any]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    display_name str
    (Updatable) Recipe identifier, which can be renamed. If not present, it will be auto-generated. Avoid entering confidential information.
    freeform_tags Mapping[str, Any]
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    agentSettings Property Map
    (Updatable) Agent scan settings for a host scan
    compartmentId String
    (Updatable) Compartment ID of the scanning config. If no individual hosts are specified, all hosts in this compartment are scanned
    portSettings Property Map
    (Updatable) Port scan settings for a host scan
    schedule Property Map
    (Updatable) A scanning schedule
    applicationSettings Property Map
    (Updatable) Agent scan settings for an application scan (as a part of a host scan)
    definedTags Map<Any>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName String
    (Updatable) Recipe identifier, which can be renamed. If not present, it will be auto-generated. Avoid entering confidential information.
    freeformTags Map<Any>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

    Outputs

    All input properties are implicitly available as output properties. Additionally, the HostScanRecipe resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    State string
    The current state of the config.
    SystemTags Dictionary<string, object>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    Date and time the recipe was created, format as described in RFC 3339
    TimeUpdated string
    Date and time the recipe was last updated, format as described in RFC 3339
    Id string
    The provider-assigned unique ID for this managed resource.
    State string
    The current state of the config.
    SystemTags map[string]interface{}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    Date and time the recipe was created, format as described in RFC 3339
    TimeUpdated string
    Date and time the recipe was last updated, format as described in RFC 3339
    id String
    The provider-assigned unique ID for this managed resource.
    state String
    The current state of the config.
    systemTags Map<String,Object>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    Date and time the recipe was created, format as described in RFC 3339
    timeUpdated String
    Date and time the recipe was last updated, format as described in RFC 3339
    id string
    The provider-assigned unique ID for this managed resource.
    state string
    The current state of the config.
    systemTags {[key: string]: any}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    Date and time the recipe was created, format as described in RFC 3339
    timeUpdated string
    Date and time the recipe was last updated, format as described in RFC 3339
    id str
    The provider-assigned unique ID for this managed resource.
    state str
    The current state of the config.
    system_tags Mapping[str, Any]
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    Date and time the recipe was created, format as described in RFC 3339
    time_updated str
    Date and time the recipe was last updated, format as described in RFC 3339
    id String
    The provider-assigned unique ID for this managed resource.
    state String
    The current state of the config.
    systemTags Map<Any>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    Date and time the recipe was created, format as described in RFC 3339
    timeUpdated String
    Date and time the recipe was last updated, format as described in RFC 3339

    Look up Existing HostScanRecipe Resource

    Get an existing HostScanRecipe resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: HostScanRecipeState, opts?: CustomResourceOptions): HostScanRecipe
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            agent_settings: Optional[_vulnerabilityscanning.HostScanRecipeAgentSettingsArgs] = None,
            application_settings: Optional[_vulnerabilityscanning.HostScanRecipeApplicationSettingsArgs] = None,
            compartment_id: Optional[str] = None,
            defined_tags: Optional[Mapping[str, Any]] = None,
            display_name: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, Any]] = None,
            port_settings: Optional[_vulnerabilityscanning.HostScanRecipePortSettingsArgs] = None,
            schedule: Optional[_vulnerabilityscanning.HostScanRecipeScheduleArgs] = None,
            state: Optional[str] = None,
            system_tags: Optional[Mapping[str, Any]] = None,
            time_created: Optional[str] = None,
            time_updated: Optional[str] = None) -> HostScanRecipe
    func GetHostScanRecipe(ctx *Context, name string, id IDInput, state *HostScanRecipeState, opts ...ResourceOption) (*HostScanRecipe, error)
    public static HostScanRecipe Get(string name, Input<string> id, HostScanRecipeState? state, CustomResourceOptions? opts = null)
    public static HostScanRecipe get(String name, Output<String> id, HostScanRecipeState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AgentSettings HostScanRecipeAgentSettings
    (Updatable) Agent scan settings for a host scan
    ApplicationSettings HostScanRecipeApplicationSettings
    (Updatable) Agent scan settings for an application scan (as a part of a host scan)
    CompartmentId string
    (Updatable) Compartment ID of the scanning config. If no individual hosts are specified, all hosts in this compartment are scanned
    DefinedTags Dictionary<string, object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DisplayName string
    (Updatable) Recipe identifier, which can be renamed. If not present, it will be auto-generated. Avoid entering confidential information.
    FreeformTags Dictionary<string, object>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    PortSettings HostScanRecipePortSettings
    (Updatable) Port scan settings for a host scan
    Schedule HostScanRecipeSchedule
    (Updatable) A scanning schedule
    State string
    The current state of the config.
    SystemTags Dictionary<string, object>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    Date and time the recipe was created, format as described in RFC 3339
    TimeUpdated string
    Date and time the recipe was last updated, format as described in RFC 3339
    AgentSettings HostScanRecipeAgentSettingsArgs
    (Updatable) Agent scan settings for a host scan
    ApplicationSettings HostScanRecipeApplicationSettingsArgs
    (Updatable) Agent scan settings for an application scan (as a part of a host scan)
    CompartmentId string
    (Updatable) Compartment ID of the scanning config. If no individual hosts are specified, all hosts in this compartment are scanned
    DefinedTags map[string]interface{}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DisplayName string
    (Updatable) Recipe identifier, which can be renamed. If not present, it will be auto-generated. Avoid entering confidential information.
    FreeformTags map[string]interface{}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    PortSettings HostScanRecipePortSettingsArgs
    (Updatable) Port scan settings for a host scan
    Schedule HostScanRecipeScheduleArgs
    (Updatable) A scanning schedule
    State string
    The current state of the config.
    SystemTags map[string]interface{}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    Date and time the recipe was created, format as described in RFC 3339
    TimeUpdated string
    Date and time the recipe was last updated, format as described in RFC 3339
    agentSettings HostScanRecipeAgentSettings
    (Updatable) Agent scan settings for a host scan
    applicationSettings HostScanRecipeApplicationSettings
    (Updatable) Agent scan settings for an application scan (as a part of a host scan)
    compartmentId String
    (Updatable) Compartment ID of the scanning config. If no individual hosts are specified, all hosts in this compartment are scanned
    definedTags Map<String,Object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName String
    (Updatable) Recipe identifier, which can be renamed. If not present, it will be auto-generated. Avoid entering confidential information.
    freeformTags Map<String,Object>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    portSettings HostScanRecipePortSettings
    (Updatable) Port scan settings for a host scan
    schedule HostScanRecipeSchedule
    (Updatable) A scanning schedule
    state String
    The current state of the config.
    systemTags Map<String,Object>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    Date and time the recipe was created, format as described in RFC 3339
    timeUpdated String
    Date and time the recipe was last updated, format as described in RFC 3339
    agentSettings HostScanRecipeAgentSettings
    (Updatable) Agent scan settings for a host scan
    applicationSettings HostScanRecipeApplicationSettings
    (Updatable) Agent scan settings for an application scan (as a part of a host scan)
    compartmentId string
    (Updatable) Compartment ID of the scanning config. If no individual hosts are specified, all hosts in this compartment are scanned
    definedTags {[key: string]: any}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName string
    (Updatable) Recipe identifier, which can be renamed. If not present, it will be auto-generated. Avoid entering confidential information.
    freeformTags {[key: string]: any}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    portSettings HostScanRecipePortSettings
    (Updatable) Port scan settings for a host scan
    schedule HostScanRecipeSchedule
    (Updatable) A scanning schedule
    state string
    The current state of the config.
    systemTags {[key: string]: any}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    Date and time the recipe was created, format as described in RFC 3339
    timeUpdated string
    Date and time the recipe was last updated, format as described in RFC 3339
    agent_settings HostScanRecipeAgentSettingsArgs
    (Updatable) Agent scan settings for a host scan
    application_settings HostScanRecipeApplicationSettingsArgs
    (Updatable) Agent scan settings for an application scan (as a part of a host scan)
    compartment_id str
    (Updatable) Compartment ID of the scanning config. If no individual hosts are specified, all hosts in this compartment are scanned
    defined_tags Mapping[str, Any]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    display_name str
    (Updatable) Recipe identifier, which can be renamed. If not present, it will be auto-generated. Avoid entering confidential information.
    freeform_tags Mapping[str, Any]
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    port_settings HostScanRecipePortSettingsArgs
    (Updatable) Port scan settings for a host scan
    schedule HostScanRecipeScheduleArgs
    (Updatable) A scanning schedule
    state str
    The current state of the config.
    system_tags Mapping[str, Any]
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    Date and time the recipe was created, format as described in RFC 3339
    time_updated str
    Date and time the recipe was last updated, format as described in RFC 3339
    agentSettings Property Map
    (Updatable) Agent scan settings for a host scan
    applicationSettings Property Map
    (Updatable) Agent scan settings for an application scan (as a part of a host scan)
    compartmentId String
    (Updatable) Compartment ID of the scanning config. If no individual hosts are specified, all hosts in this compartment are scanned
    definedTags Map<Any>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName String
    (Updatable) Recipe identifier, which can be renamed. If not present, it will be auto-generated. Avoid entering confidential information.
    freeformTags Map<Any>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    portSettings Property Map
    (Updatable) Port scan settings for a host scan
    schedule Property Map
    (Updatable) A scanning schedule
    state String
    The current state of the config.
    systemTags Map<Any>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    Date and time the recipe was created, format as described in RFC 3339
    timeUpdated String
    Date and time the recipe was last updated, format as described in RFC 3339

    Supporting Types

    HostScanRecipeAgentSettings, HostScanRecipeAgentSettingsArgs

    ScanLevel string
    (Updatable) The scan level
    AgentConfiguration HostScanRecipeAgentSettingsAgentConfiguration
    (Updatable) Agent configuration for host scan agent settings. This model is polymorphic, presenting different configuration options based on selected agent vendor.
    ScanLevel string
    (Updatable) The scan level
    AgentConfiguration HostScanRecipeAgentSettingsAgentConfiguration
    (Updatable) Agent configuration for host scan agent settings. This model is polymorphic, presenting different configuration options based on selected agent vendor.
    scanLevel String
    (Updatable) The scan level
    agentConfiguration HostScanRecipeAgentSettingsAgentConfiguration
    (Updatable) Agent configuration for host scan agent settings. This model is polymorphic, presenting different configuration options based on selected agent vendor.
    scanLevel string
    (Updatable) The scan level
    agentConfiguration HostScanRecipeAgentSettingsAgentConfiguration
    (Updatable) Agent configuration for host scan agent settings. This model is polymorphic, presenting different configuration options based on selected agent vendor.
    scan_level str
    (Updatable) The scan level
    agent_configuration HostScanRecipeAgentSettingsAgentConfiguration
    (Updatable) Agent configuration for host scan agent settings. This model is polymorphic, presenting different configuration options based on selected agent vendor.
    scanLevel String
    (Updatable) The scan level
    agentConfiguration Property Map
    (Updatable) Agent configuration for host scan agent settings. This model is polymorphic, presenting different configuration options based on selected agent vendor.

    HostScanRecipeAgentSettingsAgentConfiguration, HostScanRecipeAgentSettingsAgentConfigurationArgs

    Vendor string
    (Updatable) Vendor to use for the host scan agent.
    CisBenchmarkSettings HostScanRecipeAgentSettingsAgentConfigurationCisBenchmarkSettings
    (Updatable) CIS (Center for Internet Security) Benchmark scan settings for a host scan
    EndpointProtectionSettings HostScanRecipeAgentSettingsAgentConfigurationEndpointProtectionSettings
    (Updatable) Endpoint Protection scan settings for a host scan
    ShouldUnInstall bool
    (Updatable) Boolean flag letting agent know if it should un-install the Qualys agent when it is stopped.
    VaultSecretId string
    (Updatable) Vault secret OCID which stores license information. Content inside this secret in vault would be base64 string containing information about customer's Qualys susbcription license.
    VendorType string
    (Updatable) Vendor to use for the host scan agent.
    Vendor string
    (Updatable) Vendor to use for the host scan agent.
    CisBenchmarkSettings HostScanRecipeAgentSettingsAgentConfigurationCisBenchmarkSettings
    (Updatable) CIS (Center for Internet Security) Benchmark scan settings for a host scan
    EndpointProtectionSettings HostScanRecipeAgentSettingsAgentConfigurationEndpointProtectionSettings
    (Updatable) Endpoint Protection scan settings for a host scan
    ShouldUnInstall bool
    (Updatable) Boolean flag letting agent know if it should un-install the Qualys agent when it is stopped.
    VaultSecretId string
    (Updatable) Vault secret OCID which stores license information. Content inside this secret in vault would be base64 string containing information about customer's Qualys susbcription license.
    VendorType string
    (Updatable) Vendor to use for the host scan agent.
    vendor String
    (Updatable) Vendor to use for the host scan agent.
    cisBenchmarkSettings HostScanRecipeAgentSettingsAgentConfigurationCisBenchmarkSettings
    (Updatable) CIS (Center for Internet Security) Benchmark scan settings for a host scan
    endpointProtectionSettings HostScanRecipeAgentSettingsAgentConfigurationEndpointProtectionSettings
    (Updatable) Endpoint Protection scan settings for a host scan
    shouldUnInstall Boolean
    (Updatable) Boolean flag letting agent know if it should un-install the Qualys agent when it is stopped.
    vaultSecretId String
    (Updatable) Vault secret OCID which stores license information. Content inside this secret in vault would be base64 string containing information about customer's Qualys susbcription license.
    vendorType String
    (Updatable) Vendor to use for the host scan agent.
    vendor string
    (Updatable) Vendor to use for the host scan agent.
    cisBenchmarkSettings HostScanRecipeAgentSettingsAgentConfigurationCisBenchmarkSettings
    (Updatable) CIS (Center for Internet Security) Benchmark scan settings for a host scan
    endpointProtectionSettings HostScanRecipeAgentSettingsAgentConfigurationEndpointProtectionSettings
    (Updatable) Endpoint Protection scan settings for a host scan
    shouldUnInstall boolean
    (Updatable) Boolean flag letting agent know if it should un-install the Qualys agent when it is stopped.
    vaultSecretId string
    (Updatable) Vault secret OCID which stores license information. Content inside this secret in vault would be base64 string containing information about customer's Qualys susbcription license.
    vendorType string
    (Updatable) Vendor to use for the host scan agent.
    vendor str
    (Updatable) Vendor to use for the host scan agent.
    cis_benchmark_settings HostScanRecipeAgentSettingsAgentConfigurationCisBenchmarkSettings
    (Updatable) CIS (Center for Internet Security) Benchmark scan settings for a host scan
    endpoint_protection_settings HostScanRecipeAgentSettingsAgentConfigurationEndpointProtectionSettings
    (Updatable) Endpoint Protection scan settings for a host scan
    should_un_install bool
    (Updatable) Boolean flag letting agent know if it should un-install the Qualys agent when it is stopped.
    vault_secret_id str
    (Updatable) Vault secret OCID which stores license information. Content inside this secret in vault would be base64 string containing information about customer's Qualys susbcription license.
    vendor_type str
    (Updatable) Vendor to use for the host scan agent.
    vendor String
    (Updatable) Vendor to use for the host scan agent.
    cisBenchmarkSettings Property Map
    (Updatable) CIS (Center for Internet Security) Benchmark scan settings for a host scan
    endpointProtectionSettings Property Map
    (Updatable) Endpoint Protection scan settings for a host scan
    shouldUnInstall Boolean
    (Updatable) Boolean flag letting agent know if it should un-install the Qualys agent when it is stopped.
    vaultSecretId String
    (Updatable) Vault secret OCID which stores license information. Content inside this secret in vault would be base64 string containing information about customer's Qualys susbcription license.
    vendorType String
    (Updatable) Vendor to use for the host scan agent.

    HostScanRecipeAgentSettingsAgentConfigurationCisBenchmarkSettings, HostScanRecipeAgentSettingsAgentConfigurationCisBenchmarkSettingsArgs

    ScanLevel string
    (Updatable) The scan level
    ScanLevel string
    (Updatable) The scan level
    scanLevel String
    (Updatable) The scan level
    scanLevel string
    (Updatable) The scan level
    scan_level str
    (Updatable) The scan level
    scanLevel String
    (Updatable) The scan level

    HostScanRecipeAgentSettingsAgentConfigurationEndpointProtectionSettings, HostScanRecipeAgentSettingsAgentConfigurationEndpointProtectionSettingsArgs

    ScanLevel string
    (Updatable) The scan level
    ScanLevel string
    (Updatable) The scan level
    scanLevel String
    (Updatable) The scan level
    scanLevel string
    (Updatable) The scan level
    scan_level str
    (Updatable) The scan level
    scanLevel String
    (Updatable) The scan level

    HostScanRecipeApplicationSettings, HostScanRecipeApplicationSettingsArgs

    ApplicationScanRecurrence string
    (Updatable) Scan recurrences in RFC-5545 section 3.3.10 format. Only supported input are weekly, biweekly, monthly listed below FREQ=WEEKLY;WKST=;INTERVAL=1 - This weekly scan on the specified weekday (e.g. SU for Sunday) FREQ=WEEKLY;WKST=;INTERVAL=2 - This bi-weekly scan on the specified weekday (e.g. SU for Sunday) FREQ=MONTHLY;WKST=;INTERVAL=1 - This monthly scan on the specified weekday (e.g. SU for Sunday, starting from the next such weekday based on the time of setting creation)
    FoldersToScans List<HostScanRecipeApplicationSettingsFoldersToScan>
    (Updatable) List of folders selected for scanning
    IsEnabled bool
    (Updatable) Enable or disable application scan
    ApplicationScanRecurrence string
    (Updatable) Scan recurrences in RFC-5545 section 3.3.10 format. Only supported input are weekly, biweekly, monthly listed below FREQ=WEEKLY;WKST=;INTERVAL=1 - This weekly scan on the specified weekday (e.g. SU for Sunday) FREQ=WEEKLY;WKST=;INTERVAL=2 - This bi-weekly scan on the specified weekday (e.g. SU for Sunday) FREQ=MONTHLY;WKST=;INTERVAL=1 - This monthly scan on the specified weekday (e.g. SU for Sunday, starting from the next such weekday based on the time of setting creation)
    FoldersToScans []HostScanRecipeApplicationSettingsFoldersToScan
    (Updatable) List of folders selected for scanning
    IsEnabled bool
    (Updatable) Enable or disable application scan
    applicationScanRecurrence String
    (Updatable) Scan recurrences in RFC-5545 section 3.3.10 format. Only supported input are weekly, biweekly, monthly listed below FREQ=WEEKLY;WKST=;INTERVAL=1 - This weekly scan on the specified weekday (e.g. SU for Sunday) FREQ=WEEKLY;WKST=;INTERVAL=2 - This bi-weekly scan on the specified weekday (e.g. SU for Sunday) FREQ=MONTHLY;WKST=;INTERVAL=1 - This monthly scan on the specified weekday (e.g. SU for Sunday, starting from the next such weekday based on the time of setting creation)
    foldersToScans List<HostScanRecipeApplicationSettingsFoldersToScan>
    (Updatable) List of folders selected for scanning
    isEnabled Boolean
    (Updatable) Enable or disable application scan
    applicationScanRecurrence string
    (Updatable) Scan recurrences in RFC-5545 section 3.3.10 format. Only supported input are weekly, biweekly, monthly listed below FREQ=WEEKLY;WKST=;INTERVAL=1 - This weekly scan on the specified weekday (e.g. SU for Sunday) FREQ=WEEKLY;WKST=;INTERVAL=2 - This bi-weekly scan on the specified weekday (e.g. SU for Sunday) FREQ=MONTHLY;WKST=;INTERVAL=1 - This monthly scan on the specified weekday (e.g. SU for Sunday, starting from the next such weekday based on the time of setting creation)
    foldersToScans HostScanRecipeApplicationSettingsFoldersToScan[]
    (Updatable) List of folders selected for scanning
    isEnabled boolean
    (Updatable) Enable or disable application scan
    application_scan_recurrence str
    (Updatable) Scan recurrences in RFC-5545 section 3.3.10 format. Only supported input are weekly, biweekly, monthly listed below FREQ=WEEKLY;WKST=;INTERVAL=1 - This weekly scan on the specified weekday (e.g. SU for Sunday) FREQ=WEEKLY;WKST=;INTERVAL=2 - This bi-weekly scan on the specified weekday (e.g. SU for Sunday) FREQ=MONTHLY;WKST=;INTERVAL=1 - This monthly scan on the specified weekday (e.g. SU for Sunday, starting from the next such weekday based on the time of setting creation)
    folders_to_scans HostScanRecipeApplicationSettingsFoldersToScan]
    (Updatable) List of folders selected for scanning
    is_enabled bool
    (Updatable) Enable or disable application scan
    applicationScanRecurrence String
    (Updatable) Scan recurrences in RFC-5545 section 3.3.10 format. Only supported input are weekly, biweekly, monthly listed below FREQ=WEEKLY;WKST=;INTERVAL=1 - This weekly scan on the specified weekday (e.g. SU for Sunday) FREQ=WEEKLY;WKST=;INTERVAL=2 - This bi-weekly scan on the specified weekday (e.g. SU for Sunday) FREQ=MONTHLY;WKST=;INTERVAL=1 - This monthly scan on the specified weekday (e.g. SU for Sunday, starting from the next such weekday based on the time of setting creation)
    foldersToScans List<Property Map>
    (Updatable) List of folders selected for scanning
    isEnabled Boolean
    (Updatable) Enable or disable application scan

    HostScanRecipeApplicationSettingsFoldersToScan, HostScanRecipeApplicationSettingsFoldersToScanArgs

    Folder string
    (Updatable) Folder to be scanned in the corresponding operating system
    Operatingsystem string
    (Updatable) Operating system type
    Folder string
    (Updatable) Folder to be scanned in the corresponding operating system
    Operatingsystem string
    (Updatable) Operating system type
    folder String
    (Updatable) Folder to be scanned in the corresponding operating system
    operatingsystem String
    (Updatable) Operating system type
    folder string
    (Updatable) Folder to be scanned in the corresponding operating system
    operatingsystem string
    (Updatable) Operating system type
    folder str
    (Updatable) Folder to be scanned in the corresponding operating system
    operatingsystem str
    (Updatable) Operating system type
    folder String
    (Updatable) Folder to be scanned in the corresponding operating system
    operatingsystem String
    (Updatable) Operating system type

    HostScanRecipePortSettings, HostScanRecipePortSettingsArgs

    ScanLevel string
    (Updatable) The scan level
    ScanLevel string
    (Updatable) The scan level
    scanLevel String
    (Updatable) The scan level
    scanLevel string
    (Updatable) The scan level
    scan_level str
    (Updatable) The scan level
    scanLevel String
    (Updatable) The scan level

    HostScanRecipeSchedule, HostScanRecipeScheduleArgs

    Type string

    (Updatable) How often the scan occurs

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    DayOfWeek string
    (Updatable) Day of week the scheduled scan occurs (not applicable for DAILY type)
    Type string

    (Updatable) How often the scan occurs

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    DayOfWeek string
    (Updatable) Day of week the scheduled scan occurs (not applicable for DAILY type)
    type String

    (Updatable) How often the scan occurs

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    dayOfWeek String
    (Updatable) Day of week the scheduled scan occurs (not applicable for DAILY type)
    type string

    (Updatable) How often the scan occurs

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    dayOfWeek string
    (Updatable) Day of week the scheduled scan occurs (not applicable for DAILY type)
    type str

    (Updatable) How often the scan occurs

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    day_of_week str
    (Updatable) Day of week the scheduled scan occurs (not applicable for DAILY type)
    type String

    (Updatable) How often the scan occurs

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    dayOfWeek String
    (Updatable) Day of week the scheduled scan occurs (not applicable for DAILY type)

    Import

    HostScanRecipes can be imported using the id, e.g.

    $ pulumi import oci:VulnerabilityScanning/hostScanRecipe:HostScanRecipe test_host_scan_recipe "id"
    

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.29.0 published on Thursday, Mar 28, 2024 by Pulumi