crowdstrike.DefaultSensorUpdatePolicy
Explore with Pulumi AI

This resource allows management of the default sensor update policy in the CrowdStrike Falcon platform. Destruction of this resource will not delete the default sensor update policy or remove any configured settings.
API Scopes
The following API scopes are required:
- Sensor update policies | Read & Write
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
Coming soon!
resources:
default:
type: crowdstrike:DefaultSensorUpdatePolicy
properties:
platformName: windows
build: ${all.windows.n1.build}
uninstallProtection: true
schedule:
enabled: true
timezone: Etc/UTC
time_blocks:
- days:
- sunday
- wednesday
startTime: 12:40
endTime: 16:40
variables:
all:
fn::invoke:
function: crowdstrike:getSensorUpdatePolicyBuilds
arguments: {}
outputs:
sensorPolicy: ${default}
Create DefaultSensorUpdatePolicy Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DefaultSensorUpdatePolicy(name: string, args: DefaultSensorUpdatePolicyArgs, opts?: CustomResourceOptions);
@overload
def DefaultSensorUpdatePolicy(resource_name: str,
args: DefaultSensorUpdatePolicyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DefaultSensorUpdatePolicy(resource_name: str,
opts: Optional[ResourceOptions] = None,
build: Optional[str] = None,
platform_name: Optional[str] = None,
schedule: Optional[DefaultSensorUpdatePolicyScheduleArgs] = None,
build_arm64: Optional[str] = None,
uninstall_protection: Optional[bool] = None)
func NewDefaultSensorUpdatePolicy(ctx *Context, name string, args DefaultSensorUpdatePolicyArgs, opts ...ResourceOption) (*DefaultSensorUpdatePolicy, error)
public DefaultSensorUpdatePolicy(string name, DefaultSensorUpdatePolicyArgs args, CustomResourceOptions? opts = null)
public DefaultSensorUpdatePolicy(String name, DefaultSensorUpdatePolicyArgs args)
public DefaultSensorUpdatePolicy(String name, DefaultSensorUpdatePolicyArgs args, CustomResourceOptions options)
type: crowdstrike:DefaultSensorUpdatePolicy
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 DefaultSensorUpdatePolicyArgs
- 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 DefaultSensorUpdatePolicyArgs
- 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 DefaultSensorUpdatePolicyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DefaultSensorUpdatePolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DefaultSensorUpdatePolicyArgs
- 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 defaultSensorUpdatePolicyResource = new Crowdstrike.DefaultSensorUpdatePolicy("defaultSensorUpdatePolicyResource", new()
{
Build = "string",
PlatformName = "string",
Schedule = new Crowdstrike.Inputs.DefaultSensorUpdatePolicyScheduleArgs
{
Enabled = false,
TimeBlocks = new[]
{
new Crowdstrike.Inputs.DefaultSensorUpdatePolicyScheduleTimeBlockArgs
{
Days = new[]
{
"string",
},
EndTime = "string",
StartTime = "string",
},
},
Timezone = "string",
},
BuildArm64 = "string",
UninstallProtection = false,
});
example, err := crowdstrike.NewDefaultSensorUpdatePolicy(ctx, "defaultSensorUpdatePolicyResource", &crowdstrike.DefaultSensorUpdatePolicyArgs{
Build: pulumi.String("string"),
PlatformName: pulumi.String("string"),
Schedule: &crowdstrike.DefaultSensorUpdatePolicyScheduleArgs{
Enabled: pulumi.Bool(false),
TimeBlocks: crowdstrike.DefaultSensorUpdatePolicyScheduleTimeBlockArray{
&crowdstrike.DefaultSensorUpdatePolicyScheduleTimeBlockArgs{
Days: pulumi.StringArray{
pulumi.String("string"),
},
EndTime: pulumi.String("string"),
StartTime: pulumi.String("string"),
},
},
Timezone: pulumi.String("string"),
},
BuildArm64: pulumi.String("string"),
UninstallProtection: pulumi.Bool(false),
})
var defaultSensorUpdatePolicyResource = new DefaultSensorUpdatePolicy("defaultSensorUpdatePolicyResource", DefaultSensorUpdatePolicyArgs.builder()
.build("string")
.platformName("string")
.schedule(DefaultSensorUpdatePolicyScheduleArgs.builder()
.enabled(false)
.timeBlocks(DefaultSensorUpdatePolicyScheduleTimeBlockArgs.builder()
.days("string")
.endTime("string")
.startTime("string")
.build())
.timezone("string")
.build())
.buildArm64("string")
.uninstallProtection(false)
.build());
default_sensor_update_policy_resource = crowdstrike.DefaultSensorUpdatePolicy("defaultSensorUpdatePolicyResource",
build="string",
platform_name="string",
schedule={
"enabled": False,
"time_blocks": [{
"days": ["string"],
"end_time": "string",
"start_time": "string",
}],
"timezone": "string",
},
build_arm64="string",
uninstall_protection=False)
const defaultSensorUpdatePolicyResource = new crowdstrike.DefaultSensorUpdatePolicy("defaultSensorUpdatePolicyResource", {
build: "string",
platformName: "string",
schedule: {
enabled: false,
timeBlocks: [{
days: ["string"],
endTime: "string",
startTime: "string",
}],
timezone: "string",
},
buildArm64: "string",
uninstallProtection: false,
});
type: crowdstrike:DefaultSensorUpdatePolicy
properties:
build: string
buildArm64: string
platformName: string
schedule:
enabled: false
timeBlocks:
- days:
- string
endTime: string
startTime: string
timezone: string
uninstallProtection: false
DefaultSensorUpdatePolicy 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 DefaultSensorUpdatePolicy resource accepts the following input properties:
- Build string
- Sensor build to use for the default sensor update policy.
- Platform
Name string - Chooses which default sensor update policy to manage. (Windows, Mac, Linux)
- Schedule
Crowd
Strike. Crowdstrike. Inputs. Default Sensor Update Policy Schedule - Prohibit sensor updates during a set of time blocks.
- Build
Arm64 string - Sensor arm64 build to use for the default sensor update policy (Linux only). Required if platform_name is Linux.
- Uninstall
Protection bool - Enable uninstall protection. Windows and Mac only.
- Build string
- Sensor build to use for the default sensor update policy.
- Platform
Name string - Chooses which default sensor update policy to manage. (Windows, Mac, Linux)
- Schedule
Default
Sensor Update Policy Schedule Args - Prohibit sensor updates during a set of time blocks.
- Build
Arm64 string - Sensor arm64 build to use for the default sensor update policy (Linux only). Required if platform_name is Linux.
- Uninstall
Protection bool - Enable uninstall protection. Windows and Mac only.
- build String
- Sensor build to use for the default sensor update policy.
- platform
Name String - Chooses which default sensor update policy to manage. (Windows, Mac, Linux)
- schedule
Default
Sensor Update Policy Schedule - Prohibit sensor updates during a set of time blocks.
- build
Arm64 String - Sensor arm64 build to use for the default sensor update policy (Linux only). Required if platform_name is Linux.
- uninstall
Protection Boolean - Enable uninstall protection. Windows and Mac only.
- build string
- Sensor build to use for the default sensor update policy.
- platform
Name string - Chooses which default sensor update policy to manage. (Windows, Mac, Linux)
- schedule
Default
Sensor Update Policy Schedule - Prohibit sensor updates during a set of time blocks.
- build
Arm64 string - Sensor arm64 build to use for the default sensor update policy (Linux only). Required if platform_name is Linux.
- uninstall
Protection boolean - Enable uninstall protection. Windows and Mac only.
- build str
- Sensor build to use for the default sensor update policy.
- platform_
name str - Chooses which default sensor update policy to manage. (Windows, Mac, Linux)
- schedule
Default
Sensor Update Policy Schedule Args - Prohibit sensor updates during a set of time blocks.
- build_
arm64 str - Sensor arm64 build to use for the default sensor update policy (Linux only). Required if platform_name is Linux.
- uninstall_
protection bool - Enable uninstall protection. Windows and Mac only.
- build String
- Sensor build to use for the default sensor update policy.
- platform
Name String - Chooses which default sensor update policy to manage. (Windows, Mac, Linux)
- schedule Property Map
- Prohibit sensor updates during a set of time blocks.
- build
Arm64 String - Sensor arm64 build to use for the default sensor update policy (Linux only). Required if platform_name is Linux.
- uninstall
Protection Boolean - Enable uninstall protection. Windows and Mac only.
Outputs
All input properties are implicitly available as output properties. Additionally, the DefaultSensorUpdatePolicy resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Updated string
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Updated string
- id String
- The provider-assigned unique ID for this managed resource.
- last
Updated String
- id string
- The provider-assigned unique ID for this managed resource.
- last
Updated string
- id str
- The provider-assigned unique ID for this managed resource.
- last_
updated str
- id String
- The provider-assigned unique ID for this managed resource.
- last
Updated String
Look up Existing DefaultSensorUpdatePolicy Resource
Get an existing DefaultSensorUpdatePolicy 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?: DefaultSensorUpdatePolicyState, opts?: CustomResourceOptions): DefaultSensorUpdatePolicy
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
build: Optional[str] = None,
build_arm64: Optional[str] = None,
last_updated: Optional[str] = None,
platform_name: Optional[str] = None,
schedule: Optional[DefaultSensorUpdatePolicyScheduleArgs] = None,
uninstall_protection: Optional[bool] = None) -> DefaultSensorUpdatePolicy
func GetDefaultSensorUpdatePolicy(ctx *Context, name string, id IDInput, state *DefaultSensorUpdatePolicyState, opts ...ResourceOption) (*DefaultSensorUpdatePolicy, error)
public static DefaultSensorUpdatePolicy Get(string name, Input<string> id, DefaultSensorUpdatePolicyState? state, CustomResourceOptions? opts = null)
public static DefaultSensorUpdatePolicy get(String name, Output<String> id, DefaultSensorUpdatePolicyState state, CustomResourceOptions options)
resources: _: type: crowdstrike:DefaultSensorUpdatePolicy get: id: ${id}
- 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.
- Build string
- Sensor build to use for the default sensor update policy.
- Build
Arm64 string - Sensor arm64 build to use for the default sensor update policy (Linux only). Required if platform_name is Linux.
- Last
Updated string - Platform
Name string - Chooses which default sensor update policy to manage. (Windows, Mac, Linux)
- Schedule
Crowd
Strike. Crowdstrike. Inputs. Default Sensor Update Policy Schedule - Prohibit sensor updates during a set of time blocks.
- Uninstall
Protection bool - Enable uninstall protection. Windows and Mac only.
- Build string
- Sensor build to use for the default sensor update policy.
- Build
Arm64 string - Sensor arm64 build to use for the default sensor update policy (Linux only). Required if platform_name is Linux.
- Last
Updated string - Platform
Name string - Chooses which default sensor update policy to manage. (Windows, Mac, Linux)
- Schedule
Default
Sensor Update Policy Schedule Args - Prohibit sensor updates during a set of time blocks.
- Uninstall
Protection bool - Enable uninstall protection. Windows and Mac only.
- build String
- Sensor build to use for the default sensor update policy.
- build
Arm64 String - Sensor arm64 build to use for the default sensor update policy (Linux only). Required if platform_name is Linux.
- last
Updated String - platform
Name String - Chooses which default sensor update policy to manage. (Windows, Mac, Linux)
- schedule
Default
Sensor Update Policy Schedule - Prohibit sensor updates during a set of time blocks.
- uninstall
Protection Boolean - Enable uninstall protection. Windows and Mac only.
- build string
- Sensor build to use for the default sensor update policy.
- build
Arm64 string - Sensor arm64 build to use for the default sensor update policy (Linux only). Required if platform_name is Linux.
- last
Updated string - platform
Name string - Chooses which default sensor update policy to manage. (Windows, Mac, Linux)
- schedule
Default
Sensor Update Policy Schedule - Prohibit sensor updates during a set of time blocks.
- uninstall
Protection boolean - Enable uninstall protection. Windows and Mac only.
- build str
- Sensor build to use for the default sensor update policy.
- build_
arm64 str - Sensor arm64 build to use for the default sensor update policy (Linux only). Required if platform_name is Linux.
- last_
updated str - platform_
name str - Chooses which default sensor update policy to manage. (Windows, Mac, Linux)
- schedule
Default
Sensor Update Policy Schedule Args - Prohibit sensor updates during a set of time blocks.
- uninstall_
protection bool - Enable uninstall protection. Windows and Mac only.
- build String
- Sensor build to use for the default sensor update policy.
- build
Arm64 String - Sensor arm64 build to use for the default sensor update policy (Linux only). Required if platform_name is Linux.
- last
Updated String - platform
Name String - Chooses which default sensor update policy to manage. (Windows, Mac, Linux)
- schedule Property Map
- Prohibit sensor updates during a set of time blocks.
- uninstall
Protection Boolean - Enable uninstall protection. Windows and Mac only.
Supporting Types
DefaultSensorUpdatePolicySchedule, DefaultSensorUpdatePolicyScheduleArgs
- Enabled bool
- Enable the scheduler for sensor update policy.
- Time
Blocks List<CrowdStrike. Crowdstrike. Inputs. Default Sensor Update Policy Schedule Time Block> - The time block to prevent sensor updates. Only set when enabled is true.
- Timezone string
- The time zones that will be used for the time blocks. Only set when enabled is true.
- Enabled bool
- Enable the scheduler for sensor update policy.
- Time
Blocks []DefaultSensor Update Policy Schedule Time Block - The time block to prevent sensor updates. Only set when enabled is true.
- Timezone string
- The time zones that will be used for the time blocks. Only set when enabled is true.
- enabled Boolean
- Enable the scheduler for sensor update policy.
- time
Blocks List<DefaultSensor Update Policy Schedule Time Block> - The time block to prevent sensor updates. Only set when enabled is true.
- timezone String
- The time zones that will be used for the time blocks. Only set when enabled is true.
- enabled boolean
- Enable the scheduler for sensor update policy.
- time
Blocks DefaultSensor Update Policy Schedule Time Block[] - The time block to prevent sensor updates. Only set when enabled is true.
- timezone string
- The time zones that will be used for the time blocks. Only set when enabled is true.
- enabled bool
- Enable the scheduler for sensor update policy.
- time_
blocks Sequence[DefaultSensor Update Policy Schedule Time Block] - The time block to prevent sensor updates. Only set when enabled is true.
- timezone str
- The time zones that will be used for the time blocks. Only set when enabled is true.
- enabled Boolean
- Enable the scheduler for sensor update policy.
- time
Blocks List<Property Map> - The time block to prevent sensor updates. Only set when enabled is true.
- timezone String
- The time zones that will be used for the time blocks. Only set when enabled is true.
DefaultSensorUpdatePolicyScheduleTimeBlock, DefaultSensorUpdatePolicyScheduleTimeBlockArgs
- days Sequence[str]
- The days of the week the time block should be active.
- end_
time str - The end time for the time block in 24HR format. Must be atleast 1 hour more than start_time.
- start_
time str - The start time for the time block in 24HR format. Must be atleast 1 hour before end_time.
Import
A default sensor update policy can be imported by specifying the policy id.
$ pulumi import crowdstrike:index/defaultSensorUpdatePolicy:DefaultSensorUpdatePolicy default 7fb858a949034a0cbca175f660f1e769
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- crowdstrike crowdstrike/pulumi-crowdstrike
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
crowdstrike
Terraform Provider.
