All URIs are relative to https://api.us-2.crowdstrike.com
Method | HTTP request | Description |
---|---|---|
fdrschema_combined_event_get | GET /fdr/combined/schema-members/v1 | Fetch combined schema |
fdrschema_entities_event_get | GET /fdr/entities/schema-events/v1 | Fetch event schema by ID |
fdrschema_queries_event_get | GET /fdr/queries/schema-events/v1 | Get list of event IDs given a particular query. |
fdrschema_combined_event_get
Fetch combined schema
require 'time'
require 'crimson-falcon'
# Setup authorization
Falcon.configure do |config|
config.client_id = "Your_Client_ID"
config.client_secret = "Your_Client_Secret"
config.cloud = "us-1" # or "us-2", "eu-1", "us-gov1"
end
api_instance = Falcon::EventSchema.new
begin
# Fetch combined schema
result = api_instance.fdrschema_combined_event_get
p result
rescue Falcon::ApiError => e
puts "Error when calling EventSchema->fdrschema_combined_event_get: #{e}"
end
This returns an Array which contains the response data, status code and headers.
<Array(, Integer, Hash)> fdrschema_combined_event_get_with_http_info
begin
# Fetch combined schema
data, status_code, headers = api_instance.fdrschema_combined_event_get_with_http_info
p status_code # => 2xx
p headers # => { ... }
p data # => <SchemaSensorEventResponseV1>
rescue Falcon::ApiError => e
puts "Error when calling EventSchema->fdrschema_combined_event_get_with_http_info: #{e}"
end
This endpoint does not need any parameter.
oauth2
- Content-Type: Not defined
- Accept: application/json
fdrschema_entities_event_get(opts)
Fetch event schema by ID
require 'time'
require 'crimson-falcon'
# Setup authorization
Falcon.configure do |config|
config.client_id = "Your_Client_ID"
config.client_secret = "Your_Client_Secret"
config.cloud = "us-1" # or "us-2", "eu-1", "us-gov1"
end
api_instance = Falcon::EventSchema.new
opts = {
ids: ['inner_example'] # Array<String> | Specify feed IDs to fetch
}
begin
# Fetch event schema by ID
result = api_instance.fdrschema_entities_event_get(opts)
p result
rescue Falcon::ApiError => e
puts "Error when calling EventSchema->fdrschema_entities_event_get: #{e}"
end
This returns an Array which contains the response data, status code and headers.
<Array(, Integer, Hash)> fdrschema_entities_event_get_with_http_info(opts)
begin
# Fetch event schema by ID
data, status_code, headers = api_instance.fdrschema_entities_event_get_with_http_info(opts)
p status_code # => 2xx
p headers # => { ... }
p data # => <SchemaSensorEventResponseV1>
rescue Falcon::ApiError => e
puts "Error when calling EventSchema->fdrschema_entities_event_get_with_http_info: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
ids | Array<String> | Specify feed IDs to fetch | [optional] |
oauth2
- Content-Type: Not defined
- Accept: application/json
fdrschema_queries_event_get(opts)
Get list of event IDs given a particular query.
require 'time'
require 'crimson-falcon'
# Setup authorization
Falcon.configure do |config|
config.client_id = "Your_Client_ID"
config.client_secret = "Your_Client_Secret"
config.cloud = "us-1" # or "us-2", "eu-1", "us-gov1"
end
api_instance = Falcon::EventSchema.new
opts = {
limit: 56, # Integer | Limit of the data
offset: 56, # Integer | Offset into the data
filter: 'filter_example', # String | FQL filter of the data
sort: 'sort_example' # String | Sort the data
}
begin
# Get list of event IDs given a particular query.
result = api_instance.fdrschema_queries_event_get(opts)
p result
rescue Falcon::ApiError => e
puts "Error when calling EventSchema->fdrschema_queries_event_get: #{e}"
end
This returns an Array which contains the response data, status code and headers.
<Array(, Integer, Hash)> fdrschema_queries_event_get_with_http_info(opts)
begin
# Get list of event IDs given a particular query.
data, status_code, headers = api_instance.fdrschema_queries_event_get_with_http_info(opts)
p status_code # => 2xx
p headers # => { ... }
p data # => <MsaspecQueryResponse>
rescue Falcon::ApiError => e
puts "Error when calling EventSchema->fdrschema_queries_event_get_with_http_info: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
limit | Integer | Limit of the data | [optional] |
offset | Integer | Offset into the data | [optional] |
filter | String | FQL filter of the data | [optional] |
sort | String | Sort the data | [optional] |
oauth2
- Content-Type: Not defined
- Accept: application/json