installer

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 20, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(fc FalconInstaller)

Types

type FalconInstaller

type FalconInstaller struct {
	// ClientId is the client ID for accessing CrowdStrike Falcon Platform.
	ClientId string
	// ClientSecret is the client secret for accessing CrowdStrike Falcon Platform.
	ClientSecret string
	// MemberCID is the member CID for MSSP (for cases when OAuth2 authenticates multiple CIDs).
	MemberCID string
	// Cloud is the Falcon cloud abbreviation (us-1, us-2, eu-1, us-gov-1). Defaults to autodiscover.
	Cloud string
	// SensorUpdatePolicyName is the sensor update policy name to use for sensor installation.
	SensorUpdatePolicyName string
	// TmpDir is the temporary directory to use for downloading the sensor.
	TmpDir string
	// Arch is the architecture to install the sensor on.
	Arch string
	// OS is the operating system to install the sensor on.
	OS string
	// OsName is the name of the OS to use when querying for the sensor.
	OsName string
	// OsVersion is the version of the OS to use when querying for the sensor.
	OsVersion string
	// GpgKeyFile is the path to the GPG key file to use for importing the key. Linux only.
	GpgKeyFile string
	// UserAgent is the user agent string to use when making API requests.
	UserAgent string

	// SensorConfig is the configuration for the Falcon sensor CLI args.
	SensorConfig FalconSensorCLI
}

type FalconSensorCLI

type FalconSensorCLI struct {
	// CID is the customer ID for the sensor to use when communicating with CrowdStrike.
	CID string
	// APD is the proxy disable flag for the sensor to use when communicating with CrowdStrike.
	APD string
	// APH is the proxy host for the sensor to use when communicating with CrowdStrike.
	APH string
	// APP is the proxy port for the sensor to use when communicating with CrowdStrike.
	APP string
	// Tags is a comma separated list of tags for sensor grouping.
	Tags string
	// ProvisioningToken is the token used to provision the sensor. If not provided, the API will attempt to retrieve a token.
	ProvisioningToken string
	// ProvisioningWaitTime is the time in milliseconds to wait for the sensor to provision. Windows only.
	ProvisioningWaitTime int64
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL