Documentation ¶
Index ¶
Constants ¶
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 ¶
var Default = NewHTTPClient(nil)
Default crowd strike API specification HTTP client.
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 { CloudConnectAws cloud_connect_aws.ClientService CspmRegistration cspm_registration.ClientService CustomIoa custom_ioa.ClientService D4cRegistration d4c_registration.ClientService Detects detects.ClientService DeviceControlPolicies device_control_policies.ClientService EventStreams event_streams.ClientService FalconCompleteDashboard falcon_complete_dashboard.ClientService FalconContainer falcon_container.ClientService FalconxSandbox falconx_sandbox.ClientService FirewallManagement firewall_management.ClientService FirewallPolicies firewall_policies.ClientService HostGroup host_group.ClientService Hosts hosts.ClientService IdentityProtection identity_protection.ClientService Incidents incidents.ClientService InstallationTokens installation_tokens.ClientService Intel intel.ClientService IoaExclusions ioa_exclusions.ClientService Ioc ioc.ClientService Iocs iocs.ClientService KubernetesProtection kubernetes_protection.ClientService Malquery malquery.ClientService MlExclusions ml_exclusions.ClientService Mssp mssp.ClientService Oauth2 oauth2.ClientService OverwatchDashboard overwatch_dashboard.ClientService PreventionPolicies prevention_policies.ClientService Quarantine quarantine.ClientService QuickScan quick_scan.ClientService RealTimeResponse real_time_response.ClientService RealTimeResponseAdmin real_time_response_admin.ClientService Recon recon.ClientService ReportExecutions report_executions.ClientService ResponsePolicies response_policies.ClientService SampleUploads sample_uploads.ClientService ScheduledReports scheduled_reports.ClientService SensorDownload sensor_download.ClientService SensorUpdatePolicies sensor_update_policies.ClientService SensorVisibilityExclusions sensor_visibility_exclusions.ClientService SpotlightVulnerabilities spotlight_vulnerabilities.ClientService UserManagement user_management.ClientService ZeroTrustAssessment zero_trust_assessment.ClientService Transport runtime.ClientTransport }
CrowdStrikeAPISpecification is a client for crowd strike API specification
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *CrowdStrikeAPISpecification
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 ¶
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.