client

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: MIT Imports: 78 Imported by: 9

Documentation

Index

Constants

View Source
const (
	// DefaultHost is the default Host
	// found in Meta (info) section of spec file
	DefaultHost string = "api.crowdstrike.com"
	// DefaultBasePath is the default BasePath
	// found in Meta (info) section of spec file
	DefaultBasePath string = "/"
)

Variables

View Source
var Default = NewHTTPClient(nil)

Default crowd strike API specification HTTP client.

View Source
var DefaultSchemes = []string{"https"}

DefaultSchemes are the default schemes found in Meta (info) section of spec file

Functions

This section is empty.

Types

type CrowdStrikeAPISpecification

type CrowdStrikeAPISpecification struct {
	Alerts alerts.ClientService

	CloudConnectAws cloud_connect_aws.ClientService

	CloudSnapshots cloud_snapshots.ClientService

	ConfigurationAssessment configuration_assessment.ClientService

	ConfigurationAssessmentEvaluationLogic configuration_assessment_evaluation_logic.ClientService

	ContainerAlerts container_alerts.ClientService

	ContainerDetections container_detections.ClientService

	ContainerImages container_images.ClientService

	ContainerPackages container_packages.ClientService

	ContainerVulnerabilities container_vulnerabilities.ClientService

	CspmRegistration cspm_registration.ClientService

	CustomIoa custom_ioa.ClientService

	CustomStorage custom_storage.ClientService

	D4cRegistration d4c_registration.ClientService

	Detects detects.ClientService

	DeviceControlPolicies device_control_policies.ClientService

	Discover discover.ClientService

	DiscoverIot discover_iot.ClientService

	DriftIndicators drift_indicators.ClientService

	EventSchema event_schema.ClientService

	EventStreams event_streams.ClientService

	FalconCompleteDashboard falcon_complete_dashboard.ClientService

	FalconContainer falcon_container.ClientService

	FalconContainerCli falcon_container_cli.ClientService

	FalconContainerImage falcon_container_image.ClientService

	FalconxSandbox falconx_sandbox.ClientService

	FieldSchema field_schema.ClientService

	Filevantage filevantage.ClientService

	FirewallManagement firewall_management.ClientService

	FirewallPolicies firewall_policies.ClientService

	FoundryLogscale foundry_logscale.ClientService

	HostGroup host_group.ClientService

	Hosts hosts.ClientService

	IdentityEntities identity_entities.ClientService

	IdentityProtection identity_protection.ClientService

	ImageAssessmentPolicies image_assessment_policies.ClientService

	Incidents incidents.ClientService

	InstallationTokens installation_tokens.ClientService

	InstallationTokensSettings installation_tokens_settings.ClientService

	Intel intel.ClientService

	IoaExclusions ioa_exclusions.ClientService

	Ioc ioc.ClientService

	Iocs iocs.ClientService

	KubernetesProtection kubernetes_protection.ClientService

	Malquery malquery.ClientService

	MessageCenter message_center.ClientService

	MlExclusions ml_exclusions.ClientService

	MobileEnrollment mobile_enrollment.ClientService

	Mssp mssp.ClientService

	Oauth2 oauth2.ClientService

	Ods ods.ClientService

	OverwatchDashboard overwatch_dashboard.ClientService

	PreventionPolicies prevention_policies.ClientService

	Provision provision.ClientService

	Quarantine quarantine.ClientService

	QuickScan quick_scan.ClientService

	RealTimeResponse real_time_response.ClientService

	RealTimeResponseAdmin real_time_response_admin.ClientService

	RealTimeResponseAudit real_time_response_audit.ClientService

	Recon recon.ClientService

	ReportExecutions report_executions.ClientService

	ResponsePolicies response_policies.ClientService

	RuntimeDetections runtime_detections.ClientService

	SampleUploads sample_uploads.ClientService

	ScheduledReports scheduled_reports.ClientService

	SensorDownload sensor_download.ClientService

	SensorUpdatePolicies sensor_update_policies.ClientService

	SensorVisibilityExclusions sensor_visibility_exclusions.ClientService

	SpotlightEvaluationLogic spotlight_evaluation_logic.ClientService

	SpotlightVulnerabilities spotlight_vulnerabilities.ClientService

	TailoredIntelligence tailored_intelligence.ClientService

	UnidentifiedContainers unidentified_containers.ClientService

	UserManagement user_management.ClientService

	Workflows workflows.ClientService

	ZeroTrustAssessment zero_trust_assessment.ClientService

	Transport runtime.ClientTransport
}

CrowdStrikeAPISpecification is a client for crowd strike API specification

func New

New creates a new crowd strike API specification client

func NewHTTPClient

func NewHTTPClient(formats strfmt.Registry) *CrowdStrikeAPISpecification

NewHTTPClient creates a new crowd strike API specification HTTP client.

func NewHTTPClientWithConfig

func NewHTTPClientWithConfig(formats strfmt.Registry, cfg *TransportConfig) *CrowdStrikeAPISpecification

NewHTTPClientWithConfig creates a new crowd strike API specification HTTP client, using a customizable transport config.

func (*CrowdStrikeAPISpecification) SetTransport

func (c *CrowdStrikeAPISpecification) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client and all its subresources

type TransportConfig

type TransportConfig struct {
	Host     string
	BasePath string
	Schemes  []string
}

TransportConfig contains the transport related info, found in the meta section of the spec file.

func DefaultTransportConfig

func DefaultTransportConfig() *TransportConfig

DefaultTransportConfig creates a TransportConfig with the default settings taken from the meta section of the spec file.

func (*TransportConfig) WithBasePath

func (cfg *TransportConfig) WithBasePath(basePath string) *TransportConfig

WithBasePath overrides the default basePath, provided by the meta section of the spec file.

func (*TransportConfig) WithHost

func (cfg *TransportConfig) WithHost(host string) *TransportConfig

WithHost overrides the default host, provided by the meta section of the spec file.

func (*TransportConfig) WithSchemes

func (cfg *TransportConfig) WithSchemes(schemes []string) *TransportConfig

WithSchemes overrides the default schemes, provided by the meta section of the spec file.

Jump to

Keyboard shortcuts

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