Documentation ¶
Index ¶
- func GetCID(ctx context.Context, client *client.CrowdStrikeAPISpecification) (string, error)
- func GetMaintenanceToken(client *client.CrowdStrikeAPISpecification, aid string) string
- func GetProvisioningToken(client *client.CrowdStrikeAPISpecification) string
- func GetSensorUpdatePolicies(client *client.CrowdStrikeAPISpecification, osType string, arch string, ...) string
- func GetSensors(client *client.CrowdStrikeAPISpecification, osName string, osVersion string, ...) []*models.DomainSensorInstallerV2
- func QuerySuitableSensor(client *client.CrowdStrikeAPISpecification, osName string, osVersion string, ...) *models.DomainSensorInstallerV2
- func SensorDownload(client *client.CrowdStrikeAPISpecification, ...) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMaintenanceToken ¶
func GetMaintenanceToken(client *client.CrowdStrikeAPISpecification, aid string) string
GetMaintenanceToken queries the CrowdStrike API for the maintenance token.
func GetProvisioningToken ¶
func GetProvisioningToken(client *client.CrowdStrikeAPISpecification) string
GetProvisioningToken queries the CrowdStrike API for the sensor provisioning token.
func GetSensorUpdatePolicies ¶
func GetSensorUpdatePolicies(client *client.CrowdStrikeAPISpecification, osType string, arch string, sensorUpdatePolicyName string) string
GetSensorUpdatePolicies queries the CrowdStrike API for sensor update policies that match the provided policy name and architecture.
func GetSensors ¶
func GetSensors(client *client.CrowdStrikeAPISpecification, osName string, osVersion string, osType string, arch string, sensorUpdatePolicyName string) []*models.DomainSensorInstallerV2
GetSensors queries the CrowdStrike API for Falcon sensors that match the provided OS name, version, and architecture.
func QuerySuitableSensor ¶
func QuerySuitableSensor(client *client.CrowdStrikeAPISpecification, osName string, osVersion string, osType string, arch string, sensorUpdatePolicyName string, sensorVersion string) *models.DomainSensorInstallerV2
QuerySuitableSensor queries the CrowdStrike API for a suitable Falcon sensor that matches the provided OS name, version, and architecture.
func SensorDownload ¶
func SensorDownload(client *client.CrowdStrikeAPISpecification, sensor *models.DomainSensorInstallerV2, dir string, filename string) string
SensorDownload downloads the Falcon sensor installer using the CrowdStrike API and saves it to the provided directory.
Types ¶
This section is empty.