oci.VulnerabilityScanning.HostScanRecipe
Explore with Pulumi AI
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("test_host_scan_recipe", {
agentSettings: {
scanLevel: hostScanRecipeAgentSettingsScanLevel,
agentConfiguration: {
vendor: hostScanRecipeAgentSettingsAgentConfigurationVendor,
cisBenchmarkSettings: {
scanLevel: hostScanRecipeAgentSettingsAgentConfigurationCisBenchmarkSettingsScanLevel,
},
endpointProtectionSettings: {
scanLevel: hostScanRecipeAgentSettingsAgentConfigurationEndpointProtectionSettingsScanLevel,
},
shouldUnInstall: hostScanRecipeAgentSettingsAgentConfigurationShouldUnInstall,
vaultSecretId: testSecret.id,
vendorType: hostScanRecipeAgentSettingsAgentConfigurationVendorType,
},
},
compartmentId: compartmentId,
portSettings: {
scanLevel: hostScanRecipePortSettingsScanLevel,
},
schedule: {
type: hostScanRecipeScheduleType,
dayOfWeek: hostScanRecipeScheduleDayOfWeek,
},
applicationSettings: {
applicationScanRecurrence: hostScanRecipeApplicationSettingsApplicationScanRecurrence,
foldersToScans: [{
folder: hostScanRecipeApplicationSettingsFoldersToScanFolder,
operatingsystem: hostScanRecipeApplicationSettingsFoldersToScanOperatingsystem,
}],
isEnabled: hostScanRecipeApplicationSettingsIsEnabled,
},
definedTags: {
"foo-namespace.bar-key": "value",
},
displayName: hostScanRecipeDisplayName,
freeformTags: {
"bar-key": "value",
},
});
import pulumi
import pulumi_oci as oci
test_host_scan_recipe = oci.vulnerability_scanning.HostScanRecipe("test_host_scan_recipe",
agent_settings={
"scan_level": host_scan_recipe_agent_settings_scan_level,
"agent_configuration": {
"vendor": host_scan_recipe_agent_settings_agent_configuration_vendor,
"cis_benchmark_settings": {
"scan_level": host_scan_recipe_agent_settings_agent_configuration_cis_benchmark_settings_scan_level,
},
"endpoint_protection_settings": {
"scan_level": host_scan_recipe_agent_settings_agent_configuration_endpoint_protection_settings_scan_level,
},
"should_un_install": host_scan_recipe_agent_settings_agent_configuration_should_un_install,
"vault_secret_id": test_secret["id"],
"vendor_type": host_scan_recipe_agent_settings_agent_configuration_vendor_type,
},
},
compartment_id=compartment_id,
port_settings={
"scan_level": host_scan_recipe_port_settings_scan_level,
},
schedule={
"type": host_scan_recipe_schedule_type,
"day_of_week": host_scan_recipe_schedule_day_of_week,
},
application_settings={
"application_scan_recurrence": host_scan_recipe_application_settings_application_scan_recurrence,
"folders_to_scans": [{
"folder": host_scan_recipe_application_settings_folders_to_scan_folder,
"operatingsystem": host_scan_recipe_application_settings_folders_to_scan_operatingsystem,
}],
"is_enabled": host_scan_recipe_application_settings_is_enabled,
},
defined_tags={
"foo-namespace.bar-key": "value",
},
display_name=host_scan_recipe_display_name,
freeform_tags={
"bar-key": "value",
})
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/VulnerabilityScanning"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := VulnerabilityScanning.NewHostScanRecipe(ctx, "test_host_scan_recipe", &VulnerabilityScanning.HostScanRecipeArgs{
AgentSettings: &vulnerabilityscanning.HostScanRecipeAgentSettingsArgs{
ScanLevel: pulumi.Any(hostScanRecipeAgentSettingsScanLevel),
AgentConfiguration: &vulnerabilityscanning.HostScanRecipeAgentSettingsAgentConfigurationArgs{
Vendor: pulumi.Any(hostScanRecipeAgentSettingsAgentConfigurationVendor),
CisBenchmarkSettings: &vulnerabilityscanning.HostScanRecipeAgentSettingsAgentConfigurationCisBenchmarkSettingsArgs{
ScanLevel: pulumi.Any(hostScanRecipeAgentSettingsAgentConfigurationCisBenchmarkSettingsScanLevel),
},
EndpointProtectionSettings: &vulnerabilityscanning.HostScanRecipeAgentSettingsAgentConfigurationEndpointProtectionSettingsArgs{
ScanLevel: pulumi.Any(hostScanRecipeAgentSettingsAgentConfigurationEndpointProtectionSettingsScanLevel),
},
ShouldUnInstall: pulumi.Any(hostScanRecipeAgentSettingsAgentConfigurationShouldUnInstall),
VaultSecretId: pulumi.Any(testSecret.Id),
VendorType: pulumi.Any(hostScanRecipeAgentSettingsAgentConfigurationVendorType),
},
},
CompartmentId: pulumi.Any(compartmentId),
PortSettings: &vulnerabilityscanning.HostScanRecipePortSettingsArgs{
ScanLevel: pulumi.Any(hostScanRecipePortSettingsScanLevel),
},
Schedule: &vulnerabilityscanning.HostScanRecipeScheduleArgs{
Type: pulumi.Any(hostScanRecipeScheduleType),
DayOfWeek: pulumi.Any(hostScanRecipeScheduleDayOfWeek),
},
ApplicationSettings: &vulnerabilityscanning.HostScanRecipeApplicationSettingsArgs{
ApplicationScanRecurrence: pulumi.Any(hostScanRecipeApplicationSettingsApplicationScanRecurrence),
FoldersToScans: vulnerabilityscanning.HostScanRecipeApplicationSettingsFoldersToScanArray{
&vulnerabilityscanning.HostScanRecipeApplicationSettingsFoldersToScanArgs{
Folder: pulumi.Any(hostScanRecipeApplicationSettingsFoldersToScanFolder),
Operatingsystem: pulumi.Any(hostScanRecipeApplicationSettingsFoldersToScanOperatingsystem),
},
},
IsEnabled: pulumi.Any(hostScanRecipeApplicationSettingsIsEnabled),
},
DefinedTags: pulumi.StringMap{
"foo-namespace.bar-key": pulumi.String("value"),
},
DisplayName: pulumi.Any(hostScanRecipeDisplayName),
FreeformTags: pulumi.StringMap{
"bar-key": pulumi.String("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("test_host_scan_recipe", new()
{
AgentSettings = new Oci.VulnerabilityScanning.Inputs.HostScanRecipeAgentSettingsArgs
{
ScanLevel = hostScanRecipeAgentSettingsScanLevel,
AgentConfiguration = new Oci.VulnerabilityScanning.Inputs.HostScanRecipeAgentSettingsAgentConfigurationArgs
{
Vendor = hostScanRecipeAgentSettingsAgentConfigurationVendor,
CisBenchmarkSettings = new Oci.VulnerabilityScanning.Inputs.HostScanRecipeAgentSettingsAgentConfigurationCisBenchmarkSettingsArgs
{
ScanLevel = hostScanRecipeAgentSettingsAgentConfigurationCisBenchmarkSettingsScanLevel,
},
EndpointProtectionSettings = new Oci.VulnerabilityScanning.Inputs.HostScanRecipeAgentSettingsAgentConfigurationEndpointProtectionSettingsArgs
{
ScanLevel = hostScanRecipeAgentSettingsAgentConfigurationEndpointProtectionSettingsScanLevel,
},
ShouldUnInstall = hostScanRecipeAgentSettingsAgentConfigurationShouldUnInstall,
VaultSecretId = testSecret.Id,
VendorType = hostScanRecipeAgentSettingsAgentConfigurationVendorType,
},
},
CompartmentId = compartmentId,
PortSettings = new Oci.VulnerabilityScanning.Inputs.HostScanRecipePortSettingsArgs
{
ScanLevel = hostScanRecipePortSettingsScanLevel,
},
Schedule = new Oci.VulnerabilityScanning.Inputs.HostScanRecipeScheduleArgs
{
Type = hostScanRecipeScheduleType,
DayOfWeek = hostScanRecipeScheduleDayOfWeek,
},
ApplicationSettings = new Oci.VulnerabilityScanning.Inputs.HostScanRecipeApplicationSettingsArgs
{
ApplicationScanRecurrence = hostScanRecipeApplicationSettingsApplicationScanRecurrence,
FoldersToScans = new[]
{
new Oci.VulnerabilityScanning.Inputs.HostScanRecipeApplicationSettingsFoldersToScanArgs
{
Folder = hostScanRecipeApplicationSettingsFoldersToScanFolder,
Operatingsystem = hostScanRecipeApplicationSettingsFoldersToScanOperatingsystem,
},
},
IsEnabled = hostScanRecipeApplicationSettingsIsEnabled,
},
DefinedTags =
{
{ "foo-namespace.bar-key", "value" },
},
DisplayName = hostScanRecipeDisplayName,
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(hostScanRecipeAgentSettingsScanLevel)
.agentConfiguration(HostScanRecipeAgentSettingsAgentConfigurationArgs.builder()
.vendor(hostScanRecipeAgentSettingsAgentConfigurationVendor)
.cisBenchmarkSettings(HostScanRecipeAgentSettingsAgentConfigurationCisBenchmarkSettingsArgs.builder()
.scanLevel(hostScanRecipeAgentSettingsAgentConfigurationCisBenchmarkSettingsScanLevel)
.build())
.endpointProtectionSettings(HostScanRecipeAgentSettingsAgentConfigurationEndpointProtectionSettingsArgs.builder()
.scanLevel(hostScanRecipeAgentSettingsAgentConfigurationEndpointProtectionSettingsScanLevel)
.build())
.shouldUnInstall(hostScanRecipeAgentSettingsAgentConfigurationShouldUnInstall)
.vaultSecretId(testSecret.id())
.vendorType(hostScanRecipeAgentSettingsAgentConfigurationVendorType)
.build())
.build())
.compartmentId(compartmentId)
.portSettings(HostScanRecipePortSettingsArgs.builder()
.scanLevel(hostScanRecipePortSettingsScanLevel)
.build())
.schedule(HostScanRecipeScheduleArgs.builder()
.type(hostScanRecipeScheduleType)
.dayOfWeek(hostScanRecipeScheduleDayOfWeek)
.build())
.applicationSettings(HostScanRecipeApplicationSettingsArgs.builder()
.applicationScanRecurrence(hostScanRecipeApplicationSettingsApplicationScanRecurrence)
.foldersToScans(HostScanRecipeApplicationSettingsFoldersToScanArgs.builder()
.folder(hostScanRecipeApplicationSettingsFoldersToScanFolder)
.operatingsystem(hostScanRecipeApplicationSettingsFoldersToScanOperatingsystem)
.build())
.isEnabled(hostScanRecipeApplicationSettingsIsEnabled)
.build())
.definedTags(Map.of("foo-namespace.bar-key", "value"))
.displayName(hostScanRecipeDisplayName)
.freeformTags(Map.of("bar-key", "value"))
.build());
}
}
resources:
testHostScanRecipe:
type: oci:VulnerabilityScanning:HostScanRecipe
name: test_host_scan_recipe
properties:
agentSettings:
scanLevel: ${hostScanRecipeAgentSettingsScanLevel}
agentConfiguration:
vendor: ${hostScanRecipeAgentSettingsAgentConfigurationVendor}
cisBenchmarkSettings:
scanLevel: ${hostScanRecipeAgentSettingsAgentConfigurationCisBenchmarkSettingsScanLevel}
endpointProtectionSettings:
scanLevel: ${hostScanRecipeAgentSettingsAgentConfigurationEndpointProtectionSettingsScanLevel}
shouldUnInstall: ${hostScanRecipeAgentSettingsAgentConfigurationShouldUnInstall}
vaultSecretId: ${testSecret.id}
vendorType: ${hostScanRecipeAgentSettingsAgentConfigurationVendorType}
compartmentId: ${compartmentId}
portSettings:
scanLevel: ${hostScanRecipePortSettingsScanLevel}
schedule:
type: ${hostScanRecipeScheduleType}
dayOfWeek: ${hostScanRecipeScheduleDayOfWeek}
applicationSettings:
applicationScanRecurrence: ${hostScanRecipeApplicationSettingsApplicationScanRecurrence}
foldersToScans:
- folder: ${hostScanRecipeApplicationSettingsFoldersToScanFolder}
operatingsystem: ${hostScanRecipeApplicationSettingsFoldersToScanOperatingsystem}
isEnabled: ${hostScanRecipeApplicationSettingsIsEnabled}
definedTags:
foo-namespace.bar-key: value
displayName: ${hostScanRecipeDisplayName}
freeformTags:
bar-key: value
Create HostScanRecipe Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new HostScanRecipe(name: string, args: HostScanRecipeArgs, opts?: CustomResourceOptions);
@overload
def HostScanRecipe(resource_name: str,
args: HostScanRecipeArgs,
opts: Optional[ResourceOptions] = None)
@overload
def HostScanRecipe(resource_name: str,
opts: Optional[ResourceOptions] = None,
agent_settings: Optional[_vulnerabilityscanning.HostScanRecipeAgentSettingsArgs] = None,
compartment_id: Optional[str] = None,
port_settings: Optional[_vulnerabilityscanning.HostScanRecipePortSettingsArgs] = None,
schedule: Optional[_vulnerabilityscanning.HostScanRecipeScheduleArgs] = None,
application_settings: Optional[_vulnerabilityscanning.HostScanRecipeApplicationSettingsArgs] = None,
defined_tags: Optional[Mapping[str, str]] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = 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.
Parameters
- 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var hostScanRecipeResource = new Oci.VulnerabilityScanning.HostScanRecipe("hostScanRecipeResource", new()
{
AgentSettings = new Oci.VulnerabilityScanning.Inputs.HostScanRecipeAgentSettingsArgs
{
ScanLevel = "string",
AgentConfiguration = new Oci.VulnerabilityScanning.Inputs.HostScanRecipeAgentSettingsAgentConfigurationArgs
{
Vendor = "string",
CisBenchmarkSettings = new Oci.VulnerabilityScanning.Inputs.HostScanRecipeAgentSettingsAgentConfigurationCisBenchmarkSettingsArgs
{
ScanLevel = "string",
},
EndpointProtectionSettings = new Oci.VulnerabilityScanning.Inputs.HostScanRecipeAgentSettingsAgentConfigurationEndpointProtectionSettingsArgs
{
ScanLevel = "string",
},
ShouldUnInstall = false,
VaultSecretId = "string",
VendorType = "string",
},
},
CompartmentId = "string",
PortSettings = new Oci.VulnerabilityScanning.Inputs.HostScanRecipePortSettingsArgs
{
ScanLevel = "string",
},
Schedule = new Oci.VulnerabilityScanning.Inputs.HostScanRecipeScheduleArgs
{
Type = "string",
DayOfWeek = "string",
},
ApplicationSettings = new Oci.VulnerabilityScanning.Inputs.HostScanRecipeApplicationSettingsArgs
{
ApplicationScanRecurrence = "string",
FoldersToScans = new[]
{
new Oci.VulnerabilityScanning.Inputs.HostScanRecipeApplicationSettingsFoldersToScanArgs
{
Folder = "string",
Operatingsystem = "string",
},
},
IsEnabled = false,
},
DefinedTags =
{
{ "string", "string" },
},
DisplayName = "string",
FreeformTags =
{
{ "string", "string" },
},
});
example, err := VulnerabilityScanning.NewHostScanRecipe(ctx, "hostScanRecipeResource", &VulnerabilityScanning.HostScanRecipeArgs{
AgentSettings: &vulnerabilityscanning.HostScanRecipeAgentSettingsArgs{
ScanLevel: pulumi.String("string"),
AgentConfiguration: &vulnerabilityscanning.HostScanRecipeAgentSettingsAgentConfigurationArgs{
Vendor: pulumi.String("string"),
CisBenchmarkSettings: &vulnerabilityscanning.HostScanRecipeAgentSettingsAgentConfigurationCisBenchmarkSettingsArgs{
ScanLevel: pulumi.String("string"),
},
EndpointProtectionSettings: &vulnerabilityscanning.HostScanRecipeAgentSettingsAgentConfigurationEndpointProtectionSettingsArgs{
ScanLevel: pulumi.String("string"),
},
ShouldUnInstall: pulumi.Bool(false),
VaultSecretId: pulumi.String("string"),
VendorType: pulumi.String("string"),
},
},
CompartmentId: pulumi.String("string"),
PortSettings: &vulnerabilityscanning.HostScanRecipePortSettingsArgs{
ScanLevel: pulumi.String("string"),
},
Schedule: &vulnerabilityscanning.HostScanRecipeScheduleArgs{
Type: pulumi.String("string"),
DayOfWeek: pulumi.String("string"),
},
ApplicationSettings: &vulnerabilityscanning.HostScanRecipeApplicationSettingsArgs{
ApplicationScanRecurrence: pulumi.String("string"),
FoldersToScans: vulnerabilityscanning.HostScanRecipeApplicationSettingsFoldersToScanArray{
&vulnerabilityscanning.HostScanRecipeApplicationSettingsFoldersToScanArgs{
Folder: pulumi.String("string"),
Operatingsystem: pulumi.String("string"),
},
},
IsEnabled: pulumi.Bool(false),
},
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
DisplayName: pulumi.String("string"),
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var hostScanRecipeResource = new HostScanRecipe("hostScanRecipeResource", HostScanRecipeArgs.builder()
.agentSettings(HostScanRecipeAgentSettingsArgs.builder()
.scanLevel("string")
.agentConfiguration(HostScanRecipeAgentSettingsAgentConfigurationArgs.builder()
.vendor("string")
.cisBenchmarkSettings(HostScanRecipeAgentSettingsAgentConfigurationCisBenchmarkSettingsArgs.builder()
.scanLevel("string")
.build())
.endpointProtectionSettings(HostScanRecipeAgentSettingsAgentConfigurationEndpointProtectionSettingsArgs.builder()
.scanLevel("string")
.build())
.shouldUnInstall(false)
.vaultSecretId("string")
.vendorType("string")
.build())
.build())
.compartmentId("string")
.portSettings(HostScanRecipePortSettingsArgs.builder()
.scanLevel("string")
.build())
.schedule(HostScanRecipeScheduleArgs.builder()
.type("string")
.dayOfWeek("string")
.build())
.applicationSettings(HostScanRecipeApplicationSettingsArgs.builder()
.applicationScanRecurrence("string")
.foldersToScans(HostScanRecipeApplicationSettingsFoldersToScanArgs.builder()
.folder("string")
.operatingsystem("string")
.build())
.isEnabled(false)
.build())
.definedTags(Map.of("string", "string"))
.displayName("string")
.freeformTags(Map.of("string", "string"))
.build());
host_scan_recipe_resource = oci.vulnerability_scanning.HostScanRecipe("hostScanRecipeResource",
agent_settings={
"scan_level": "string",
"agent_configuration": {
"vendor": "string",
"cis_benchmark_settings": {
"scan_level": "string",
},
"endpoint_protection_settings": {
"scan_level": "string",
},
"should_un_install": False,
"vault_secret_id": "string",
"vendor_type": "string",
},
},
compartment_id="string",
port_settings={
"scan_level": "string",
},
schedule={
"type": "string",
"day_of_week": "string",
},
application_settings={
"application_scan_recurrence": "string",
"folders_to_scans": [{
"folder": "string",
"operatingsystem": "string",
}],
"is_enabled": False,
},
defined_tags={
"string": "string",
},
display_name="string",
freeform_tags={
"string": "string",
})
const hostScanRecipeResource = new oci.vulnerabilityscanning.HostScanRecipe("hostScanRecipeResource", {
agentSettings: {
scanLevel: "string",
agentConfiguration: {
vendor: "string",
cisBenchmarkSettings: {
scanLevel: "string",
},
endpointProtectionSettings: {
scanLevel: "string",
},
shouldUnInstall: false,
vaultSecretId: "string",
vendorType: "string",
},
},
compartmentId: "string",
portSettings: {
scanLevel: "string",
},
schedule: {
type: "string",
dayOfWeek: "string",
},
applicationSettings: {
applicationScanRecurrence: "string",
foldersToScans: [{
folder: "string",
operatingsystem: "string",
}],
isEnabled: false,
},
definedTags: {
string: "string",
},
displayName: "string",
freeformTags: {
string: "string",
},
});
type: oci:VulnerabilityScanning:HostScanRecipe
properties:
agentSettings:
agentConfiguration:
cisBenchmarkSettings:
scanLevel: string
endpointProtectionSettings:
scanLevel: string
shouldUnInstall: false
vaultSecretId: string
vendor: string
vendorType: string
scanLevel: string
applicationSettings:
applicationScanRecurrence: string
foldersToScans:
- folder: string
operatingsystem: string
isEnabled: false
compartmentId: string
definedTags:
string: string
displayName: string
freeformTags:
string: string
portSettings:
scanLevel: string
schedule:
dayOfWeek: string
type: string
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The HostScanRecipe resource accepts the following input properties:
- Agent
Settings HostScan Recipe Agent Settings - (Updatable) Agent scan settings for a host scan
- Compartment
Id string - (Updatable) Compartment ID of the scanning config. If no individual hosts are specified, all hosts in this compartment are scanned
- Port
Settings HostScan Recipe Port Settings - (Updatable) Port scan settings for a host scan
- Schedule
Host
Scan Recipe Schedule - (Updatable) A scanning schedule
- Application
Settings HostScan Recipe Application Settings - (Updatable) Agent scan settings for an application scan (as a part of a host scan)
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string - (Updatable) Recipe identifier, which can be renamed. If not present, it will be auto-generated. Avoid entering confidential information.
- Dictionary<string, string>
- (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 HostScan Recipe Agent Settings Args - (Updatable) Agent scan settings for a host scan
- Compartment
Id string - (Updatable) Compartment ID of the scanning config. If no individual hosts are specified, all hosts in this compartment are scanned
- Port
Settings HostScan Recipe Port Settings Args - (Updatable) Port scan settings for a host scan
- Schedule
Host
Scan Recipe Schedule Args - (Updatable) A scanning schedule
- Application
Settings HostScan Recipe Application Settings Args - (Updatable) Agent scan settings for an application scan (as a part of a host scan)
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string - (Updatable) Recipe identifier, which can be renamed. If not present, it will be auto-generated. Avoid entering confidential information.
- map[string]string
- (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 HostScan Recipe Agent Settings - (Updatable) Agent scan settings for a host scan
- compartment
Id String - (Updatable) Compartment ID of the scanning config. If no individual hosts are specified, all hosts in this compartment are scanned
- port
Settings HostScan Recipe Port Settings - (Updatable) Port scan settings for a host scan
- schedule
Host
Scan Recipe Schedule - (Updatable) A scanning schedule
- application
Settings HostScan Recipe Application Settings - (Updatable) Agent scan settings for an application scan (as a part of a host scan)
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String - (Updatable) Recipe identifier, which can be renamed. If not present, it will be auto-generated. Avoid entering confidential information.
- Map<String,String>
- (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 HostScan Recipe Agent Settings - (Updatable) Agent scan settings for a host scan
- compartment
Id string - (Updatable) Compartment ID of the scanning config. If no individual hosts are specified, all hosts in this compartment are scanned
- port
Settings HostScan Recipe Port Settings - (Updatable) Port scan settings for a host scan
- schedule
Host
Scan Recipe Schedule - (Updatable) A scanning schedule
- application
Settings HostScan Recipe Application Settings - (Updatable) Agent scan settings for an application scan (as a part of a host scan)
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name string - (Updatable) Recipe identifier, which can be renamed. If not present, it will be auto-generated. Avoid entering confidential information.
- {[key: string]: string}
- (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 vulnerabilityscanning.Host Scan Recipe Agent Settings Args - (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 vulnerabilityscanning.Host Scan Recipe Port Settings Args - (Updatable) Port scan settings for a host scan
- schedule
vulnerabilityscanning.
Host Scan Recipe Schedule Args - (Updatable) A scanning schedule
- application_
settings vulnerabilityscanning.Host Scan Recipe Application Settings Args - (Updatable) Agent scan settings for an application scan (as a part of a host scan)
- Mapping[str, str]
- (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.
- Mapping[str, str]
- (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 Property Map - (Updatable) Agent scan settings for a host scan
- compartment
Id String - (Updatable) Compartment ID of the scanning config. If no individual hosts are specified, all hosts in this compartment are scanned
- port
Settings Property Map - (Updatable) Port scan settings for a host scan
- schedule Property Map
- (Updatable) A scanning schedule
- application
Settings Property Map - (Updatable) Agent scan settings for an application scan (as a part of a host scan)
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String - (Updatable) Recipe identifier, which can be renamed. If not present, it will be auto-generated. Avoid entering confidential information.
- Map<String>
- (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.
- Dictionary<string, string>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - Date and time the recipe was created, format as described in RFC 3339
- Time
Updated 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.
- map[string]string
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - Date and time the recipe was created, format as described in RFC 3339
- Time
Updated 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.
- Map<String,String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - Date and time the recipe was created, format as described in RFC 3339
- time
Updated 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.
- {[key: string]: string}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - Date and time the recipe was created, format as described in RFC 3339
- time
Updated 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.
- Mapping[str, str]
- 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.
- Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - Date and time the recipe was created, format as described in RFC 3339
- time
Updated 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, str]] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
port_settings: Optional[_vulnerabilityscanning.HostScanRecipePortSettingsArgs] = None,
schedule: Optional[_vulnerabilityscanning.HostScanRecipeScheduleArgs] = None,
state: Optional[str] = None,
system_tags: Optional[Mapping[str, str]] = 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.
- Agent
Settings HostScan Recipe Agent Settings - (Updatable) Agent scan settings for a host scan
- Application
Settings HostScan Recipe Application Settings - (Updatable) Agent scan settings for an application scan (as a part of a host scan)
- Compartment
Id string - (Updatable) Compartment ID of the scanning config. If no individual hosts are specified, all hosts in this compartment are scanned
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string - (Updatable) Recipe identifier, which can be renamed. If not present, it will be auto-generated. Avoid entering confidential information.
- Dictionary<string, string>
- (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 HostScan Recipe Port Settings - (Updatable) Port scan settings for a host scan
- Schedule
Host
Scan Recipe Schedule - (Updatable) A scanning schedule
- State string
- The current state of the config.
- Dictionary<string, string>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - Date and time the recipe was created, format as described in RFC 3339
- Time
Updated string - Date and time the recipe was last updated, format as described in RFC 3339
- Agent
Settings HostScan Recipe Agent Settings Args - (Updatable) Agent scan settings for a host scan
- Application
Settings HostScan Recipe Application Settings Args - (Updatable) Agent scan settings for an application scan (as a part of a host scan)
- Compartment
Id string - (Updatable) Compartment ID of the scanning config. If no individual hosts are specified, all hosts in this compartment are scanned
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string - (Updatable) Recipe identifier, which can be renamed. If not present, it will be auto-generated. Avoid entering confidential information.
- map[string]string
- (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 HostScan Recipe Port Settings Args - (Updatable) Port scan settings for a host scan
- Schedule
Host
Scan Recipe Schedule Args - (Updatable) A scanning schedule
- State string
- The current state of the config.
- map[string]string
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - Date and time the recipe was created, format as described in RFC 3339
- Time
Updated string - Date and time the recipe was last updated, format as described in RFC 3339
- agent
Settings HostScan Recipe Agent Settings - (Updatable) Agent scan settings for a host scan
- application
Settings HostScan Recipe Application Settings - (Updatable) Agent scan settings for an application scan (as a part of a host scan)
- compartment
Id String - (Updatable) Compartment ID of the scanning config. If no individual hosts are specified, all hosts in this compartment are scanned
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String - (Updatable) Recipe identifier, which can be renamed. If not present, it will be auto-generated. Avoid entering confidential information.
- Map<String,String>
- (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 HostScan Recipe Port Settings - (Updatable) Port scan settings for a host scan
- schedule
Host
Scan Recipe Schedule - (Updatable) A scanning schedule
- state String
- The current state of the config.
- Map<String,String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - Date and time the recipe was created, format as described in RFC 3339
- time
Updated String - Date and time the recipe was last updated, format as described in RFC 3339
- agent
Settings HostScan Recipe Agent Settings - (Updatable) Agent scan settings for a host scan
- application
Settings HostScan Recipe Application Settings - (Updatable) Agent scan settings for an application scan (as a part of a host scan)
- compartment
Id string - (Updatable) Compartment ID of the scanning config. If no individual hosts are specified, all hosts in this compartment are scanned
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name string - (Updatable) Recipe identifier, which can be renamed. If not present, it will be auto-generated. Avoid entering confidential information.
- {[key: string]: string}
- (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 HostScan Recipe Port Settings - (Updatable) Port scan settings for a host scan
- schedule
Host
Scan Recipe Schedule - (Updatable) A scanning schedule
- state string
- The current state of the config.
- {[key: string]: string}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - Date and time the recipe was created, format as described in RFC 3339
- time
Updated string - Date and time the recipe was last updated, format as described in RFC 3339
- agent_
settings vulnerabilityscanning.Host Scan Recipe Agent Settings Args - (Updatable) Agent scan settings for a host scan
- application_
settings vulnerabilityscanning.Host Scan Recipe Application Settings Args - (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
- Mapping[str, str]
- (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.
- Mapping[str, str]
- (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 vulnerabilityscanning.Host Scan Recipe Port Settings Args - (Updatable) Port scan settings for a host scan
- schedule
vulnerabilityscanning.
Host Scan Recipe Schedule Args - (Updatable) A scanning schedule
- state str
- The current state of the config.
- Mapping[str, str]
- 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
- agent
Settings Property Map - (Updatable) Agent scan settings for a host scan
- application
Settings Property Map - (Updatable) Agent scan settings for an application scan (as a part of a host scan)
- compartment
Id String - (Updatable) Compartment ID of the scanning config. If no individual hosts are specified, all hosts in this compartment are scanned
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String - (Updatable) Recipe identifier, which can be renamed. If not present, it will be auto-generated. Avoid entering confidential information.
- Map<String>
- (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 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.
- Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - Date and time the recipe was created, format as described in RFC 3339
- time
Updated String - Date and time the recipe was last updated, format as described in RFC 3339
Supporting Types
HostScanRecipeAgentSettings, HostScanRecipeAgentSettingsArgs
- Scan
Level string - (Updatable) The scan level
- Agent
Configuration HostScan Recipe Agent Settings Agent Configuration - (Updatable) Agent configuration for host scan agent settings. This model is polymorphic, presenting different configuration options based on selected agent vendor.
- Scan
Level string - (Updatable) The scan level
- Agent
Configuration HostScan Recipe Agent Settings Agent Configuration - (Updatable) Agent configuration for host scan agent settings. This model is polymorphic, presenting different configuration options based on selected agent vendor.
- scan
Level String - (Updatable) The scan level
- agent
Configuration HostScan Recipe Agent Settings Agent Configuration - (Updatable) Agent configuration for host scan agent settings. This model is polymorphic, presenting different configuration options based on selected agent vendor.
- scan
Level string - (Updatable) The scan level
- agent
Configuration HostScan Recipe Agent Settings Agent Configuration - (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 vulnerabilityscanning.Host Scan Recipe Agent Settings Agent Configuration - (Updatable) Agent configuration for host scan agent settings. This model is polymorphic, presenting different configuration options based on selected agent vendor.
- scan
Level String - (Updatable) The scan level
- agent
Configuration 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.
- Cis
Benchmark HostSettings Scan Recipe Agent Settings Agent Configuration Cis Benchmark Settings - (Updatable) CIS (Center for Internet Security) Benchmark scan settings for a host scan
- Endpoint
Protection HostSettings Scan Recipe Agent Settings Agent Configuration Endpoint Protection Settings - (Updatable) Endpoint Protection scan settings for a host scan
- Should
Un boolInstall - (Updatable) Boolean flag letting agent know if it should un-install the Qualys agent when it is stopped.
- Vault
Secret stringId - (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 string - (Updatable) Vendor to use for the host scan agent.
- Vendor string
- (Updatable) Vendor to use for the host scan agent.
- Cis
Benchmark HostSettings Scan Recipe Agent Settings Agent Configuration Cis Benchmark Settings - (Updatable) CIS (Center for Internet Security) Benchmark scan settings for a host scan
- Endpoint
Protection HostSettings Scan Recipe Agent Settings Agent Configuration Endpoint Protection Settings - (Updatable) Endpoint Protection scan settings for a host scan
- Should
Un boolInstall - (Updatable) Boolean flag letting agent know if it should un-install the Qualys agent when it is stopped.
- Vault
Secret stringId - (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 string - (Updatable) Vendor to use for the host scan agent.
- vendor String
- (Updatable) Vendor to use for the host scan agent.
- cis
Benchmark HostSettings Scan Recipe Agent Settings Agent Configuration Cis Benchmark Settings - (Updatable) CIS (Center for Internet Security) Benchmark scan settings for a host scan
- endpoint
Protection HostSettings Scan Recipe Agent Settings Agent Configuration Endpoint Protection Settings - (Updatable) Endpoint Protection scan settings for a host scan
- should
Un BooleanInstall - (Updatable) Boolean flag letting agent know if it should un-install the Qualys agent when it is stopped.
- vault
Secret StringId - (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 String - (Updatable) Vendor to use for the host scan agent.
- vendor string
- (Updatable) Vendor to use for the host scan agent.
- cis
Benchmark HostSettings Scan Recipe Agent Settings Agent Configuration Cis Benchmark Settings - (Updatable) CIS (Center for Internet Security) Benchmark scan settings for a host scan
- endpoint
Protection HostSettings Scan Recipe Agent Settings Agent Configuration Endpoint Protection Settings - (Updatable) Endpoint Protection scan settings for a host scan
- should
Un booleanInstall - (Updatable) Boolean flag letting agent know if it should un-install the Qualys agent when it is stopped.
- vault
Secret stringId - (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 string - (Updatable) Vendor to use for the host scan agent.
- vendor str
- (Updatable) Vendor to use for the host scan agent.
- cis_
benchmark_ vulnerabilityscanning.settings Host Scan Recipe Agent Settings Agent Configuration Cis Benchmark Settings - (Updatable) CIS (Center for Internet Security) Benchmark scan settings for a host scan
- endpoint_
protection_ vulnerabilityscanning.settings Host Scan Recipe Agent Settings Agent Configuration Endpoint Protection Settings - (Updatable) Endpoint Protection scan settings for a host scan
- should_
un_ boolinstall - (Updatable) Boolean flag letting agent know if it should un-install the Qualys agent when it is stopped.
- vault_
secret_ strid - (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.
- cis
Benchmark Property MapSettings - (Updatable) CIS (Center for Internet Security) Benchmark scan settings for a host scan
- endpoint
Protection Property MapSettings - (Updatable) Endpoint Protection scan settings for a host scan
- should
Un BooleanInstall - (Updatable) Boolean flag letting agent know if it should un-install the Qualys agent when it is stopped.
- vault
Secret StringId - (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 String - (Updatable) Vendor to use for the host scan agent.
HostScanRecipeAgentSettingsAgentConfigurationCisBenchmarkSettings, HostScanRecipeAgentSettingsAgentConfigurationCisBenchmarkSettingsArgs
- Scan
Level string - (Updatable) The level of strictness to apply for CIS Benchmarks. Use 'NONE' to disable CIS Benchmark checks entirely.
- Scan
Level string - (Updatable) The level of strictness to apply for CIS Benchmarks. Use 'NONE' to disable CIS Benchmark checks entirely.
- scan
Level String - (Updatable) The level of strictness to apply for CIS Benchmarks. Use 'NONE' to disable CIS Benchmark checks entirely.
- scan
Level string - (Updatable) The level of strictness to apply for CIS Benchmarks. Use 'NONE' to disable CIS Benchmark checks entirely.
- scan_
level str - (Updatable) The level of strictness to apply for CIS Benchmarks. Use 'NONE' to disable CIS Benchmark checks entirely.
- scan
Level String - (Updatable) The level of strictness to apply for CIS Benchmarks. Use 'NONE' to disable CIS Benchmark checks entirely.
HostScanRecipeAgentSettingsAgentConfigurationEndpointProtectionSettings, HostScanRecipeAgentSettingsAgentConfigurationEndpointProtectionSettingsArgs
- Scan
Level string - (Updatable) The scan level. Use 'NONE' to disable Endpoint Protection checks entirely.
- Scan
Level string - (Updatable) The scan level. Use 'NONE' to disable Endpoint Protection checks entirely.
- scan
Level String - (Updatable) The scan level. Use 'NONE' to disable Endpoint Protection checks entirely.
- scan
Level string - (Updatable) The scan level. Use 'NONE' to disable Endpoint Protection checks entirely.
- scan_
level str - (Updatable) The scan level. Use 'NONE' to disable Endpoint Protection checks entirely.
- scan
Level String - (Updatable) The scan level. Use 'NONE' to disable Endpoint Protection checks entirely.
HostScanRecipeApplicationSettings, HostScanRecipeApplicationSettingsArgs
- Application
Scan stringRecurrence - (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 List<HostScans Scan Recipe Application Settings Folders To Scan> - (Updatable) List of folders selected for scanning
- Is
Enabled bool - (Updatable) Enable or disable application scan
- Application
Scan stringRecurrence - (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 []HostScans Scan Recipe Application Settings Folders To Scan - (Updatable) List of folders selected for scanning
- Is
Enabled bool - (Updatable) Enable or disable application scan
- application
Scan StringRecurrence - (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 List<HostScans Scan Recipe Application Settings Folders To Scan> - (Updatable) List of folders selected for scanning
- is
Enabled Boolean - (Updatable) Enable or disable application scan
- application
Scan stringRecurrence - (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 HostScans Scan Recipe Application Settings Folders To Scan[] - (Updatable) List of folders selected for scanning
- is
Enabled boolean - (Updatable) Enable or disable application scan
- application_
scan_ strrecurrence - (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_ Sequence[vulnerabilityscanning.scans Host Scan Recipe Application Settings Folders To Scan] - (Updatable) List of folders selected for scanning
- is_
enabled bool - (Updatable) Enable or disable application scan
- application
Scan StringRecurrence - (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 List<Property Map>Scans - (Updatable) List of folders selected for scanning
- is
Enabled 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
- Scan
Level string - (Updatable) The scan level
- Scan
Level string - (Updatable) The scan level
- scan
Level String - (Updatable) The scan level
- scan
Level string - (Updatable) The scan level
- scan_
level str - (Updatable) The scan level
- scan
Level 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
- Day
Of stringWeek - (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
- Day
Of stringWeek - (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
- day
Of StringWeek - (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
- day
Of stringWeek - (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_ strweek - (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
- day
Of StringWeek - (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"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.