Viewing docs for CrowdStrike v0.0.14
published on Monday, May 5, 2025 by CrowdStrike
published on Monday, May 5, 2025 by CrowdStrike
CrowdStrike
I want to use the Pulumi CrowdStrike package (crowdstrike) in my project.
## Provider details
- Package: crowdstrike
- Version: v0.0.14
- Publisher: CrowdStrike
- Source: pulumi
- Repository: https://github.com/crowdstrike/pulumi-crowdstrike
## Documentation
The Pulumi Cloud Registry API serves canonical, up-to-date docs for this package — including private packages and every published version. Send the "Accept: text/markdown" header for clean readable content, or "application/json" for structured data.
Start at the navigation tree, which cross-links to the readme, installation guide, and per-resource docs URL template:
- https://api.pulumi.com/api/registry/packages/pulumi/crowdstrike/crowdstrike/versions/latest/nav
Returns a summary by default. The full tree can be hundreds of kB for large providers, so prefer targeted search: append "?q=<query>&depth=full" to filter by resource/function title or token (for example "?q=bucket&depth=full"). Only request the full nav without a query if you actually need to enumerate every resource.
Other endpoints:
- Overview and getting started: https://api.pulumi.com/api/registry/packages/pulumi/crowdstrike/crowdstrike/versions/latest/readme
- Installation and configuration: https://api.pulumi.com/api/registry/packages/pulumi/crowdstrike/crowdstrike/versions/latest/installation
- Per-resource/function docs: https://api.pulumi.com/api/registry/packages/pulumi/crowdstrike/crowdstrike/versions/latest/docs/{token}?lang={lang}
Replace {token} with the percent-encoded token from the nav response (for example aws:s3/bucket:Bucket).
Replace {lang} with typescript, python, go, csharp, java, or yaml.
Fetch the installation endpoint above for the correct setup steps — install instructions vary between native providers, bridged Terraform providers, and component packages.
Help me get started using this provider. Show me a complete Pulumi program that provisions a common resource, including all necessary configuration and imports.
Viewing docs for CrowdStrike v0.0.14
published on Monday, May 5, 2025 by CrowdStrike
published on Monday, May 5, 2025 by CrowdStrike
The CrowdStrike provider for Pulumi can be used to provision any of the supported cloud resources available in CrowdStrike.
The CrowdStrike provider must be configured with credentials to deploy and update resources in CrowdStrike.
Example
Python
import pulumi
import crowdstrike_pulumi
host_group = crowdstrike_pulumi.HostGroup(
resource_name="hostgroup_1",
description="A host group created using Pulumi",
type="dynamic",
assignment_rule="tags:'SensorGroupingTags/production'+os_version:'Amazon Linux 2'",
)
Typescript
import * as pulumi from "@pulumi/pulumi";
import * as crowdstrike from "@crowdstrike/pulumi"
//
const hostGroup = new crowdstrike.HostGroup("hostgroup_2", {
"description": "A host group created using Pulumi",
"type": "dynamic",
"assignmentRule": "tags:'SensorGroupingTags/production'+os_version:'Amazon Linux 2'"
}
)
Go
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/crowdstrike/pulumi-crowdstrike/sdk/go/crowdstrike"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
hostGroup, err := crowdstrike.NewHostGroup(ctx, "hostgroup_3", &crowdstrike.HostGroupArgs{
Description: pulumi.String("A host group created using Pulumi"),
Type: pulumi.String("dynamic"),
AssignmentRule: pulumi.String("tags:'tags:'SensorGroupingTags/production'+os_version:'Amazon Linux 2'"),
})
if err != nil {
return err
}
ctx.Export("hostgroup_3", hostGroup)
return nil
})
}
CSharp
using System;
using Pulumi;
using CrowdStrike.Crowdstrike;
class MyStack : Stack
{
public MyStack()
{
var hostGroup = new HostGroup("hostgroup_pulumi_csharp_published", new HostGroupArgs
{
Name = "hostgroup_pulumi_dotnet",
Type = "dynamic",
Description = "Test pulumi hostgroup",
AssignmentRule = "tags:'SensorGroupingTags/cloud-lab'+os_version:'Amazon Linux 2'"
});
}
}
Supported Resources and Required Scopes
See a resource’s documentation for the specific scopes required for that resource.
| Scope | Permission |
|---|---|
| Device Control Policies | READ, WRITE |
| Prevention Policies | READ, WRITE |
| Response Policies | READ, WRITE |
| Firewall Management | READ, WRITE |
| Host Groups | READ, WRITE |
| Sensor Update Policies | READ, WRITE |
| Falcon FileVantage | READ, WRITE |
Viewing docs for CrowdStrike v0.0.14
published on Monday, May 5, 2025 by CrowdStrike
published on Monday, May 5, 2025 by CrowdStrike