All URIs are relative to https://api.us-2.crowdstrike.com
Method | HTTP request | Description |
---|---|---|
report_executions_download_get | GET /reports/entities/report-executions-download/v1 | Get report entity download. Returns either a JSON object or a CSV string. |
report_executions_get | GET /reports/entities/report-executions/v1 | Retrieve report details for the provided report IDs. |
report_executions_query | GET /reports/queries/report-executions/v1 | Find all report execution IDs matching the query with filter |
report_executions_retry | POST /reports/entities/report-executions-retry/v1 | This endpoint will be used to retry report executions |
Object report_executions_download_get(ids)
Get report entity download. Returns either a JSON object or a CSV string.
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::ReportExecutions.new
ids = 'ids_example' # String | The report_execution id to download
begin
# Get report entity download. Returns either a JSON object or a CSV string.
result = api_instance.report_executions_download_get(ids)
p result
rescue Falcon::ApiError => e
puts "Error when calling ReportExecutions->report_executions_download_get: #{e}"
end
This returns an Array which contains the response data, status code and headers.
<Array(Object, Integer, Hash)> report_executions_download_get_with_http_info(ids)
begin
# Get report entity download. Returns either a JSON object or a CSV string.
data, status_code, headers = api_instance.report_executions_download_get_with_http_info(ids)
p status_code # => 2xx
p headers # => { ... }
p data # => Object
rescue Falcon::ApiError => e
puts "Error when calling ReportExecutions->report_executions_download_get_with_http_info: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
ids | String | The report_execution id to download |
Object
oauth2
- Content-Type: Not defined
- Accept: /, application/json, text/csv
report_executions_get(ids)
Retrieve report details for the provided report IDs.
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::ReportExecutions.new
ids = ['inner_example'] # Array<String> | The report_execution id to get details about.
begin
# Retrieve report details for the provided report IDs.
result = api_instance.report_executions_get(ids)
p result
rescue Falcon::ApiError => e
puts "Error when calling ReportExecutions->report_executions_get: #{e}"
end
This returns an Array which contains the response data, status code and headers.
<Array(, Integer, Hash)> report_executions_get_with_http_info(ids)
begin
# Retrieve report details for the provided report IDs.
data, status_code, headers = api_instance.report_executions_get_with_http_info(ids)
p status_code # => 2xx
p headers # => { ... }
p data # => <DomainReportExecutionsResponseV1>
rescue Falcon::ApiError => e
puts "Error when calling ReportExecutions->report_executions_get_with_http_info: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
ids | Array<String> | The report_execution id to get details about. |
DomainReportExecutionsResponseV1
oauth2
- Content-Type: Not defined
- Accept: application/json
report_executions_query(opts)
Find all report execution IDs matching the query with filter
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::ReportExecutions.new
opts = {
sort: 'sort_example', # String | Possible order by fields: created_on, last_updated_on
filter: 'filter_example', # String | FQL query specifying the filter parameters. Filter term criteria: type, scheduled_report_id, status. Filter range criteria: created_on, last_updated_on, expiration_on; use any common date format, such as '2010-05-15T14:55:21.892315096Z'.
q: 'q_example', # String | Match query criteria, which includes all the filter string fields
offset: 'offset_example', # String | Starting index of overall result set from which to return ids.
limit: 56 # Integer | Number of ids to return.
}
begin
# Find all report execution IDs matching the query with filter
result = api_instance.report_executions_query(opts)
p result
rescue Falcon::ApiError => e
puts "Error when calling ReportExecutions->report_executions_query: #{e}"
end
This returns an Array which contains the response data, status code and headers.
<Array(, Integer, Hash)> report_executions_query_with_http_info(opts)
begin
# Find all report execution IDs matching the query with filter
data, status_code, headers = api_instance.report_executions_query_with_http_info(opts)
p status_code # => 2xx
p headers # => { ... }
p data # => <MsaQueryResponse>
rescue Falcon::ApiError => e
puts "Error when calling ReportExecutions->report_executions_query_with_http_info: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
sort | String | Possible order by fields: created_on, last_updated_on | [optional] |
filter | String | FQL query specifying the filter parameters. Filter term criteria: type, scheduled_report_id, status. Filter range criteria: created_on, last_updated_on, expiration_on; use any common date format, such as '2010-05-15T14:55:21.892315096Z'. | [optional] |
q | String | Match query criteria, which includes all the filter string fields | [optional] |
offset | String | Starting index of overall result set from which to return ids. | [optional] |
limit | Integer | Number of ids to return. | [optional] |
oauth2
- Content-Type: Not defined
- Accept: application/json
report_executions_retry(body)
This endpoint will be used to retry report executions
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::ReportExecutions.new
body = [Falcon::DomainReportExecutionRetryRequestV1.new({id: 'id_example'})] # Array<DomainReportExecutionRetryRequestV1> |
begin
# This endpoint will be used to retry report executions
result = api_instance.report_executions_retry(body)
p result
rescue Falcon::ApiError => e
puts "Error when calling ReportExecutions->report_executions_retry: #{e}"
end
This returns an Array which contains the response data, status code and headers.
<Array(, Integer, Hash)> report_executions_retry_with_http_info(body)
begin
# This endpoint will be used to retry report executions
data, status_code, headers = api_instance.report_executions_retry_with_http_info(body)
p status_code # => 2xx
p headers # => { ... }
p data # => <DomainReportExecutionsResponseV1>
rescue Falcon::ApiError => e
puts "Error when calling ReportExecutions->report_executions_retry_with_http_info: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
body | Array<DomainReportExecutionRetryRequestV1> |
DomainReportExecutionsResponseV1
oauth2
- Content-Type: application/json
- Accept: application/json