Case Management
The Case Management service collection provides operations for managing security cases and workflows. Create, update, assign, and query cases, as well as manage case activities, attachments, and status transitions.
| Language | Last Update |
|---|---|
| Python | v1.6.5 |
| PowerShell | v2.2.9 |
| Go | v0.22.0 |
| TypeScript | v0.6.0 |
| Rust | v0.7.1 |
| Ruby | v1.4.0 |
Table of Contents
Section titled “Table of Contents”| Operation | Description |
|---|---|
aggregates.access-tags.post.v1get_access_tag_aggregations | Get access tag aggregates |
aggregates.file-details.post.v1aggregates_file_details_post_v1 | Get file details aggregates as specified via json in the request body. |
aggregates.notification-groups.post.v1get_notification_groups_aggregation | Get notification groups aggregations deprecated |
aggregates.notification-groups.post.v2get_notification_groups_aggregation_v2 | Get notification groups aggregations |
aggregates.slas.post.v1get_sla_aggregations | Get SLA aggregations |
aggregates.templates.post.v1get_template_aggregations | Get templates aggregations |
combined.file-details.get.v1query_file_details | Query file details |
entities.access-tags.get.v1get_access_tags | Get access tags |
entities.alert-evidence.post.v1add_case_alert_evidence | Adds the given list of alert evidence to the specified case. |
entities.case-tags.delete.v1delete_case_tags | Removes the specified tags from the specified case. |
entities.case-tags.post.v1add_case_tags | Adds the given list of tags to the specified case. |
entities.cases.patch.v2update_case_fields | Updates given fields on the specified case. |
entities.cases.post.v2get_cases | Retrieves all Cases given their IDs. |
entities.cases.put.v2create_case | Creates the given Case |
entities.event-evidence.post.v1add_case_event_evidence | Adds the given list of event evidence to the specified case. |
entities.fields.get.v1get_fields | Get fields by ID |
entities.file-details.get.v1get_file_details | Get file details by id |
entities.file-details.patch.v1update_file_details | Update file details |
entities.files.delete.v1delete_file_details | Delete file details by id |
entities.files_bulk-download.post.v1bulk_download_files | Download multiple existing file from case as a ZIP |
entities.files_download.get.v1download_existing_files | Download existing file from case |
| entities.files_download.post.v1 | Download existing files from case deprecated |
entities.files_upload.post.v1upload_file | Upload file for case |
entities.get-rtr-file-metadata.post.v1get_rtr_file_metadata | gets metadata for a file via RTR without retrieving it |
entities.merge.post.v1entities_merge_post_v1 | Merges a source case into a destination case. |
entities.notification-groups.delete.v1delete_notification_group | Delete notification groups by ID deprecated |
entities.notification-groups.delete.v2delete_notification_group_v2 | Delete notification groups by ID |
entities.notification-groups.get.v1get_notification_groups | Get notification groups by ID deprecated |
entities.notification-groups.get.v2get_notification_groups_v2 | Get notification groups by ID |
entities.notification-groups.patch.v1update_notification_group | Update notification group deprecated |
entities.notification-groups.patch.v2update_notification_group_v2 | Update notification group |
entities.notification-groups.post.v1create_notification_group | Create notification group deprecated |
entities.notification-groups.post.v2create_notification_group_v2 | Create notification group |
entities.retrieve-rtr-file.post.v1retrieve_rtr_file | retrieves a file from host using RTR and adds it to a case |
entities.retrieve-rtr-recent-file.post.v1retrieve_rtr_recent_file | RetrieveRecentRTRFile retrieves a recently fetched RTR file and adds it to a case |
entities.slas.delete.v1delete_sla | Delete SLAs |
entities.slas.get.v1get_slas | Get SLAs by ID |
entities.slas.patch.v1update_sla | Update SLA |
entities.slas.post.v1create_sla | Create SLA |
entities.template-snapshots.get.v1get_template_snapshots | Get template snapshots |
entities.templates.delete.v1delete_templates | Delete templates |
entities.templates.get.v1get_templates | Get templates by ID |
entities.templates.patch.v1update_template | Update template |
entities.templates.post.v1create_template | Create template |
entities.templates_export.get.v1export_templates | Export templates to files in a zip archive |
entities.templates_import.post.v1import_template | Import a template from a file |
queries.access-tags.get.v1query_access_tags | Query access tags |
queries.cases.get.v1query_case_ids | Retrieves all Cases IDs that match a given query. |
queries.fields.get.v1query_fields | Query fields |
queries.file-details.get.v1query_file_detail_ids | Query for ids of file details |
queries.notification-groups.get.v1query_notification_groups | Query notification groups deprecated |
queries.notification-groups.get.v2query_notification_groups_v2 | Query notification groups |
queries.slas.get.v1query_slas | Query SLAs |
queries.template-snapshots.get.v1query_template_snapshots | Query template snapshots |
queries.templates.get.v1query_templates | Query templates |
aggregates.access-tags.post.v1
Section titled “aggregates.access-tags.post.v1”Get access tag aggregates
get_access_tag_aggregationsParameters
Section titled “Parameters”Available values (2)
terms | date_range |
from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
date_ranges = [ { "from": "string", "to": "string" }]
response = falcon.get_access_tag_aggregations(date_ranges=date_ranges, field="string", filter="string", from=integer, name="string", size=integer, sort="string", type="string")print(response)from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
date_ranges = [ { "from": "string", "to": "string" }]
response = falcon.aggregates_access_tags_post_v1(date_ranges=date_ranges, field="string", filter="string", from=integer, name="string", size=integer, sort="string", type="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
body_payload = [ { "date_ranges": [ { "from": "string", "to": "string" } ], "field": "string", "filter": "string", "from": integer, "name": "string", "size": integer, "sort": "string", "type": "string" }]
response = falcon.command("aggregates_access_tags_post_v1", body=body_payload)print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/case_management" "github.com/crowdstrike/gofalcon/falcon/models")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
from := "string" to := "string" field := "string" filter := "string" from := integer name := "string" size := integer sort := "string" typeVar := "string"
response, err := client.CaseManagement.AggregatesAccessTagsPostV1( &case_management.AggregatesAccessTagsPostV1Params{ Body: []*models.APIMSAAggregateQueryRequest{ { DateRanges: []interface{}{ { From: &from, To: &to, }, }, Field: &field, Filter: &filter, From: &from, Name: &name, Size: &size, Sort: &sort, Type: &typeVar, }, }, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: process.env.FALCON_CLOUD!, clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.caseManagement.aggregatesAccessTagsPostV1( [{ dateRanges: [{ from: "string", to: "string" }], field: "string", filter: "string", from: integer, name: "string", size: integer, sort: "string", type: "string"}] // body);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::CaseManagement.new
body = [Falcon::ApiMSAAggregateQueryRequest.new( date_ranges: [{ from: 'string', to: 'string' }], field: 'string', filter: 'string', from: integer, name: 'string', size: integer, sort: 'string', type: 'string')]
response = api.aggregates_access_tags_post_v1(body)
puts response[ { "buckets": [], "doc_count_error_upper_bound": 0, "hits": {}, "name": "string", "sum_other_doc_count": 0 }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}aggregates.file-details.post.v1
Section titled “aggregates.file-details.post.v1”Get file details aggregates as specified via json in the request body.
aggregates_file_details_post_v1Parameters
Section titled “Parameters”from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.aggregates_file_details_post_v1(ids=id_list, filter="string")print(response)from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.aggregates_file_details_post_v1(ids=id_list, filter="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.command("aggregates_file_details_post_v1", ids=id_list, filter="string", body={})print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/case_files" "github.com/crowdstrike/gofalcon/falcon/models")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
filter := "string"
response, err := client.CaseFiles.AggregatesFileDetailsPostV1( &case_files.AggregatesFileDetailsPostV1Params{ Body: []models.MsaAggregateQueryRequest{}, Ids: []string{"ID1", "ID2", "ID3"}, Filter: &filter, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: process.env.FALCON_CLOUD!, clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.caseFiles.aggregatesFileDetailsPostV1( ["ID1", "ID2", "ID3"], // ids [{}], // body "string" // filter);
console.log(response);use rusty_falcon::apis::case_files_api::aggregates_file_details_post_v1;use rusty_falcon::easy::client::FalconHandle;
#[tokio::main]async fn main() { let falcon = FalconHandle::from_env().await.expect("Could not authenticate");
let response = aggregates_file_details_post_v1( &falcon.cfg, // configuration vec!["string".to_string()], // ids vec![serde_json::json!({})], // body Some("string"), // filter ).await.expect("API call failed");
println!("{:?}", response);}require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::CaseFiles.new
body = [{}]
response = api.aggregates_file_details_post_v1(body, ['ID1', 'ID2', 'ID3'])
puts response[ { "buckets": [], "doc_count_error_upper_bound": 0, "hits": {}, "name": "string", "sum_other_doc_count": 0 }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}aggregates.notification-groups.post.v1
Section titled “aggregates.notification-groups.post.v1”Get notification groups aggregations
get_notification_groups_aggregationParameters
Section titled “Parameters”Available values (2)
terms | date_range |
from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
date_ranges = [ { "from": "string", "to": "string" }]
response = falcon.get_notification_groups_aggregation(date_ranges=date_ranges, field="string", filter="string", from=integer, name="string", size=integer, sort="string", type="string")print(response)from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
date_ranges = [ { "from": "string", "to": "string" }]
response = falcon.aggregates_notification_groups_post_v1(date_ranges=date_ranges, field="string", filter="string", from=integer, name="string", size=integer, sort="string", type="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
body_payload = [ { "date_ranges": [ { "from": "string", "to": "string" } ], "field": "string", "filter": "string", "from": integer, "name": "string", "size": integer, "sort": "string", "type": "string" }]
response = falcon.command("aggregates_notification_groups_post_v1", body=body_payload)print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/case_management" "github.com/crowdstrike/gofalcon/falcon/models")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
from := "string" to := "string" field := "string" filter := "string" from := integer name := "string" size := integer sort := "string" typeVar := "string"
response, err := client.CaseManagement.AggregatesNotificationGroupsPostV1( &case_management.AggregatesNotificationGroupsPostV1Params{ Body: []*models.APIMSAAggregateQueryRequest{ { DateRanges: []interface{}{ { From: &from, To: &to, }, }, Field: &field, Filter: &filter, From: &from, Name: &name, Size: &size, Sort: &sort, Type: &typeVar, }, }, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: process.env.FALCON_CLOUD!, clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.caseManagement.aggregatesNotificationGroupsPostV1( [{ dateRanges: [{ from: "string", to: "string" }], field: "string", filter: "string", from: integer, name: "string", size: integer, sort: "string", type: "string"}] // body);
console.log(response);use rusty_falcon::apis::case_management_api::aggregates_notification_groups_post_v1;use rusty_falcon::easy::client::FalconHandle;use rusty_falcon::models::ApiMsaAggregateQueryRequest;
#[tokio::main]async fn main() { let falcon = FalconHandle::from_env().await.expect("Could not authenticate");
let body = vec![ApiMsaAggregateQueryRequest { date_ranges: vec![DateRangeSpec { from: Some("string".to_string()), to: Some("string".to_string()), ..Default::default() }], field: Some("string".to_string()), filter: Some("string".to_string()), from: Some(integer), name: Some("string".to_string()), size: Some(integer), sort: Some("string".to_string()), type: Some("string".to_string()), ..Default::default() }];
let response = aggregates_notification_groups_post_v1( &falcon.cfg, // configuration body, // body ).await.expect("API call failed");
println!("{:?}", response);}require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::CaseManagement.new
body = [Falcon::ApiMSAAggregateQueryRequest.new( date_ranges: [{ from: 'string', to: 'string' }], field: 'string', filter: 'string', from: integer, name: 'string', size: integer, sort: 'string', type: 'string')]
response = api.aggregates_notification_groups_post_v1(body)
puts response[ { "buckets": [], "doc_count_error_upper_bound": 0, "hits": {}, "name": "string", "sum_other_doc_count": 0 }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}aggregates.notification-groups.post.v2
Section titled “aggregates.notification-groups.post.v2”Get notification groups aggregations
get_notification_groups_aggregation_v2Parameters
Section titled “Parameters”Available values (2)
terms | date_range |
from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
date_ranges = [ { "from": "string", "to": "string" }]
response = falcon.get_notification_groups_aggregation_v2(date_ranges=date_ranges, field="string", filter="string", from=integer, name="string", size=integer, sort="string", type="string")print(response)from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
date_ranges = [ { "from": "string", "to": "string" }]
response = falcon.aggregates_notification_groups_post_v2(date_ranges=date_ranges, field="string", filter="string", from=integer, name="string", size=integer, sort="string", type="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
body_payload = [ { "date_ranges": [ { "from": "string", "to": "string" } ], "field": "string", "filter": "string", "from": integer, "name": "string", "size": integer, "sort": "string", "type": "string" }]
response = falcon.command("aggregates_notification_groups_post_v2", body=body_payload)print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/case_management" "github.com/crowdstrike/gofalcon/falcon/models")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
from := "string" to := "string" field := "string" filter := "string" from := integer name := "string" size := integer sort := "string" typeVar := "string"
response, err := client.CaseManagement.AggregatesNotificationGroupsPostV2( &case_management.AggregatesNotificationGroupsPostV2Params{ Body: []*models.APIMSAAggregateQueryRequest{ { DateRanges: []interface{}{ { From: &from, To: &to, }, }, Field: &field, Filter: &filter, From: &from, Name: &name, Size: &size, Sort: &sort, Type: &typeVar, }, }, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: process.env.FALCON_CLOUD!, clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.caseManagement.aggregatesNotificationGroupsPostV2( [{ dateRanges: [{ from: "string", to: "string" }], field: "string", filter: "string", from: integer, name: "string", size: integer, sort: "string", type: "string"}] // body);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::CaseManagement.new
body = [Falcon::ApiMSAAggregateQueryRequest.new( date_ranges: [{ from: 'string', to: 'string' }], field: 'string', filter: 'string', from: integer, name: 'string', size: integer, sort: 'string', type: 'string')]
response = api.aggregates_notification_groups_post_v2(body)
puts response[ { "buckets": [], "doc_count_error_upper_bound": 0, "hits": {}, "name": "string", "sum_other_doc_count": 0 }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}aggregates.slas.post.v1
Section titled “aggregates.slas.post.v1”Get SLA aggregations
get_sla_aggregationsParameters
Section titled “Parameters”Available values (2)
terms | date_range |
from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
date_ranges = [ { "from": "string", "to": "string" }]
response = falcon.get_sla_aggregations(date_ranges=date_ranges, field="string", filter="string", from=integer, name="string", size=integer, sort="string", type="string")print(response)from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
date_ranges = [ { "from": "string", "to": "string" }]
response = falcon.aggregates_slas_post_v1(date_ranges=date_ranges, field="string", filter="string", from=integer, name="string", size=integer, sort="string", type="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
body_payload = [ { "date_ranges": [ { "from": "string", "to": "string" } ], "field": "string", "filter": "string", "from": integer, "name": "string", "size": integer, "sort": "string", "type": "string" }]
response = falcon.command("aggregates_slas_post_v1", body=body_payload)print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/case_management" "github.com/crowdstrike/gofalcon/falcon/models")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
from := "string" to := "string" field := "string" filter := "string" from := integer name := "string" size := integer sort := "string" typeVar := "string"
response, err := client.CaseManagement.AggregatesSlasPostV1( &case_management.AggregatesSlasPostV1Params{ Body: []*models.APIMSAAggregateQueryRequest{ { DateRanges: []interface{}{ { From: &from, To: &to, }, }, Field: &field, Filter: &filter, From: &from, Name: &name, Size: &size, Sort: &sort, Type: &typeVar, }, }, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: process.env.FALCON_CLOUD!, clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.caseManagement.aggregatesSlasPostV1( [{ dateRanges: [{ from: "string", to: "string" }], field: "string", filter: "string", from: integer, name: "string", size: integer, sort: "string", type: "string"}] // body);
console.log(response);use rusty_falcon::apis::case_management_api::aggregates_slas_post_v1;use rusty_falcon::easy::client::FalconHandle;use rusty_falcon::models::ApiMsaAggregateQueryRequest;
#[tokio::main]async fn main() { let falcon = FalconHandle::from_env().await.expect("Could not authenticate");
let body = vec![ApiMsaAggregateQueryRequest { date_ranges: vec![DateRangeSpec { from: Some("string".to_string()), to: Some("string".to_string()), ..Default::default() }], field: Some("string".to_string()), filter: Some("string".to_string()), from: Some(integer), name: Some("string".to_string()), size: Some(integer), sort: Some("string".to_string()), type: Some("string".to_string()), ..Default::default() }];
let response = aggregates_slas_post_v1( &falcon.cfg, // configuration body, // body ).await.expect("API call failed");
println!("{:?}", response);}require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::CaseManagement.new
body = [Falcon::ApiMSAAggregateQueryRequest.new( date_ranges: [{ from: 'string', to: 'string' }], field: 'string', filter: 'string', from: integer, name: 'string', size: integer, sort: 'string', type: 'string')]
response = api.aggregates_slas_post_v1(body)
puts response[ { "buckets": [], "doc_count_error_upper_bound": 0, "hits": {}, "name": "string", "sum_other_doc_count": 0 }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}aggregates.templates.post.v1
Section titled “aggregates.templates.post.v1”Get templates aggregations
get_template_aggregationsParameters
Section titled “Parameters”Available values (2)
terms | date_range |
from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
date_ranges = [ { "from": "string", "to": "string" }]
response = falcon.get_template_aggregations(date_ranges=date_ranges, field="string", filter="string", from=integer, name="string", size=integer, sort="string", type="string")print(response)from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
date_ranges = [ { "from": "string", "to": "string" }]
response = falcon.aggregates_templates_post_v1(date_ranges=date_ranges, field="string", filter="string", from=integer, name="string", size=integer, sort="string", type="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
body_payload = [ { "date_ranges": [ { "from": "string", "to": "string" } ], "field": "string", "filter": "string", "from": integer, "name": "string", "size": integer, "sort": "string", "type": "string" }]
response = falcon.command("aggregates_templates_post_v1", body=body_payload)print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/case_management" "github.com/crowdstrike/gofalcon/falcon/models")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
from := "string" to := "string" field := "string" filter := "string" from := integer name := "string" size := integer sort := "string" typeVar := "string"
response, err := client.CaseManagement.AggregatesTemplatesPostV1( &case_management.AggregatesTemplatesPostV1Params{ Body: []*models.APIMSAAggregateQueryRequest{ { DateRanges: []interface{}{ { From: &from, To: &to, }, }, Field: &field, Filter: &filter, From: &from, Name: &name, Size: &size, Sort: &sort, Type: &typeVar, }, }, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: process.env.FALCON_CLOUD!, clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.caseManagement.aggregatesTemplatesPostV1( [{ dateRanges: [{ from: "string", to: "string" }], field: "string", filter: "string", from: integer, name: "string", size: integer, sort: "string", type: "string"}] // body);
console.log(response);use rusty_falcon::apis::case_management_api::aggregates_templates_post_v1;use rusty_falcon::easy::client::FalconHandle;use rusty_falcon::models::ApiMsaAggregateQueryRequest;
#[tokio::main]async fn main() { let falcon = FalconHandle::from_env().await.expect("Could not authenticate");
let body = vec![ApiMsaAggregateQueryRequest { date_ranges: vec![DateRangeSpec { from: Some("string".to_string()), to: Some("string".to_string()), ..Default::default() }], field: Some("string".to_string()), filter: Some("string".to_string()), from: Some(integer), name: Some("string".to_string()), size: Some(integer), sort: Some("string".to_string()), type: Some("string".to_string()), ..Default::default() }];
let response = aggregates_templates_post_v1( &falcon.cfg, // configuration body, // body ).await.expect("API call failed");
println!("{:?}", response);}require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::CaseManagement.new
body = [Falcon::ApiMSAAggregateQueryRequest.new( date_ranges: [{ from: 'string', to: 'string' }], field: 'string', filter: 'string', from: integer, name: 'string', size: integer, sort: 'string', type: 'string')]
response = api.aggregates_templates_post_v1(body)
puts response[ { "buckets": [], "doc_count_error_upper_bound": 0, "hits": {}, "name": "string", "sum_other_doc_count": 0 }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}combined.file-details.get.v1
Section titled “combined.file-details.get.v1”Query file details
query_file_detailsParameters
Section titled “Parameters”from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.query_file_details(filter="string", limit=integer, offset=integer)print(response)from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.combined_file_details_get_v1(filter="string", limit=integer, offset=integer)print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.command("combined_file_details_get_v1", filter="string", limit=integer, offset=integer)print(response)Get-FalconNgsCaseFile -Filter "string" ` -Limit integer ` -Offset integerpackage main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/case_files")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
filter := "string" limit := int64(0) offset := int64(0)
response, err := client.CaseFiles.CombinedFileDetailsGetV1( &case_files.CombinedFileDetailsGetV1Params{ Filter: &filter, Limit: &limit, Offset: &offset, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: process.env.FALCON_CLOUD!, clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.caseFiles.combinedFileDetailsGetV1( "string", // filter integer, // limit integer // offset);
console.log(response);use rusty_falcon::apis::case_files_api::combined_file_details_get_v1;use rusty_falcon::easy::client::FalconHandle;
#[tokio::main]async fn main() { let falcon = FalconHandle::from_env().await.expect("Could not authenticate");
let response = combined_file_details_get_v1( &falcon.cfg, // configuration Some("string"), // filter Some(integer), // limit Some(integer), // offset ).await.expect("API call failed");
println!("{:?}", response);}require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::CaseFiles.new
response = api.combined_file_details_get_v1(filter: 'string', limit: integer, offset: integer)
puts response[ { "case_id": "string", "cid": "string", "description": "string", "file_size": "string", "file_size_bytes": 0, "file_type": "string", "hash_value": "string", "id": "string", "name": "string", "source": "string", "uploaded_by": "string", "uploaded_on": "string" }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}entities.access-tags.get.v1
Section titled “entities.access-tags.get.v1”Get access tags
get_access_tagsParameters
Section titled “Parameters”from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.get_access_tags(ids=id_list, with_has_access=boolean)print(response)from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.entities_access_tags_get_v1(ids=id_list, with_has_access=boolean)print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.command("entities_access_tags_get_v1", ids=id_list, with_has_access=boolean)print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/case_management")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
withHasAccess := boolean
response, err := client.CaseManagement.EntitiesAccessTagsGetV1( &case_management.EntitiesAccessTagsGetV1Params{ Ids: []string{"ID1", "ID2", "ID3"}, WithHasAccess: &withHasAccess, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: process.env.FALCON_CLOUD!, clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.caseManagement.entitiesAccessTagsGetV1( "string", // ids boolean // withHasAccess);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::CaseManagement.new
response = api.entities_access_tags_get_v1(['ID1', 'ID2', 'ID3'])
puts response[ { "cid": "string", "has_access": false, "id": "string", "key": "string", "templates": [] }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}entities.alert-evidence.post.v1
Section titled “entities.alert-evidence.post.v1”Adds the given list of alert evidence to the specified case.
add_case_alert_evidenceParameters
Section titled “Parameters”from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.add_case_alert_evidence(alerts=["string"], id="string")print(response)from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.entities_alert_evidence_post_v1(alerts=["string"], id="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
body_payload = { "alerts": [ { "id": "string" } ], "id": "string"}
response = falcon.command("entities_alert_evidence_post_v1", body=body_payload)print(response)Add-FalconNgsCaseEvidence -AlertId @("ID1", "ID2") -Id "string"package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/cases" "github.com/crowdstrike/gofalcon/falcon/models")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
id := "string"
response, err := client.Cases.EntitiesAlertEvidencePostV1( &cases.EntitiesAlertEvidencePostV1Params{ Body: &models.OperationsAddAlertsToCaseRequest{ Alerts: []interface{}{ { ID: &id, }, }, ID: &id, }, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: process.env.FALCON_CLOUD!, clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.cases.entitiesAlertEvidencePostV1( { alerts: [{ id: "string" }], id: "string"} // body);
console.log(response);use rusty_falcon::apis::cases_api::entities_alert_evidence_post_v1;use rusty_falcon::easy::client::FalconHandle;use rusty_falcon::models::OperationsAddAlertsToCaseRequest;
#[tokio::main]async fn main() { let falcon = FalconHandle::from_env().await.expect("Could not authenticate");
let body = OperationsAddAlertsToCaseRequest { alerts: vec![AlertEvidenceSelector { id: Some("string".to_string()), ..Default::default() }], id: Some("string".to_string()), ..Default::default() };
let response = entities_alert_evidence_post_v1( &falcon.cfg, // configuration body, // body ).await.expect("API call failed");
println!("{:?}", response);}require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::Cases.new
body = Falcon::OperationsAddAlertsToCaseRequest.new( alerts: [{ id: 'string' }], id: 'string')
response = api.entities_alert_evidence_post_v1(body)
puts response[ { "access_tags": [], "analysis_results": {}, "assigned_to": {}, "cid": "string", "consistency": {}, "created_by": {}, "created_timestamp": "string", "creation_actor": {}, "description": "string", "description_format": "string", "description_tagged_users": [], "end_timestamp": "string", "evidence": {}, "fields": [], "id": "string", "last_updated_by": {}, "name": "string", "read_only": {}, "reference_id": "string", "severity": 0, "severity_info": {}, "sla": {}, "start_timestamp": "string", "status": "string", "tags": [], "template": {}, "update_actor": {}, "updated_timestamp": "string", "version": 0, "workflows": [] }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }, "resources": [ { "access_tags": [], "analysis_results": {}, "assigned_to": {}, "cid": "string", "consistency": {}, "created_by": {}, "created_timestamp": "string", "creation_actor": {}, "description": "string", "description_format": "string", "description_tagged_users": [], "end_timestamp": "string", "evidence": {}, "fields": [], "id": "string", "last_updated_by": {}, "name": "string", "read_only": {}, "reference_id": "string", "severity": 0, "severity_info": {}, "sla": {}, "start_timestamp": "string", "status": "string", "tags": [], "template": {}, "update_actor": {}, "updated_timestamp": "string", "version": 0, "workflows": [] } ]}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }, "resources": [ { "access_tags": [], "analysis_results": {}, "assigned_to": {}, "cid": "string", "consistency": {}, "created_by": {}, "created_timestamp": "string", "creation_actor": {}, "description": "string", "description_format": "string", "description_tagged_users": [], "end_timestamp": "string", "evidence": {}, "fields": [], "id": "string", "last_updated_by": {}, "name": "string", "read_only": {}, "reference_id": "string", "severity": 0, "severity_info": {}, "sla": {}, "start_timestamp": "string", "status": "string", "tags": [], "template": {}, "update_actor": {}, "updated_timestamp": "string", "version": 0, "workflows": [] } ]}entities.case-tags.delete.v1
Section titled “entities.case-tags.delete.v1”Removes the specified tags from the specified case.
delete_case_tagsParameters
Section titled “Parameters”from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.delete_case_tags(id="string", tag=id_list)print(response)from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.entities_case_tags_delete_v1(id="string", tag=id_list)print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.command("entities_case_tags_delete_v1", id="string", tag=id_list)print(response)Remove-FalconNgsCaseTag -Tag @("ID1", "ID2") -Id "string"package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/cases")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
response, err := client.Cases.EntitiesCaseTagsDeleteV1( &cases.EntitiesCaseTagsDeleteV1Params{ ID: "string", Tag: []string{"ID1", "ID2", "ID3"}, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: process.env.FALCON_CLOUD!, clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.cases.entitiesCaseTagsDeleteV1( "string", // id ["ID1", "ID2", "ID3"] // tag);
console.log(response);use rusty_falcon::apis::cases_api::entities_case_tags_delete_v1;use rusty_falcon::easy::client::FalconHandle;
#[tokio::main]async fn main() { let falcon = FalconHandle::from_env().await.expect("Could not authenticate");
let response = entities_case_tags_delete_v1( &falcon.cfg, // configuration "string", // id vec!["string".to_string()], // tag ).await.expect("API call failed");
println!("{:?}", response);}require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::Cases.new
response = api.entities_case_tags_delete_v1('string', ['ID1', 'ID2', 'ID3'])
puts response[ { "access_tags": [], "analysis_results": {}, "assigned_to": {}, "cid": "string", "consistency": {}, "created_by": {}, "created_timestamp": "string", "creation_actor": {}, "description": "string", "description_format": "string", "description_tagged_users": [], "end_timestamp": "string", "evidence": {}, "fields": [], "id": "string", "last_updated_by": {}, "name": "string", "read_only": {}, "reference_id": "string", "severity": 0, "severity_info": {}, "sla": {}, "start_timestamp": "string", "status": "string", "tags": [], "template": {}, "update_actor": {}, "updated_timestamp": "string", "version": 0, "workflows": [] }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }, "resources": [ { "access_tags": [], "analysis_results": {}, "assigned_to": {}, "cid": "string", "consistency": {}, "created_by": {}, "created_timestamp": "string", "creation_actor": {}, "description": "string", "description_format": "string", "description_tagged_users": [], "end_timestamp": "string", "evidence": {}, "fields": [], "id": "string", "last_updated_by": {}, "name": "string", "read_only": {}, "reference_id": "string", "severity": 0, "severity_info": {}, "sla": {}, "start_timestamp": "string", "status": "string", "tags": [], "template": {}, "update_actor": {}, "updated_timestamp": "string", "version": 0, "workflows": [] } ]}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }, "resources": [ { "access_tags": [], "analysis_results": {}, "assigned_to": {}, "cid": "string", "consistency": {}, "created_by": {}, "created_timestamp": "string", "creation_actor": {}, "description": "string", "description_format": "string", "description_tagged_users": [], "end_timestamp": "string", "evidence": {}, "fields": [], "id": "string", "last_updated_by": {}, "name": "string", "read_only": {}, "reference_id": "string", "severity": 0, "severity_info": {}, "sla": {}, "start_timestamp": "string", "status": "string", "tags": [], "template": {}, "update_actor": {}, "updated_timestamp": "string", "version": 0, "workflows": [] } ]}entities.case-tags.post.v1
Section titled “entities.case-tags.post.v1”Adds the given list of tags to the specified case.
add_case_tagsParameters
Section titled “Parameters”from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.add_case_tags(id="string", tags=id_list)print(response)from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.entities_case_tags_post_v1(id="string", tags=id_list)print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
body_payload = { "id": "string", "tags": ["string"]}
response = falcon.command("entities_case_tags_post_v1", body=body_payload)print(response)Add-FalconNgsCaseTag -Tag @("ID1", "ID2") -Id "string"package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/cases" "github.com/crowdstrike/gofalcon/falcon/models")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
id := "string"
response, err := client.Cases.EntitiesCaseTagsPostV1( &cases.EntitiesCaseTagsPostV1Params{ Body: &models.OperationsAddTagsToCaseRequest{ ID: &id, Tags: []string{"string"}, }, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: process.env.FALCON_CLOUD!, clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.cases.entitiesCaseTagsPostV1( { id: "string", tags: []} // body);
console.log(response);use rusty_falcon::apis::cases_api::entities_case_tags_post_v1;use rusty_falcon::easy::client::FalconHandle;use rusty_falcon::models::OperationsAddTagsToCaseRequest;
#[tokio::main]async fn main() { let falcon = FalconHandle::from_env().await.expect("Could not authenticate");
let body = OperationsAddTagsToCaseRequest { id: Some("string".to_string()), tags: vec!["string".to_string()], ..Default::default() };
let response = entities_case_tags_post_v1( &falcon.cfg, // configuration body, // body ).await.expect("API call failed");
println!("{:?}", response);}require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::Cases.new
body = Falcon::OperationsAddTagsToCaseRequest.new( id: 'string', tags: [])
response = api.entities_case_tags_post_v1(body)
puts response[ { "access_tags": [], "analysis_results": {}, "assigned_to": {}, "cid": "string", "consistency": {}, "created_by": {}, "created_timestamp": "string", "creation_actor": {}, "description": "string", "description_format": "string", "description_tagged_users": [], "end_timestamp": "string", "evidence": {}, "fields": [], "id": "string", "last_updated_by": {}, "name": "string", "read_only": {}, "reference_id": "string", "severity": 0, "severity_info": {}, "sla": {}, "start_timestamp": "string", "status": "string", "tags": [], "template": {}, "update_actor": {}, "updated_timestamp": "string", "version": 0, "workflows": [] }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }, "resources": [ { "access_tags": [], "analysis_results": {}, "assigned_to": {}, "cid": "string", "consistency": {}, "created_by": {}, "created_timestamp": "string", "creation_actor": {}, "description": "string", "description_format": "string", "description_tagged_users": [], "end_timestamp": "string", "evidence": {}, "fields": [], "id": "string", "last_updated_by": {}, "name": "string", "read_only": {}, "reference_id": "string", "severity": 0, "severity_info": {}, "sla": {}, "start_timestamp": "string", "status": "string", "tags": [], "template": {}, "update_actor": {}, "updated_timestamp": "string", "version": 0, "workflows": [] } ]}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }, "resources": [ { "access_tags": [], "analysis_results": {}, "assigned_to": {}, "cid": "string", "consistency": {}, "created_by": {}, "created_timestamp": "string", "creation_actor": {}, "description": "string", "description_format": "string", "description_tagged_users": [], "end_timestamp": "string", "evidence": {}, "fields": [], "id": "string", "last_updated_by": {}, "name": "string", "read_only": {}, "reference_id": "string", "severity": 0, "severity_info": {}, "sla": {}, "start_timestamp": "string", "status": "string", "tags": [], "template": {}, "update_actor": {}, "updated_timestamp": "string", "version": 0, "workflows": [] } ]}entities.cases.patch.v2
Section titled “entities.cases.patch.v2”Updates given fields on the specified case.
update_case_fieldsParameters
Section titled “Parameters”from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
fields = { "assigned_to_user_uuid": "string", "custom_fields": [ { "id": "string", "values": [ "string" ] } ], "description": "string", "name": "string", "remove_user_assignment": True, "severity": 0, "slas_active": True, "status": "string", "template": { "id": "string" }}
response = falcon.update_case_fields(expected_consistency_version=integer, expected_version=integer, fields=fields, id="string")print(response)from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
fields = { "assigned_to_user_uuid": "string", "custom_fields": [ { "id": "string", "values": [ "string" ] } ], "description": "string", "name": "string", "remove_user_assignment": True, "severity": 0, "slas_active": True, "status": "string", "template": { "id": "string" }}
response = falcon.entities_cases_patch_v2(expected_consistency_version=integer, expected_version=integer, fields=fields, id="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
body_payload = { "expected_consistency_version": integer, "expected_version": integer, "fields": { "access_tags": [ { "cid": "string", "id": "string", "key": "string" } ], "assigned_to_user_uuid": "string", "custom_fields": [ { "id": "string", "values": ["string"] } ], "description": "string", "description_format": "string", "description_tagged_users": ["string"], "name": "string", "remove_user_assignment": boolean, "severity": integer, "severity_info": { "level": "string" }, "slas_active": boolean, "status": "string", "template": { "id": "string" }, "workflows": [ { "execution_id": "string", "id": "string", "name": "string", "status": "string" } ] }, "id": "string"}
response = falcon.command("entities_cases_patch_v2", body=body_payload)print(response)Edit-FalconNgsCase -Id "string"package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/cases" "github.com/crowdstrike/gofalcon/falcon/models")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
expected_consistency_version := integer expected_version := integer id := "string"
response, err := client.Cases.EntitiesCasesPatchV2( &cases.EntitiesCasesPatchV2Params{ Body: &models.OperationsUpdateCaseRequest{ ExpectedConsistencyVersion: &expected_consistency_version, ExpectedVersion: &expected_version, Fields: &struct{}{}, ID: &id, }, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: process.env.FALCON_CLOUD!, clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.cases.entitiesCasesPatchV2( { expectedConsistencyVersion: integer, expectedVersion: integer, fields: { accessTags: [{ cid: "string", id: "string", key: "string" }], assignedToUserUuid: "string", customFields: [{ id: "string", values: [] }], description: "string", descriptionFormat: "string", descriptionTaggedUsers: [], name: "string", removeUserAssignment: boolean, severity: integer, severityInfo: { level: "string" }, slasActive: boolean, status: "string", template: { id: "string" }, workflows: [{ executionId: "string", id: "string", name: "string", status: "string" }] }, id: "string"} // body);
console.log(response);use rusty_falcon::apis::cases_api::entities_cases_patch_v2;use rusty_falcon::easy::client::FalconHandle;use rusty_falcon::models::OperationsUpdateCaseRequest;
#[tokio::main]async fn main() { let falcon = FalconHandle::from_env().await.expect("Could not authenticate");
let body = OperationsUpdateCaseRequest { fields: Default::default(), id: Some("string".to_string()), ..Default::default() };
let response = entities_cases_patch_v2( &falcon.cfg, // configuration body, // body ).await.expect("API call failed");
println!("{:?}", response);}require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::Cases.new
body = Falcon::OperationsUpdateCaseRequest.new( expected_consistency_version: integer, expected_version: integer, fields: { access_tags: [{ cid: 'string', id: 'string', key: 'string' }], assigned_to_user_uuid: 'string', custom_fields: [{ id: 'string', values: [] }], description: 'string', description_format: 'string', description_tagged_users: [], name: 'string', remove_user_assignment: boolean, severity: integer, severity_info: { level: 'string' }, slas_active: boolean, status: 'string', template: { id: 'string' }, workflows: [{ execution_id: 'string', id: 'string', name: 'string', status: 'string' }] }, id: 'string')
response = api.entities_cases_patch_v2(body)
puts response[ { "access_tags": [], "analysis_results": {}, "assigned_to": {}, "cid": "string", "consistency": {}, "created_by": {}, "created_timestamp": "string", "creation_actor": {}, "description": "string", "description_format": "string", "description_tagged_users": [], "end_timestamp": "string", "evidence": {}, "fields": [], "id": "string", "last_updated_by": {}, "name": "string", "read_only": {}, "reference_id": "string", "severity": 0, "severity_info": {}, "sla": {}, "start_timestamp": "string", "status": "string", "tags": [], "template": {}, "update_actor": {}, "updated_timestamp": "string", "version": 0, "workflows": [] }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }, "resources": [ { "access_tags": [], "analysis_results": {}, "assigned_to": {}, "cid": "string", "consistency": {}, "created_by": {}, "created_timestamp": "string", "creation_actor": {}, "description": "string", "description_format": "string", "description_tagged_users": [], "end_timestamp": "string", "evidence": {}, "fields": [], "id": "string", "last_updated_by": {}, "name": "string", "read_only": {}, "reference_id": "string", "severity": 0, "severity_info": {}, "sla": {}, "start_timestamp": "string", "status": "string", "tags": [], "template": {}, "update_actor": {}, "updated_timestamp": "string", "version": 0, "workflows": [] } ]}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }, "resources": [ { "access_tags": [], "analysis_results": {}, "assigned_to": {}, "cid": "string", "consistency": {}, "created_by": {}, "created_timestamp": "string", "creation_actor": {}, "description": "string", "description_format": "string", "description_tagged_users": [], "end_timestamp": "string", "evidence": {}, "fields": [], "id": "string", "last_updated_by": {}, "name": "string", "read_only": {}, "reference_id": "string", "severity": 0, "severity_info": {}, "sla": {}, "start_timestamp": "string", "status": "string", "tags": [], "template": {}, "update_actor": {}, "updated_timestamp": "string", "version": 0, "workflows": [] } ]}entities.cases.post.v2
Section titled “entities.cases.post.v2”Retrieves all Cases given their IDs.
get_casesParameters
Section titled “Parameters”from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.get_cases(ids=["string"])print(response)from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.entities_cases_post_v2(ids=["string"])print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
body_payload = { "ids": ["string"]}
response = falcon.command("entities_cases_post_v2", body=body_payload)print(response)Get-FalconNgsCase -Id @("ID1", "ID2")package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/cases" "github.com/crowdstrike/gofalcon/falcon/models")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
response, err := client.Cases.EntitiesCasesPostV2( &cases.EntitiesCasesPostV2Params{ Body: &models.OperationsGetCasesByIDsRequest{ Ids: []string{"string"}, }, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: process.env.FALCON_CLOUD!, clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.cases.entitiesCasesPostV2( { ids: []} // body);
console.log(response);use rusty_falcon::apis::cases_api::entities_cases_post_v2;use rusty_falcon::easy::client::FalconHandle;use rusty_falcon::models::OperationsGetCasesByIdsRequest;
#[tokio::main]async fn main() { let falcon = FalconHandle::from_env().await.expect("Could not authenticate");
let body = OperationsGetCasesByIdsRequest { ids: vec!["string".to_string()], ..Default::default() };
let response = entities_cases_post_v2( &falcon.cfg, // configuration body, // body ).await.expect("API call failed");
println!("{:?}", response);}require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::Cases.new
body = Falcon::OperationsGetCasesByIDsRequest.new( ids: [])
response = api.entities_cases_post_v2(body)
puts response[ { "access_tags": [], "analysis_results": {}, "assigned_to": {}, "cid": "string", "consistency": {}, "created_by": {}, "created_timestamp": "string", "creation_actor": {}, "description": "string", "description_format": "string", "description_tagged_users": [], "end_timestamp": "string", "evidence": {}, "fields": [], "id": "string", "last_updated_by": {}, "name": "string", "read_only": {}, "reference_id": "string", "severity": 0, "severity_info": {}, "sla": {}, "start_timestamp": "string", "status": "string", "tags": [], "template": {}, "update_actor": {}, "updated_timestamp": "string", "version": 0, "workflows": [] }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }, "resources": [ { "access_tags": [], "analysis_results": {}, "assigned_to": {}, "cid": "string", "consistency": {}, "created_by": {}, "created_timestamp": "string", "creation_actor": {}, "description": "string", "description_format": "string", "description_tagged_users": [], "end_timestamp": "string", "evidence": {}, "fields": [], "id": "string", "last_updated_by": {}, "name": "string", "read_only": {}, "reference_id": "string", "severity": 0, "severity_info": {}, "sla": {}, "start_timestamp": "string", "status": "string", "tags": [], "template": {}, "update_actor": {}, "updated_timestamp": "string", "version": 0, "workflows": [] } ]}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }, "resources": [ { "access_tags": [], "analysis_results": {}, "assigned_to": {}, "cid": "string", "consistency": {}, "created_by": {}, "created_timestamp": "string", "creation_actor": {}, "description": "string", "description_format": "string", "description_tagged_users": [], "end_timestamp": "string", "evidence": {}, "fields": [], "id": "string", "last_updated_by": {}, "name": "string", "read_only": {}, "reference_id": "string", "severity": 0, "severity_info": {}, "sla": {}, "start_timestamp": "string", "status": "string", "tags": [], "template": {}, "update_actor": {}, "updated_timestamp": "string", "version": 0, "workflows": [] } ]}entities.cases.put.v2
Section titled “entities.cases.put.v2”Creates the given Case
create_caseParameters
Section titled “Parameters”from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
evidence = { "alerts": [ { "id": "string" } ], "events": [ { "id": "string" } ], "leads": [ { "id": "string" } ]}
template = { "id": "string"}
response = falcon.create_case(assigned_to_user_uuid="string", description="string", evidence=evidence, name="string", severity=integer, status="string", tags=id_list, template=template)print(response)from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
evidence = { "alerts": [ { "id": "string" } ], "events": [ { "id": "string" } ], "leads": [ { "id": "string" } ]}
template = { "id": "string"}
response = falcon.entities_cases_put_v2(assigned_to_user_uuid="string", description="string", evidence=evidence, name="string", severity=integer, status="string", tags=id_list, template=template)print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
body_payload = { "access_tags": [ { "cid": "string", "id": "string", "key": "string" } ], "assigned_to_user_uuid": "string", "description": "string", "description_format": "string", "description_tagged_users": ["string"], "evidence": { "alerts": [ { "id": "string" } ], "events": [ { "id": "string" } ], "leads": [ { "id": "string" } ] }, "name": "string", "severity": integer, "severity_info": { "level": "string" }, "status": "string", "tags": ["string"], "template": { "id": "string" }}
response = falcon.command("entities_cases_put_v2", body=body_payload)print(response)New-FalconNgsCase -Name "string" -Severity "string"package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/cases" "github.com/crowdstrike/gofalcon/falcon/models")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
cid := "string" id := "string" key := "string" assigned_to_user_uuid := "string" description := "string" description_format := "string" name := "string" severity := integer status := "string"
response, err := client.Cases.EntitiesCasesPutV2( &cases.EntitiesCasesPutV2Params{ Body: &models.OperationsCreateCaseRequest{ AccessTags: []interface{}{ { CID: &cid, ID: &id, Key: &key, }, }, AssignedToUserUuid: &assigned_to_user_uuid, Description: &description, DescriptionFormat: &description_format, DescriptionTaggedUsers: []string{"string"}, Evidence: &struct{}{}, Name: &name, Severity: &severity, SeverityInfo: &struct{}{}, Status: &status, Tags: []string{"string"}, Template: &struct{}{}, }, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: process.env.FALCON_CLOUD!, clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.cases.entitiesCasesPutV2( { accessTags: [{ cid: "string", id: "string", key: "string" }], assignedToUserUuid: "string", description: "string", descriptionFormat: "string", descriptionTaggedUsers: [], evidence: { alerts: [{ id: "string" }], events: [{ id: "string" }], leads: [{ id: "string" }] }, name: "string", severity: integer, severityInfo: { level: "string" }, status: "string", tags: [], template: { id: "string" }} // body);
console.log(response);use rusty_falcon::apis::cases_api::entities_cases_put_v2;use rusty_falcon::easy::client::FalconHandle;use rusty_falcon::models::OperationsCreateCaseRequest;
#[tokio::main]async fn main() { let falcon = FalconHandle::from_env().await.expect("Could not authenticate");
let body = OperationsCreateCaseRequest { assigned_to_user_uuid: Some("string".to_string()), description: Some("string".to_string()), evidence: Default::default(), name: Some("string".to_string()), severity: Some(integer), severity_info: Default::default(), status: Some("string".to_string()), ..Default::default() };
let response = entities_cases_put_v2( &falcon.cfg, // configuration body, // body ).await.expect("API call failed");
println!("{:?}", response);}require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::Cases.new
body = Falcon::OperationsCreateCaseRequest.new( access_tags: [{ cid: 'string', id: 'string', key: 'string' }], assigned_to_user_uuid: 'string', description: 'string', description_format: 'string', description_tagged_users: [], evidence: { alerts: [{ id: 'string' }], events: [{ id: 'string' }], leads: [{ id: 'string' }] }, name: 'string', severity: integer, severity_info: { level: 'string' }, status: 'string', tags: [], template: { id: 'string' })
response = api.entities_cases_put_v2(body)
puts response[ { "access_tags": [], "analysis_results": {}, "assigned_to": {}, "cid": "string", "consistency": {}, "created_by": {}, "created_timestamp": "string", "creation_actor": {}, "description": "string", "description_format": "string", "description_tagged_users": [], "end_timestamp": "string", "evidence": {}, "fields": [], "id": "string", "last_updated_by": {}, "name": "string", "read_only": {}, "reference_id": "string", "severity": 0, "severity_info": {}, "sla": {}, "start_timestamp": "string", "status": "string", "tags": [], "template": {}, "update_actor": {}, "updated_timestamp": "string", "version": 0, "workflows": [] }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }, "resources": [ { "access_tags": [], "analysis_results": {}, "assigned_to": {}, "cid": "string", "consistency": {}, "created_by": {}, "created_timestamp": "string", "creation_actor": {}, "description": "string", "description_format": "string", "description_tagged_users": [], "end_timestamp": "string", "evidence": {}, "fields": [], "id": "string", "last_updated_by": {}, "name": "string", "read_only": {}, "reference_id": "string", "severity": 0, "severity_info": {}, "sla": {}, "start_timestamp": "string", "status": "string", "tags": [], "template": {}, "update_actor": {}, "updated_timestamp": "string", "version": 0, "workflows": [] } ]}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }, "resources": [ { "access_tags": [], "analysis_results": {}, "assigned_to": {}, "cid": "string", "consistency": {}, "created_by": {}, "created_timestamp": "string", "creation_actor": {}, "description": "string", "description_format": "string", "description_tagged_users": [], "end_timestamp": "string", "evidence": {}, "fields": [], "id": "string", "last_updated_by": {}, "name": "string", "read_only": {}, "reference_id": "string", "severity": 0, "severity_info": {}, "sla": {}, "start_timestamp": "string", "status": "string", "tags": [], "template": {}, "update_actor": {}, "updated_timestamp": "string", "version": 0, "workflows": [] } ]}entities.event-evidence.post.v1
Section titled “entities.event-evidence.post.v1”Adds the given list of event evidence to the specified case.
add_case_event_evidenceParameters
Section titled “Parameters”from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
events = [ { "id": "string" }]
response = falcon.add_case_event_evidence(events=events, id="string")print(response)from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
events = [ { "id": "string" }]
response = falcon.entities_event_evidence_post_v1(events=events, id="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
body_payload = { "events": [ { "id": "string" } ], "id": "string"}
response = falcon.command("entities_event_evidence_post_v1", body=body_payload)print(response)Add-FalconNgsCaseEvidence -EventId @("ID1", "ID2") -Id "string"package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/cases" "github.com/crowdstrike/gofalcon/falcon/models")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
id := "string"
response, err := client.Cases.EntitiesEventEvidencePostV1( &cases.EntitiesEventEvidencePostV1Params{ Body: &models.OperationsAddEventsToCaseRequest{ Events: []interface{}{ { ID: &id, }, }, ID: &id, }, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: process.env.FALCON_CLOUD!, clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.cases.entitiesEventEvidencePostV1( { events: [{ id: "string" }], id: "string"} // body);
console.log(response);use rusty_falcon::apis::cases_api::entities_event_evidence_post_v1;use rusty_falcon::easy::client::FalconHandle;use rusty_falcon::models::OperationsAddEventsToCaseRequest;
#[tokio::main]async fn main() { let falcon = FalconHandle::from_env().await.expect("Could not authenticate");
let body = OperationsAddEventsToCaseRequest { events: vec![EventEvidenceSelector { id: Some("string".to_string()), ..Default::default() }], id: Some("string".to_string()), ..Default::default() };
let response = entities_event_evidence_post_v1( &falcon.cfg, // configuration body, // body ).await.expect("API call failed");
println!("{:?}", response);}require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::Cases.new
body = Falcon::OperationsAddEventsToCaseRequest.new( events: [{ id: 'string' }], id: 'string')
response = api.entities_event_evidence_post_v1(body)
puts response[ { "access_tags": [], "analysis_results": {}, "assigned_to": {}, "cid": "string", "consistency": {}, "created_by": {}, "created_timestamp": "string", "creation_actor": {}, "description": "string", "description_format": "string", "description_tagged_users": [], "end_timestamp": "string", "evidence": {}, "fields": [], "id": "string", "last_updated_by": {}, "name": "string", "read_only": {}, "reference_id": "string", "severity": 0, "severity_info": {}, "sla": {}, "start_timestamp": "string", "status": "string", "tags": [], "template": {}, "update_actor": {}, "updated_timestamp": "string", "version": 0, "workflows": [] }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }, "resources": [ { "access_tags": [], "analysis_results": {}, "assigned_to": {}, "cid": "string", "consistency": {}, "created_by": {}, "created_timestamp": "string", "creation_actor": {}, "description": "string", "description_format": "string", "description_tagged_users": [], "end_timestamp": "string", "evidence": {}, "fields": [], "id": "string", "last_updated_by": {}, "name": "string", "read_only": {}, "reference_id": "string", "severity": 0, "severity_info": {}, "sla": {}, "start_timestamp": "string", "status": "string", "tags": [], "template": {}, "update_actor": {}, "updated_timestamp": "string", "version": 0, "workflows": [] } ]}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }, "resources": [ { "access_tags": [], "analysis_results": {}, "assigned_to": {}, "cid": "string", "consistency": {}, "created_by": {}, "created_timestamp": "string", "creation_actor": {}, "description": "string", "description_format": "string", "description_tagged_users": [], "end_timestamp": "string", "evidence": {}, "fields": [], "id": "string", "last_updated_by": {}, "name": "string", "read_only": {}, "reference_id": "string", "severity": 0, "severity_info": {}, "sla": {}, "start_timestamp": "string", "status": "string", "tags": [], "template": {}, "update_actor": {}, "updated_timestamp": "string", "version": 0, "workflows": [] } ]}entities.fields.get.v1
Section titled “entities.fields.get.v1”Get fields by ID
get_fieldsParameters
Section titled “Parameters”from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.get_fields(ids=id_list)print(response)from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.entities_fields_get_v1(ids=id_list)print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.command("entities_fields_get_v1", ids=id_list)print(response)Get-FalconNgsCaseField -Id @("ID1", "ID2")package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/case_management")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
response, err := client.CaseManagement.EntitiesFieldsGetV1( &case_management.EntitiesFieldsGetV1Params{ Ids: []string{"ID1", "ID2", "ID3"}, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: process.env.FALCON_CLOUD!, clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.caseManagement.entitiesFieldsGetV1("string"); // ids
console.log(response);use rusty_falcon::apis::case_management_api::entities_fields_get_v1;use rusty_falcon::easy::client::FalconHandle;
#[tokio::main]async fn main() { let falcon = FalconHandle::from_env().await.expect("Could not authenticate");
let response = entities_fields_get_v1( &falcon.cfg, // configuration vec!["string".to_string()], // ids ).await.expect("API call failed");
println!("{:?}", response);}require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::CaseManagement.new
response = api.entities_fields_get_v1(['ID1', 'ID2', 'ID3'])
puts response[ { "created_by": {}, "created_by_name": "string", "created_timestamp": "string", "data_type": "string", "default_value": "string", "display_order": 0, "id": "string", "input_type": "string", "multivalued": false, "name": "string", "options": [], "required": false, "updated_by": {}, "updated_by_name": "string", "updated_timestamp": "string" }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}entities.file-details.get.v1
Section titled “entities.file-details.get.v1”Get file details by id
get_file_detailsParameters
Section titled “Parameters”from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.get_file_details(ids=id_list)print(response)from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.entities_file_details_get_v1(ids=id_list)print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.command("entities_file_details_get_v1", ids=id_list)print(response)Get-FalconNgsCaseFile -Id @("ID1", "ID2")package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/case_files")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
response, err := client.CaseFiles.EntitiesFileDetailsGetV1( &case_files.EntitiesFileDetailsGetV1Params{ Ids: []string{"ID1", "ID2", "ID3"}, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: process.env.FALCON_CLOUD!, clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.caseFiles.entitiesFileDetailsGetV1(["ID1", "ID2", "ID3"]); // ids
console.log(response);use rusty_falcon::apis::case_files_api::entities_file_details_get_v1;use rusty_falcon::easy::client::FalconHandle;
#[tokio::main]async fn main() { let falcon = FalconHandle::from_env().await.expect("Could not authenticate");
let response = entities_file_details_get_v1( &falcon.cfg, // configuration vec!["string".to_string()], // ids ).await.expect("API call failed");
println!("{:?}", response);}require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::CaseFiles.new
response = api.entities_file_details_get_v1(['ID1', 'ID2', 'ID3'])
puts response[ { "case_id": "string", "cid": "string", "description": "string", "file_size": "string", "file_size_bytes": 0, "file_type": "string", "hash_value": "string", "id": "string", "name": "string", "source": "string", "uploaded_by": "string", "uploaded_on": "string" }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}entities.file-details.patch.v1
Section titled “entities.file-details.patch.v1”Update file details
update_file_detailsParameters
Section titled “Parameters”from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.update_file_details(description="string", id="string")print(response)from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.entities_file_details_patch_v1(description="string", id="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
body_payload = { "description": "string", "id": "string"}
response = falcon.command("entities_file_details_patch_v1", body=body_payload)print(response)Edit-FalconNgsCaseFile -Description "string" -Id "string"package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/case_files" "github.com/crowdstrike/gofalcon/falcon/models")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
description := "string" id := "string"
response, err := client.CaseFiles.EntitiesFileDetailsPatchV1( &case_files.EntitiesFileDetailsPatchV1Params{ Body: &models.CasefilesapiUpdateRequestV1{ Description: &description, ID: &id, }, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: process.env.FALCON_CLOUD!, clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.caseFiles.entitiesFileDetailsPatchV1( { description: "string", id: "string"} // body);
console.log(response);use rusty_falcon::apis::case_files_api::entities_file_details_patch_v1;use rusty_falcon::easy::client::FalconHandle;use rusty_falcon::models::ApiUpdateRequestV1;
#[tokio::main]async fn main() { let falcon = FalconHandle::from_env().await.expect("Could not authenticate");
let body = ApiUpdateRequestV1 { description: Some("string".to_string()), id: Some("string".to_string()), ..Default::default() };
let response = entities_file_details_patch_v1( &falcon.cfg, // configuration body, // body ).await.expect("API call failed");
println!("{:?}", response);}require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::CaseFiles.new
body = Falcon::CasefilesapiUpdateRequestV1.new( description: 'string', id: 'string')
response = api.entities_file_details_patch_v1(body)
puts response[ { "case_id": "string", "cid": "string", "description": "string", "file_size": "string", "file_size_bytes": 0, "file_type": "string", "hash_value": "string", "id": "string", "name": "string", "source": "string", "uploaded_by": "string", "uploaded_on": "string" }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}entities.files.delete.v1
Section titled “entities.files.delete.v1”Delete file details by id
delete_file_detailsParameters
Section titled “Parameters”from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.delete_file_details(ids=id_list)print(response)from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.entities_files_delete_v1(ids=id_list)print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.command("entities_files_delete_v1", ids=id_list)print(response)Remove-FalconNgsCaseFile -Id @("ID1", "ID2")package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/case_files")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
response, err := client.CaseFiles.EntitiesFilesDeleteV1( &case_files.EntitiesFilesDeleteV1Params{ Ids: []string{"ID1", "ID2", "ID3"}, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: process.env.FALCON_CLOUD!, clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.caseFiles.entitiesFilesDeleteV1(["ID1", "ID2", "ID3"]); // ids
console.log(response);use rusty_falcon::apis::case_files_api::entities_files_delete_v1;use rusty_falcon::easy::client::FalconHandle;
#[tokio::main]async fn main() { let falcon = FalconHandle::from_env().await.expect("Could not authenticate");
let response = entities_files_delete_v1( &falcon.cfg, // configuration vec!["string".to_string()], // ids ).await.expect("API call failed");
println!("{:?}", response);}require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::CaseFiles.new
response = api.entities_files_delete_v1(['ID1', 'ID2', 'ID3'])
puts response[ "string"]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}entities.files_bulk-download.post.v1
Section titled “entities.files_bulk-download.post.v1”Download multiple existing file from case as a ZIP
bulk_download_filesParameters
Section titled “Parameters”from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.bulk_download_files(ids=id_list)print(response)from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.entities_files_bulk_download_post_v1(ids=id_list)print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
body_payload = { "ids": ["string"]}
response = falcon.command("entities_files_bulk_download_post_v1", body=body_payload)print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/case_files" "github.com/crowdstrike/gofalcon/falcon/models")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
response, err := client.CaseFiles.EntitiesFilesBulkDownloadPostV1( &case_files.EntitiesFilesBulkDownloadPostV1Params{ Body: &models.CasefilesapiBulkDownloadRequestV1{ Ids: []string{"string"}, }, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: process.env.FALCON_CLOUD!, clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.caseFiles.entitiesFilesBulkDownloadPostV1( { ids: []} // body);
console.log(response);use rusty_falcon::apis::case_files_api::entities_files_bulk_download_post_v1;use rusty_falcon::easy::client::FalconHandle;use rusty_falcon::models::ApiBulkDownloadRequestV1;
#[tokio::main]async fn main() { let falcon = FalconHandle::from_env().await.expect("Could not authenticate");
let body = ApiBulkDownloadRequestV1 { ids: vec!["string".to_string()], ..Default::default() };
let response = entities_files_bulk_download_post_v1( &falcon.cfg, // configuration body, // body ).await.expect("API call failed");
println!("{:?}", response);}require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::CaseFiles.new
body = Falcon::CasefilesapiBulkDownloadRequestV1.new( ids: [])
response = api.entities_files_bulk_download_post_v1(body)
puts response[ { "link": "string" }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}entities.files_download.get.v1
Section titled “entities.files_download.get.v1”Download existing file from case
download_existing_filesParameters
Section titled “Parameters”from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.download_existing_files(id="string")print(response)from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.entities_files_download_get_v1(id="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.command("entities_files_download_get_v1", id="string")print(response)Receive-FalconNgsCaseFile -Id "string"package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/case_files")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
response, err := client.CaseFiles.EntitiesFilesDownloadGetV1( &case_files.EntitiesFilesDownloadGetV1Params{ ID: "string", Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: process.env.FALCON_CLOUD!, clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.caseFiles.entitiesFilesDownloadGetV1("string"); // id
console.log(response);use rusty_falcon::apis::case_files_api::entities_files_download_get_v1;use rusty_falcon::easy::client::FalconHandle;
#[tokio::main]async fn main() { let falcon = FalconHandle::from_env().await.expect("Could not authenticate");
let response = entities_files_download_get_v1( &falcon.cfg, // configuration "string", // id ).await.expect("API call failed");
println!("{:?}", response);}require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::CaseFiles.new
response = api.entities_files_download_get_v1('string')
puts response[ { "link": "string" }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}entities.files_download.post.v1
Section titled “entities.files_download.post.v1”Download existing files from case
Parameters
Section titled “Parameters”Examples coming soon.
Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/case_files" "github.com/crowdstrike/gofalcon/falcon/models")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
response, err := client.CaseFiles.EntitiesFilesDownloadPostV1( &case_files.EntitiesFilesDownloadPostV1Params{ Body: &models.CasefilesapiDownloadRequestV1{ Ids: []string{"string"}, }, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: process.env.FALCON_CLOUD!, clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.caseFiles.entitiesFilesDownloadPostV1( { ids: []} // body);
console.log(response);use rusty_falcon::apis::case_files_api::entities_files_download_post_v1;use rusty_falcon::easy::client::FalconHandle;use rusty_falcon::models::ApiDownloadRequestV1;
#[tokio::main]async fn main() { let falcon = FalconHandle::from_env().await.expect("Could not authenticate");
let body = ApiDownloadRequestV1 { ids: vec!["string".to_string()], ..Default::default() };
let response = entities_files_download_post_v1( &falcon.cfg, // configuration body, // body ).await.expect("API call failed");
println!("{:?}", response);}require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::CaseFiles.new
body = Falcon::CasefilesapiDownloadRequestV1.new( ids: [])
response = api.entities_files_download_post_v1(body)
puts response[ { "link": "string" }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}entities.files_upload.post.v1
Section titled “entities.files_upload.post.v1”Upload file for case
upload_fileParameters
Section titled “Parameters”from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.upload_file(file="string", description="string", case_id="string")print(response)from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.entities_files_upload_post_v1(file="string", description="string", case_id="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.command("entities_files_upload_post_v1", file_data=open("filename", "rb").read(), description="string", case_id="string")print(response)Send-FalconNgsCaseFilepackage main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/case_files")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
description := "string"
response, err := client.CaseFiles.EntitiesFilesUploadPostV1( &case_files.EntitiesFilesUploadPostV1Params{ Description: &description, CaseID: "string", Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: process.env.FALCON_CLOUD!, clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.caseFiles.entitiesFilesUploadPostV1( "string", // file "string", // caseId "string" // description);
console.log(response);use rusty_falcon::apis::case_files_api::entities_files_upload_post_v1;use rusty_falcon::easy::client::FalconHandle;
#[tokio::main]async fn main() { let falcon = FalconHandle::from_env().await.expect("Could not authenticate");
let response = entities_files_upload_post_v1(&falcon.cfg).await.expect("API call failed"); // configuration
println!("{:?}", response);}require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::CaseFiles.new
response = api.entities_files_upload_post_v1('string', 'string')
puts response[ { "case_id": "string", "cid": "string", "description": "string", "file_size": "string", "file_size_bytes": 0, "file_type": "string", "hash_value": "string", "id": "string", "name": "string", "source": "string", "uploaded_by": "string", "uploaded_on": "string" }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}entities.get-rtr-file-metadata.post.v1
Section titled “entities.get-rtr-file-metadata.post.v1”gets metadata for a file via RTR without retrieving it
get_rtr_file_metadataParameters
Section titled “Parameters”from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.get_rtr_file_metadata(aid="string", file_path="string")print(response)from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.entities_get_rtr_file_metadata_post_v1(aid="string", file_path="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
body_payload = { "aid": "string", "file_path": "string"}
response = falcon.command("entities_get_rtr_file_metadata_post_v1", body=body_payload)print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/case_files" "github.com/crowdstrike/gofalcon/falcon/models")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
aid := "string" file_path := "string"
response, err := client.CaseFiles.EntitiesGetRtrFileMetadataPostV1( &case_files.EntitiesGetRtrFileMetadataPostV1Params{ Body: &models.CasefilesapiGetRTRFileMetaDataRequestV1{ Aid: &aid, FilePath: &file_path, }, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: process.env.FALCON_CLOUD!, clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.caseFiles.entitiesGetRtrFileMetadataPostV1( { aid: "string", filePath: "string"} // body);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::CaseFiles.new
body = Falcon::CasefilesapiGetRTRFileMetaDataRequestV1.new( aid: 'string', file_path: 'string')
response = api.entities_get_rtr_file_metadata_post_v1(body)
puts response[ { "file_name": "string", "file_size": "string" }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}entities.merge.post.v1
Section titled “entities.merge.post.v1”Merges a source case into a destination case.
entities_merge_post_v1Parameters
Section titled “Parameters”from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.entities_merge_post_v1(destination_id="string", source_id="string")print(response)from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.entities_merge_post_v1(destination_id="string", source_id="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
body_payload = { "destination_id": "string", "source_id": "string"}
response = falcon.command("entities_merge_post_v1", body=body_payload)print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/cases" "github.com/crowdstrike/gofalcon/falcon/models")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
destination_id := "string" source_id := "string"
response, err := client.Cases.EntitiesMergePostV1( &cases.EntitiesMergePostV1Params{ Body: &models.OperationsMergeCasesRequest{ DestinationID: &destination_id, SourceID: &source_id, }, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: process.env.FALCON_CLOUD!, clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.cases.entitiesMergePostV1( { destinationId: "string", sourceId: "string"} // body);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::Cases.new
body = Falcon::OperationsMergeCasesRequest.new( destination_id: 'string', source_id: 'string')
response = api.entities_merge_post_v1(body)
puts response{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}entities.notification-groups.delete.v1
Section titled “entities.notification-groups.delete.v1”Delete notification groups by ID
delete_notification_groupParameters
Section titled “Parameters”from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.delete_notification_group(ids=id_list)print(response)from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.entities_notification_groups_delete_v1(ids=id_list)print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.command("entities_notification_groups_delete_v1", ids=id_list)print(response)Remove-FalconNgsCaseNotificationGroup -Id @("ID1", "ID2")package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/case_management")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
response, err := client.CaseManagement.EntitiesNotificationGroupsDeleteV1( &case_management.EntitiesNotificationGroupsDeleteV1Params{ Ids: []string{"ID1", "ID2", "ID3"}, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: process.env.FALCON_CLOUD!, clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.caseManagement.entitiesNotificationGroupsDeleteV1("string"); // ids
console.log(response);use rusty_falcon::apis::case_management_api::entities_notification_groups_delete_v1;use rusty_falcon::easy::client::FalconHandle;
#[tokio::main]async fn main() { let falcon = FalconHandle::from_env().await.expect("Could not authenticate");
let response = entities_notification_groups_delete_v1( &falcon.cfg, // configuration vec!["string".to_string()], // ids ).await.expect("API call failed");
println!("{:?}", response);}require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::CaseManagement.new
response = api.entities_notification_groups_delete_v1(['ID1', 'ID2', 'ID3'])
puts response[ "string"]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}entities.notification-groups.delete.v2
Section titled “entities.notification-groups.delete.v2”Delete notification groups by ID
delete_notification_group_v2Parameters
Section titled “Parameters”from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.delete_notification_group_v2(ids=id_list)print(response)from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.entities_notification_groups_delete_v2(ids=id_list)print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.command("entities_notification_groups_delete_v2", ids=id_list)print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/case_management")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
response, err := client.CaseManagement.EntitiesNotificationGroupsDeleteV2( &case_management.EntitiesNotificationGroupsDeleteV2Params{ Ids: []string{"ID1", "ID2", "ID3"}, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: process.env.FALCON_CLOUD!, clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.caseManagement.entitiesNotificationGroupsDeleteV2("string"); // ids
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::CaseManagement.new
response = api.entities_notification_groups_delete_v2(['ID1', 'ID2', 'ID3'])
puts response[ "string"]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}entities.notification-groups.get.v1
Section titled “entities.notification-groups.get.v1”Get notification groups by ID
get_notification_groupsParameters
Section titled “Parameters”from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.get_notification_groups(ids=id_list)print(response)from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.entities_notification_groups_get_v1(ids=id_list)print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.command("entities_notification_groups_get_v1", ids=id_list)print(response)Get-FalconNgsCaseNotificationGroup -Id @("ID1", "ID2")package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/case_management")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
response, err := client.CaseManagement.EntitiesNotificationGroupsGetV1( &case_management.EntitiesNotificationGroupsGetV1Params{ Ids: []string{"ID1", "ID2", "ID3"}, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: process.env.FALCON_CLOUD!, clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.caseManagement.entitiesNotificationGroupsGetV1("string"); // ids
console.log(response);use rusty_falcon::apis::case_management_api::entities_notification_groups_get_v1;use rusty_falcon::easy::client::FalconHandle;
#[tokio::main]async fn main() { let falcon = FalconHandle::from_env().await.expect("Could not authenticate");
let response = entities_notification_groups_get_v1( &falcon.cfg, // configuration vec!["string".to_string()], // ids ).await.expect("API call failed");
println!("{:?}", response);}require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::CaseManagement.new
response = api.entities_notification_groups_get_v1(['ID1', 'ID2', 'ID3'])
puts response[ { "channels": [], "cid": "string", "created_by": {}, "created_by_name": "string", "created_timestamp": "string", "description": "string", "id": "string", "name": "string", "updated_by": {}, "updated_by_name": "string", "updated_timestamp": "string" }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}entities.notification-groups.get.v2
Section titled “entities.notification-groups.get.v2”Get notification groups by ID
get_notification_groups_v2Parameters
Section titled “Parameters”from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.get_notification_groups_v2(ids=id_list)print(response)from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.entities_notification_groups_get_v2(ids=id_list)print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.command("entities_notification_groups_get_v2", ids=id_list)print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/case_management")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
response, err := client.CaseManagement.EntitiesNotificationGroupsGetV2( &case_management.EntitiesNotificationGroupsGetV2Params{ Ids: []string{"ID1", "ID2", "ID3"}, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: process.env.FALCON_CLOUD!, clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.caseManagement.entitiesNotificationGroupsGetV2("string"); // ids
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::CaseManagement.new
response = api.entities_notification_groups_get_v2(['ID1', 'ID2', 'ID3'])
puts response[ { "channels": [], "cid": "string", "created_by": {}, "created_by_name": "string", "created_timestamp": "string", "description": "string", "id": "string", "name": "string", "updated_by": {}, "updated_by_name": "string", "updated_timestamp": "string" }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}entities.notification-groups.patch.v1
Section titled “entities.notification-groups.patch.v1”Update notification group
update_notification_groupParameters
Section titled “Parameters”from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
channels = [ { "config_id": "string", "config_name": "string", "recipients": [ "string" ], "severity": "string", "type": "email" }]
response = falcon.update_notification_group(channels=channels, description="string", id="string", name="string")print(response)from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
channels = [ { "config_id": "string", "config_name": "string", "recipients": [ "string" ], "severity": "string", "type": "email" }]
response = falcon.entities_notification_groups_patch_v1(channels=channels, description="string", id="string", name="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
body_payload = { "channels": [ { "config_id": "string", "config_name": "string", "recipients": ["string"], "severity": "string", "type": "string" } ], "description": "string", "id": "string", "name": "string"}
response = falcon.command("entities_notification_groups_patch_v1", body=body_payload)print(response)Edit-FalconNgsCaseNotificationGroup -Id "string"package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/case_management" "github.com/crowdstrike/gofalcon/falcon/models")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
config_id := "string" config_name := "string" severity := "string" typeVar := "string" description := "string" id := "string" name := "string"
response, err := client.CaseManagement.EntitiesNotificationGroupsPatchV1( &case_management.EntitiesNotificationGroupsPatchV1Params{ Body: &models.APINotificationGroupV1UpdateRequest{ Channels: []interface{}{ { ConfigID: &config_id, ConfigName: &config_name, Recipients: []string{"string"}, Severity: &severity, Type: &typeVar, }, }, Description: &description, ID: &id, Name: &name, }, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: process.env.FALCON_CLOUD!, clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.caseManagement.entitiesNotificationGroupsPatchV1( { channels: [{ configId: "string", configName: "string", recipients: [], severity: "string", type: "string" }], description: "string", id: "string", name: "string"} // body);
console.log(response);use rusty_falcon::apis::case_management_api::entities_notification_groups_patch_v1;use rusty_falcon::easy::client::FalconHandle;use rusty_falcon::models::ApiNotificationGroupV1UpdateRequest;
#[tokio::main]async fn main() { let falcon = FalconHandle::from_env().await.expect("Could not authenticate");
let body = ApiNotificationGroupV1UpdateRequest { channels: vec![NotificationChannelV1 { config_name: Some("string".to_string()), type: Some("string".to_string()), ..Default::default() }], description: Some("string".to_string()), id: Some("string".to_string()), name: Some("string".to_string()), ..Default::default() };
let response = entities_notification_groups_patch_v1( &falcon.cfg, // configuration body, // body ).await.expect("API call failed");
println!("{:?}", response);}require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::CaseManagement.new
body = Falcon::ApiNotificationGroupV1UpdateRequest.new( channels: [{ config_id: 'string', config_name: 'string', recipients: [], severity: 'string', type: 'string' }], description: 'string', id: 'string', name: 'string')
response = api.entities_notification_groups_patch_v1(body)
puts response[ { "channels": [], "cid": "string", "created_by": {}, "created_by_name": "string", "created_timestamp": "string", "description": "string", "id": "string", "name": "string", "updated_by": {}, "updated_by_name": "string", "updated_timestamp": "string" }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}entities.notification-groups.patch.v2
Section titled “entities.notification-groups.patch.v2”Update notification group
update_notification_group_v2Parameters
Section titled “Parameters”from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
channels = [ { "config_id": "string", "config_name": "string", "params": {}, "type": "email" }]
response = falcon.update_notification_group_v2(channels=channels, description="string", id="string", name="string")print(response)from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
channels = [ { "config_id": "string", "config_name": "string", "params": {}, "type": "email" }]
response = falcon.entities_notification_groups_patch_v2(channels=channels, description="string", id="string", name="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
body_payload = { "channels": [ { "config_id": "string", "config_name": "string", "params": {}, "type": "string" } ], "description": "string", "id": "string", "name": "string"}
response = falcon.command("entities_notification_groups_patch_v2", body=body_payload)print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/case_management" "github.com/crowdstrike/gofalcon/falcon/models")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
config_id := "string" config_name := "string" typeVar := "string" description := "string" id := "string" name := "string"
response, err := client.CaseManagement.EntitiesNotificationGroupsPatchV2( &case_management.EntitiesNotificationGroupsPatchV2Params{ Body: &models.APINotificationGroupV2UpdateRequest{ Channels: []interface{}{ { ConfigID: &config_id, ConfigName: &config_name, Params: &struct{}{}, Type: &typeVar, }, }, Description: &description, ID: &id, Name: &name, }, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: process.env.FALCON_CLOUD!, clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.caseManagement.entitiesNotificationGroupsPatchV2( { channels: [{ configId: "string", configName: "string", params: {}, type: "string" }], description: "string", id: "string", name: "string"} // body);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::CaseManagement.new
body = Falcon::ApiNotificationGroupV2UpdateRequest.new( channels: [{ config_id: 'string', config_name: 'string', params: {}, type: 'string' }], description: 'string', id: 'string', name: 'string')
response = api.entities_notification_groups_patch_v2(body)
puts response[ { "channels": [], "cid": "string", "created_by": {}, "created_by_name": "string", "created_timestamp": "string", "description": "string", "id": "string", "name": "string", "updated_by": {}, "updated_by_name": "string", "updated_timestamp": "string" }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}entities.notification-groups.post.v1
Section titled “entities.notification-groups.post.v1”Create notification group
create_notification_groupParameters
Section titled “Parameters”from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
channels = [ { "config_id": "string", "config_name": "string", "recipients": [ "string" ], "severity": "string", "type": "email" }]
response = falcon.create_notification_group(channels=channels, description="string", name="string")print(response)from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
channels = [ { "config_id": "string", "config_name": "string", "recipients": [ "string" ], "severity": "string", "type": "email" }]
response = falcon.entities_notification_groups_post_v1(channels=channels, description="string", name="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
body_payload = { "channels": [ { "config_id": "string", "config_name": "string", "recipients": ["string"], "severity": "string", "type": "string" } ], "description": "string", "name": "string"}
response = falcon.command("entities_notification_groups_post_v1", body=body_payload)print(response)New-FalconNgsCaseNotificationGroup -Name "string"package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/case_management" "github.com/crowdstrike/gofalcon/falcon/models")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
config_id := "string" config_name := "string" severity := "string" typeVar := "string" description := "string" name := "string"
response, err := client.CaseManagement.EntitiesNotificationGroupsPostV1( &case_management.EntitiesNotificationGroupsPostV1Params{ Body: &models.APINotificationGroupV1CreateRequest{ Channels: []interface{}{ { ConfigID: &config_id, ConfigName: &config_name, Recipients: []string{"string"}, Severity: &severity, Type: &typeVar, }, }, Description: &description, Name: &name, }, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: process.env.FALCON_CLOUD!, clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.caseManagement.entitiesNotificationGroupsPostV1( { channels: [{ configId: "string", configName: "string", recipients: [], severity: "string", type: "string" }], description: "string", name: "string"} // body);
console.log(response);use rusty_falcon::apis::case_management_api::entities_notification_groups_post_v1;use rusty_falcon::easy::client::FalconHandle;use rusty_falcon::models::ApiNotificationGroupV1CreateRequest;
#[tokio::main]async fn main() { let falcon = FalconHandle::from_env().await.expect("Could not authenticate");
let body = ApiNotificationGroupV1CreateRequest { channels: vec![NotificationChannelV1 { config_name: Some("string".to_string()), type: Some("string".to_string()), ..Default::default() }], description: Some("string".to_string()), name: Some("string".to_string()), ..Default::default() };
let response = entities_notification_groups_post_v1( &falcon.cfg, // configuration body, // body ).await.expect("API call failed");
println!("{:?}", response);}require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::CaseManagement.new
body = Falcon::ApiNotificationGroupV1CreateRequest.new( channels: [{ config_id: 'string', config_name: 'string', recipients: [], severity: 'string', type: 'string' }], description: 'string', name: 'string')
response = api.entities_notification_groups_post_v1(body)
puts response[ { "channels": [], "cid": "string", "created_by": {}, "created_by_name": "string", "created_timestamp": "string", "description": "string", "id": "string", "name": "string", "updated_by": {}, "updated_by_name": "string", "updated_timestamp": "string" }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}entities.notification-groups.post.v2
Section titled “entities.notification-groups.post.v2”Create notification group
create_notification_group_v2Parameters
Section titled “Parameters”from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
channels = [ { "config_id": "string", "config_name": "string", "params": {}, "type": "email" }]
response = falcon.create_notification_group_v2(channels=channels, description="string", name="string")print(response)from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
channels = [ { "config_id": "string", "config_name": "string", "params": {}, "type": "email" }]
response = falcon.entities_notification_groups_post_v2(channels=channels, description="string", name="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
body_payload = { "channels": [ { "config_id": "string", "config_name": "string", "params": {}, "type": "string" } ], "description": "string", "name": "string"}
response = falcon.command("entities_notification_groups_post_v2", body=body_payload)print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/case_management" "github.com/crowdstrike/gofalcon/falcon/models")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
config_id := "string" config_name := "string" typeVar := "string" description := "string" name := "string"
response, err := client.CaseManagement.EntitiesNotificationGroupsPostV2( &case_management.EntitiesNotificationGroupsPostV2Params{ Body: &models.APINotificationGroupV2CreateRequest{ Channels: []interface{}{ { ConfigID: &config_id, ConfigName: &config_name, Params: &struct{}{}, Type: &typeVar, }, }, Description: &description, Name: &name, }, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: process.env.FALCON_CLOUD!, clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.caseManagement.entitiesNotificationGroupsPostV2( { channels: [{ configId: "string", configName: "string", params: {}, type: "string" }], description: "string", name: "string"} // body);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::CaseManagement.new
body = Falcon::ApiNotificationGroupV2CreateRequest.new( channels: [{ config_id: 'string', config_name: 'string', params: {}, type: 'string' }], description: 'string', name: 'string')
response = api.entities_notification_groups_post_v2(body)
puts response[ { "channels": [], "cid": "string", "created_by": {}, "created_by_name": "string", "created_timestamp": "string", "description": "string", "id": "string", "name": "string", "updated_by": {}, "updated_by_name": "string", "updated_timestamp": "string" }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}entities.retrieve-rtr-file.post.v1
Section titled “entities.retrieve-rtr-file.post.v1”retrieves a file from host using RTR and adds it to a case
retrieve_rtr_fileParameters
Section titled “Parameters”from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.retrieve_rtr_file(aid="string", case_id="string", description="string", file_path="string")print(response)from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.entities_retrieve_rtr_file_post_v1(aid="string", case_id="string", description="string", file_path="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
body_payload = { "aid": "string", "case_id": "string", "description": "string", "file_path": "string"}
response = falcon.command("entities_retrieve_rtr_file_post_v1", body=body_payload)print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/case_files" "github.com/crowdstrike/gofalcon/falcon/models")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
aid := "string" case_id := "string" description := "string" file_path := "string"
response, err := client.CaseFiles.EntitiesRetrieveRtrFilePostV1( &case_files.EntitiesRetrieveRtrFilePostV1Params{ Body: &models.CasefilesapiRetrieveRTRFileRequestV1{ Aid: &aid, CaseID: &case_id, Description: &description, FilePath: &file_path, }, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: process.env.FALCON_CLOUD!, clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.caseFiles.entitiesRetrieveRtrFilePostV1( { aid: "string", caseId: "string", description: "string", filePath: "string"} // body);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::CaseFiles.new
body = Falcon::CasefilesapiRetrieveRTRFileRequestV1.new( aid: 'string', case_id: 'string', description: 'string', file_path: 'string')
response = api.entities_retrieve_rtr_file_post_v1(body)
puts response[ { "case_id": "string", "cid": "string", "description": "string", "file_size": "string", "file_size_bytes": 0, "file_type": "string", "hash_value": "string", "id": "string", "name": "string", "source": "string", "uploaded_by": "string", "uploaded_on": "string" }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}entities.retrieve-rtr-recent-file.post.v1
Section titled “entities.retrieve-rtr-recent-file.post.v1”RetrieveRecentRTRFile retrieves a recently fetched RTR file and adds it to a case
retrieve_rtr_recent_fileParameters
Section titled “Parameters”from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.retrieve_rtr_recent_file(aid="string", case_id="string", description="string", session_id="string", sha256="string")print(response)from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.entities_retrieve_rtr_recent_file_post_v1(aid="string", case_id="string", description="string", session_id="string", sha256="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
body_payload = { "aid": "string", "case_id": "string", "description": "string", "session_id": "string", "sha256": "string"}
response = falcon.command("entities_retrieve_rtr_recent_file_post_v1", body=body_payload)print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/case_files" "github.com/crowdstrike/gofalcon/falcon/models")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
aid := "string" case_id := "string" description := "string" session_id := "string" sha256 := "string"
response, err := client.CaseFiles.EntitiesRetrieveRtrRecentFilePostV1( &case_files.EntitiesRetrieveRtrRecentFilePostV1Params{ Body: &models.CasefilesapiRetrieveRTRRecentFileRequestV1{ Aid: &aid, CaseID: &case_id, Description: &description, SessionID: &session_id, Sha256: &sha256, }, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: process.env.FALCON_CLOUD!, clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.caseFiles.entitiesRetrieveRtrRecentFilePostV1( { aid: "string", caseId: "string", description: "string", sessionId: "string", sha256: "string"} // body);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::CaseFiles.new
body = Falcon::CasefilesapiRetrieveRTRRecentFileRequestV1.new( aid: 'string', case_id: 'string', description: 'string', session_id: 'string', sha256: 'string')
response = api.entities_retrieve_rtr_recent_file_post_v1(body)
puts response[ { "case_id": "string", "cid": "string", "description": "string", "file_size": "string", "file_size_bytes": 0, "file_type": "string", "hash_value": "string", "id": "string", "name": "string", "source": "string", "uploaded_by": "string", "uploaded_on": "string" }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}entities.slas.delete.v1
Section titled “entities.slas.delete.v1”Delete SLAs
delete_slaParameters
Section titled “Parameters”from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.delete_sla(ids=id_list)print(response)from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.entities_slas_delete_v1(ids=id_list)print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.command("entities_slas_delete_v1", ids=id_list)print(response)Remove-FalconNgsCaseSla -Id @("ID1", "ID2")package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/case_management")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
response, err := client.CaseManagement.EntitiesSlasDeleteV1( &case_management.EntitiesSlasDeleteV1Params{ Ids: []string{"ID1", "ID2", "ID3"}, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: process.env.FALCON_CLOUD!, clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.caseManagement.entitiesSlasDeleteV1("string"); // ids
console.log(response);use rusty_falcon::apis::case_management_api::entities_slas_delete_v1;use rusty_falcon::easy::client::FalconHandle;
#[tokio::main]async fn main() { let falcon = FalconHandle::from_env().await.expect("Could not authenticate");
let response = entities_slas_delete_v1( &falcon.cfg, // configuration vec!["string".to_string()], // ids ).await.expect("API call failed");
println!("{:?}", response);}require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::CaseManagement.new
response = api.entities_slas_delete_v1(['ID1', 'ID2', 'ID3'])
puts response[ "string"]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}entities.slas.get.v1
Section titled “entities.slas.get.v1”Get SLAs by ID
get_slasParameters
Section titled “Parameters”from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.get_slas(ids=id_list)print(response)from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.entities_slas_get_v1(ids=id_list)print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.command("entities_slas_get_v1", ids=id_list)print(response)Get-FalconNgsCaseSla -Id @("ID1", "ID2")package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/case_management")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
response, err := client.CaseManagement.EntitiesSlasGetV1( &case_management.EntitiesSlasGetV1Params{ Ids: []string{"ID1", "ID2", "ID3"}, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: process.env.FALCON_CLOUD!, clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.caseManagement.entitiesSlasGetV1("string"); // ids
console.log(response);use rusty_falcon::apis::case_management_api::entities_slas_get_v1;use rusty_falcon::easy::client::FalconHandle;
#[tokio::main]async fn main() { let falcon = FalconHandle::from_env().await.expect("Could not authenticate");
let response = entities_slas_get_v1( &falcon.cfg, // configuration vec!["string".to_string()], // ids ).await.expect("API call failed");
println!("{:?}", response);}require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::CaseManagement.new
response = api.entities_slas_get_v1(['ID1', 'ID2', 'ID3'])
puts response[ { "cid": "string", "created_by": {}, "created_by_name": "string", "created_timestamp": "string", "description": "string", "goals": [], "id": "string", "name": "string", "updated_by": {}, "updated_by_name": "string", "updated_timestamp": "string" }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}entities.slas.patch.v1
Section titled “entities.slas.patch.v1”Update SLA
update_slaParameters
Section titled “Parameters”from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
goals = [ { "duration_seconds": 0, "escalation_policy": { "steps": [ { "escalate_after_seconds": 0, "notification_group_id": "string" } ] }, "type": "string" }]
response = falcon.update_sla(description="string", goals=goals, name="string")print(response)from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
goals = [ { "duration_seconds": 0, "escalation_policy": { "steps": [ { "escalate_after_seconds": 0, "notification_group_id": "string" } ] }, "type": "string" }]
response = falcon.entities_slas_patch_v1(description="string", goals=goals, name="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
body_payload = { "description": "string", "goals": [ { "duration_seconds": integer, "escalation_policy": { "steps": ["string"] }, "type": "string" } ], "id": "string", "name": "string"}
response = falcon.command("entities_slas_patch_v1", body=body_payload)print(response)Edit-FalconNgsCaseSla -Id "string"package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/case_management" "github.com/crowdstrike/gofalcon/falcon/models")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
description := "string" duration_seconds := integer typeVar := "string" id := "string" name := "string"
response, err := client.CaseManagement.EntitiesSlasPatchV1( &case_management.EntitiesSlasPatchV1Params{ Body: &models.APISLAV1UpdateRequest{ Description: &description, Goals: []interface{}{ { DurationSeconds: &duration_seconds, EscalationPolicy: &struct{}{}, Type: &typeVar, }, }, ID: &id, Name: &name, }, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: process.env.FALCON_CLOUD!, clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.caseManagement.entitiesSlasPatchV1( { description: "string", goals: [{ durationSeconds: integer, escalationPolicy: { steps: [] }, type: "string" }], id: "string", name: "string"} // body);
console.log(response);use rusty_falcon::apis::case_management_api::entities_slas_patch_v1;use rusty_falcon::easy::client::FalconHandle;use rusty_falcon::models::ApiSlav1UpdateRequest;
#[tokio::main]async fn main() { let falcon = FalconHandle::from_env().await.expect("Could not authenticate");
let body = ApiSlav1UpdateRequest { description: Some("string".to_string()), goals: vec![goals { duration_seconds: Some(integer), type: Some("string".to_string()), ..Default::default() }], id: Some("string".to_string()), name: Some("string".to_string()), ..Default::default() };
let response = entities_slas_patch_v1( &falcon.cfg, // configuration body, // body ).await.expect("API call failed");
println!("{:?}", response);}require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::CaseManagement.new
body = Falcon::ApiSLAV1UpdateRequest.new( description: 'string', goals: [{ duration_seconds: integer, escalation_policy: { steps: [] }, type: 'string' }], id: 'string', name: 'string')
response = api.entities_slas_patch_v1(body)
puts response[ { "cid": "string", "created_by": {}, "created_by_name": "string", "created_timestamp": "string", "description": "string", "goals": [], "id": "string", "name": "string", "updated_by": {}, "updated_by_name": "string", "updated_timestamp": "string" }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}entities.slas.post.v1
Section titled “entities.slas.post.v1”Create SLA
create_slaParameters
Section titled “Parameters”from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
goals = [ { "duration_seconds": 0, "escalation_policy": { "steps": [ { "escalate_after_seconds": 0, "notification_group_id": "string" } ] }, "type": "string" }]
response = falcon.create_sla(description="string", goals=goals, name="string")print(response)from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
goals = [ { "duration_seconds": 0, "escalation_policy": { "steps": [ { "escalate_after_seconds": 0, "notification_group_id": "string" } ] }, "type": "string" }]
response = falcon.entities_slas_post_v1(description="string", goals=goals, name="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
body_payload = { "description": "string", "goals": [ { "duration_seconds": integer, "escalation_policy": { "steps": ["string"] }, "type": "string" } ], "name": "string"}
response = falcon.command("entities_slas_post_v1", body=body_payload)print(response)New-FalconNgsCaseSla -Name "string"package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/case_management" "github.com/crowdstrike/gofalcon/falcon/models")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
description := "string" duration_seconds := integer typeVar := "string" name := "string"
response, err := client.CaseManagement.EntitiesSlasPostV1( &case_management.EntitiesSlasPostV1Params{ Body: &models.APISLAV1CreateRequest{ Description: &description, Goals: []interface{}{ { DurationSeconds: &duration_seconds, EscalationPolicy: &struct{}{}, Type: &typeVar, }, }, Name: &name, }, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: process.env.FALCON_CLOUD!, clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.caseManagement.entitiesSlasPostV1( { description: "string", goals: [{ durationSeconds: integer, escalationPolicy: { steps: [] }, type: "string" }], name: "string"} // body);
console.log(response);use rusty_falcon::apis::case_management_api::entities_slas_post_v1;use rusty_falcon::easy::client::FalconHandle;use rusty_falcon::models::ApiSlav1CreateRequest;
#[tokio::main]async fn main() { let falcon = FalconHandle::from_env().await.expect("Could not authenticate");
let body = ApiSlav1CreateRequest { description: Some("string".to_string()), goals: vec![goals { duration_seconds: Some(integer), type: Some("string".to_string()), ..Default::default() }], name: Some("string".to_string()), ..Default::default() };
let response = entities_slas_post_v1( &falcon.cfg, // configuration body, // body ).await.expect("API call failed");
println!("{:?}", response);}require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::CaseManagement.new
body = Falcon::ApiSLAV1CreateRequest.new( description: 'string', goals: [{ duration_seconds: integer, escalation_policy: { steps: [] }, type: 'string' }], name: 'string')
response = api.entities_slas_post_v1(body)
puts response[ { "cid": "string", "created_by": {}, "created_by_name": "string", "created_timestamp": "string", "description": "string", "goals": [], "id": "string", "name": "string", "updated_by": {}, "updated_by_name": "string", "updated_timestamp": "string" }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}entities.template-snapshots.get.v1
Section titled “entities.template-snapshots.get.v1”Get template snapshots
get_template_snapshotsParameters
Section titled “Parameters”template_ids. A value of zero will return the latest snapshot.from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.get_template_snapshots(ids=id_list, template_ids=id_list, versions=id_list)print(response)from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.entities_template_snapshots_get_v1(ids=id_list, template_ids=id_list, versions=id_list)print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.command("entities_template_snapshots_get_v1", ids=id_list, template_ids=id_list, versions=id_list)print(response)Get-FalconNgsCaseTemplateSnapshot -Id @("ID1", "ID2")package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/case_management")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
response, err := client.CaseManagement.EntitiesTemplateSnapshotsGetV1( &case_management.EntitiesTemplateSnapshotsGetV1Params{ Ids: []string{"ID1", "ID2", "ID3"}, TemplateIds: []string{"ID1", "ID2", "ID3"}, Versions: []integer{0}, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: process.env.FALCON_CLOUD!, clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.caseManagement.entitiesTemplateSnapshotsGetV1( "string", // ids "string", // templateIds integer // versions);
console.log(response);use rusty_falcon::apis::case_management_api::entities_template_snapshots_get_v1;use rusty_falcon::easy::client::FalconHandle;
#[tokio::main]async fn main() { let falcon = FalconHandle::from_env().await.expect("Could not authenticate");
let response = entities_template_snapshots_get_v1( &falcon.cfg, // configuration Some(vec!["string".to_string()]), // ids Some(vec!["string".to_string()]), // template_ids Some(vec![]), // versions ).await.expect("API call failed");
println!("{:?}", response);}require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::CaseManagement.new
response = api.entities_template_snapshots_get_v1(ids: ['ID1', 'ID2', 'ID3'], template_ids: ['ID1', 'ID2', 'ID3'], versions: ['ID1', 'ID2', 'ID3'])
puts response[ { "cid": "string", "created_by": {}, "created_by_name": "string", "created_timestamp": "string", "id": "string", "template": "string", "template_id": "string", "updated_by": {}, "updated_by_name": "string", "updated_timestamp": "string", "version": 0 }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}entities.templates.delete.v1
Section titled “entities.templates.delete.v1”Delete templates
delete_templatesParameters
Section titled “Parameters”from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.delete_templates(ids=id_list)print(response)from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.entities_templates_delete_v1(ids=id_list)print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.command("entities_templates_delete_v1", ids=id_list)print(response)Remove-FalconNgsCaseTemplate -Id @("ID1", "ID2")package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/case_management")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
response, err := client.CaseManagement.EntitiesTemplatesDeleteV1( &case_management.EntitiesTemplatesDeleteV1Params{ Ids: []string{"ID1", "ID2", "ID3"}, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: process.env.FALCON_CLOUD!, clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.caseManagement.entitiesTemplatesDeleteV1("string"); // ids
console.log(response);use rusty_falcon::apis::case_management_api::entities_templates_delete_v1;use rusty_falcon::easy::client::FalconHandle;
#[tokio::main]async fn main() { let falcon = FalconHandle::from_env().await.expect("Could not authenticate");
let response = entities_templates_delete_v1( &falcon.cfg, // configuration vec!["string".to_string()], // ids ).await.expect("API call failed");
println!("{:?}", response);}require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::CaseManagement.new
response = api.entities_templates_delete_v1(['ID1', 'ID2', 'ID3'])
puts response{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}entities.templates.get.v1
Section titled “entities.templates.get.v1”Get templates by ID
get_templatesParameters
Section titled “Parameters”from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.get_templates(ids=id_list, with_has_access=boolean)print(response)from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.entities_templates_get_v1(ids=id_list, with_has_access=boolean)print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.command("entities_templates_get_v1", ids=id_list, with_has_access=boolean)print(response)Get-FalconNgsCaseTemplate -Id @("ID1", "ID2")package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/case_management")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
withHasAccess := boolean
response, err := client.CaseManagement.EntitiesTemplatesGetV1( &case_management.EntitiesTemplatesGetV1Params{ Ids: []string{"ID1", "ID2", "ID3"}, WithHasAccess: &withHasAccess, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: process.env.FALCON_CLOUD!, clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.caseManagement.entitiesTemplatesGetV1( "string", // ids boolean // withHasAccess);
console.log(response);use rusty_falcon::apis::case_management_api::entities_templates_get_v1;use rusty_falcon::easy::client::FalconHandle;
#[tokio::main]async fn main() { let falcon = FalconHandle::from_env().await.expect("Could not authenticate");
let response = entities_templates_get_v1( &falcon.cfg, // configuration vec!["string".to_string()], // ids ).await.expect("API call failed");
println!("{:?}", response);}require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::CaseManagement.new
response = api.entities_templates_get_v1(['ID1', 'ID2', 'ID3'])
puts response[ { "access_tags": [], "cid": "string", "created_by": {}, "created_by_name": "string", "created_timestamp": "string", "description": "string", "fields": [], "has_access": false, "id": "string", "name": "string", "sla_id": "string", "sla_method": "string", "sla_rules": [], "updated_by": {}, "updated_by_name": "string", "updated_timestamp": "string", "workflows": [] }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}entities.templates.patch.v1
Section titled “entities.templates.patch.v1”Update template
update_templateParameters
Section titled “Parameters”from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
fields = [ { "data_type": "string", "default_value": "string", "id": "string", "input_type": "string", "multivalued": True, "name": "string", "options": [ { "id": "string", "value": "string" } ], "required": True }]
response = falcon.update_template(description="string", fields=fields, id="string", name="string", sla_id="string")print(response)from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
fields = [ { "data_type": "string", "default_value": "string", "id": "string", "input_type": "string", "multivalued": True, "name": "string", "options": [ { "id": "string", "value": "string" } ], "required": True }]
response = falcon.entities_templates_patch_v1(description="string", fields=fields, id="string", name="string", sla_id="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
body_payload = { "access_tags": [ { "cid": "string", "has_access": boolean, "id": "string", "key": "string", "templates": [ { "id": "string", "name": "string" } ] } ], "description": "string", "fields": [ { "data_type": "string", "default_value": "string", "display_order": integer, "id": "string", "input_type": "string", "multivalued": boolean, "name": "string", "options": [ { "id": "string", "value": "string" } ], "required": boolean } ], "id": "string", "name": "string", "sla_id": "string", "sla_rules": [ { "condition": "string", "id": "string", "sla_id": "string", "type": "string" } ], "workflows": [ { "display_order": integer, "id": "string" } ]}
response = falcon.command("entities_templates_patch_v1", body=body_payload)print(response)Edit-FalconNgsCaseTemplate -Id "string"package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/case_management" "github.com/crowdstrike/gofalcon/falcon/models")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
cid := "string" has_access := boolean id := "string" key := "string" name := "string" description := "string" data_type := "string" default_value := "string" display_order := integer input_type := "string" multivalued := boolean value := "string" required := boolean sla_id := "string" condition := "string" typeVar := "string"
response, err := client.CaseManagement.EntitiesTemplatesPatchV1( &case_management.EntitiesTemplatesPatchV1Params{ Body: &models.APITemplateV1UpdateRequest{ AccessTags: []interface{}{ { CID: &cid, HasAccess: &has_access, ID: &id, Key: &key, Templates: []interface{}{ { ID: &id, Name: &name, }, }, }, }, Description: &description, Fields: []interface{}{ { DataType: &data_type, DefaultValue: &default_value, DisplayOrder: &display_order, ID: &id, InputType: &input_type, Multivalued: &multivalued, Name: &name, Options: []interface{}{ { ID: &id, Value: &value, }, }, Required: &required, }, }, ID: &id, Name: &name, SlaID: &sla_id, SlaRules: []interface{}{ { Condition: &condition, ID: &id, SlaID: &sla_id, Type: &typeVar, }, }, Workflows: []interface{}{ { DisplayOrder: &display_order, ID: &id, }, }, }, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: process.env.FALCON_CLOUD!, clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.caseManagement.entitiesTemplatesPatchV1( { accessTags: [{ cid: "string", hasAccess: boolean, id: "string", key: "string", templates: [{ id: "string", name: "string" }] }], description: "string", fields: [{ dataType: "string", defaultValue: "string", displayOrder: integer, id: "string", inputType: "string", multivalued: boolean, name: "string", options: [{ id: "string", value: "string" }], required: boolean }], id: "string", name: "string", slaId: "string", slaRules: [{ condition: "string", id: "string", slaId: "string", type: "string" }], workflows: [{ displayOrder: integer, id: "string" }]} // body);
console.log(response);use rusty_falcon::apis::case_management_api::entities_templates_patch_v1;use rusty_falcon::easy::client::FalconHandle;use rusty_falcon::models::ApiTemplateV1UpdateRequest;
#[tokio::main]async fn main() { let falcon = FalconHandle::from_env().await.expect("Could not authenticate");
let body = ApiTemplateV1UpdateRequest { id: Some("string".to_string()), name: Some("string".to_string()), ..Default::default() };
let response = entities_templates_patch_v1( &falcon.cfg, // configuration body, // body ).await.expect("API call failed");
println!("{:?}", response);}require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::CaseManagement.new
body = Falcon::ApiTemplateV1UpdateRequest.new( access_tags: [{ cid: 'string', has_access: boolean, id: 'string', key: 'string', templates: [{ id: 'string', name: 'string' }] }], description: 'string', fields: [{ data_type: 'string', default_value: 'string', display_order: integer, id: 'string', input_type: 'string', multivalued: boolean, name: 'string', options: [{ id: 'string', value: 'string' }], required: boolean }], id: 'string', name: 'string', sla_id: 'string', sla_rules: [{ condition: 'string', id: 'string', sla_id: 'string', type: 'string' }], workflows: [{ display_order: integer, id: 'string' }])
response = api.entities_templates_patch_v1(body)
puts response[ { "access_tags": [], "cid": "string", "created_by": {}, "created_by_name": "string", "created_timestamp": "string", "description": "string", "fields": [], "has_access": false, "id": "string", "name": "string", "sla_id": "string", "sla_method": "string", "sla_rules": [], "updated_by": {}, "updated_by_name": "string", "updated_timestamp": "string", "workflows": [] }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}entities.templates.post.v1
Section titled “entities.templates.post.v1”Create template
create_templateParameters
Section titled “Parameters”from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
fields = [ { "data_type": "string", "default_value": "string", "input_type": "string", "multivalued": True, "name": "string", "options": [ { "value": "string" } ], "required": True }]
response = falcon.create_template(description="string", fields=fields, name="string", sla_id="string")print(response)from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
fields = [ { "data_type": "string", "default_value": "string", "input_type": "string", "multivalued": True, "name": "string", "options": [ { "value": "string" } ], "required": True }]
response = falcon.entities_templates_post_v1(description="string", fields=fields, name="string", sla_id="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
body_payload = { "access_tags": [ { "cid": "string", "has_access": boolean, "id": "string", "key": "string", "templates": [ { "id": "string", "name": "string" } ] } ], "description": "string", "fields": [ { "data_type": "string", "default_value": "string", "display_order": integer, "input_type": "string", "multivalued": boolean, "name": "string", "options": [ { "value": "string" } ], "required": boolean } ], "name": "string", "sla_id": "string", "sla_rules": [ { "condition": "string", "sla_id": "string", "type": "string" } ], "workflows": [ { "display_order": integer, "id": "string" } ]}
response = falcon.command("entities_templates_post_v1", body=body_payload)print(response)New-FalconNgsCaseTemplate -Name "string"package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/case_management" "github.com/crowdstrike/gofalcon/falcon/models")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
cid := "string" has_access := boolean id := "string" key := "string" name := "string" description := "string" data_type := "string" default_value := "string" display_order := integer input_type := "string" multivalued := boolean value := "string" required := boolean sla_id := "string" condition := "string" typeVar := "string"
response, err := client.CaseManagement.EntitiesTemplatesPostV1( &case_management.EntitiesTemplatesPostV1Params{ Body: &models.APITemplateV1CreateRequest{ AccessTags: []interface{}{ { CID: &cid, HasAccess: &has_access, ID: &id, Key: &key, Templates: []interface{}{ { ID: &id, Name: &name, }, }, }, }, Description: &description, Fields: []interface{}{ { DataType: &data_type, DefaultValue: &default_value, DisplayOrder: &display_order, InputType: &input_type, Multivalued: &multivalued, Name: &name, Options: []interface{}{ { Value: &value, }, }, Required: &required, }, }, Name: &name, SlaID: &sla_id, SlaRules: []interface{}{ { Condition: &condition, SlaID: &sla_id, Type: &typeVar, }, }, Workflows: []interface{}{ { DisplayOrder: &display_order, ID: &id, }, }, }, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: process.env.FALCON_CLOUD!, clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.caseManagement.entitiesTemplatesPostV1( { accessTags: [{ cid: "string", hasAccess: boolean, id: "string", key: "string", templates: [{ id: "string", name: "string" }] }], description: "string", fields: [{ dataType: "string", defaultValue: "string", displayOrder: integer, inputType: "string", multivalued: boolean, name: "string", options: [{ value: "string" }], required: boolean }], name: "string", slaId: "string", slaRules: [{ condition: "string", slaId: "string", type: "string" }], workflows: [{ displayOrder: integer, id: "string" }]} // body);
console.log(response);use rusty_falcon::apis::case_management_api::entities_templates_post_v1;use rusty_falcon::easy::client::FalconHandle;use rusty_falcon::models::ApiTemplateV1CreateRequest;
#[tokio::main]async fn main() { let falcon = FalconHandle::from_env().await.expect("Could not authenticate");
let body = ApiTemplateV1CreateRequest { name: Some("string".to_string()), ..Default::default() };
let response = entities_templates_post_v1( &falcon.cfg, // configuration body, // body ).await.expect("API call failed");
println!("{:?}", response);}require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::CaseManagement.new
body = Falcon::ApiTemplateV1CreateRequest.new( access_tags: [{ cid: 'string', has_access: boolean, id: 'string', key: 'string', templates: [{ id: 'string', name: 'string' }] }], description: 'string', fields: [{ data_type: 'string', default_value: 'string', display_order: integer, input_type: 'string', multivalued: boolean, name: 'string', options: [{ value: 'string' }], required: boolean }], name: 'string', sla_id: 'string', sla_rules: [{ condition: 'string', sla_id: 'string', type: 'string' }], workflows: [{ display_order: integer, id: 'string' }])
response = api.entities_templates_post_v1(body)
puts response[ { "access_tags": [], "cid": "string", "created_by": {}, "created_by_name": "string", "created_timestamp": "string", "description": "string", "fields": [], "has_access": false, "id": "string", "name": "string", "sla_id": "string", "sla_method": "string", "sla_rules": [], "updated_by": {}, "updated_by_name": "string", "updated_timestamp": "string", "workflows": [] }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}entities.templates_export.get.v1
Section titled “entities.templates_export.get.v1”Export templates to files in a zip archive
export_templatesParameters
Section titled “Parameters”Available values (2)
yaml | json |
from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.export_templates(ids=id_list, filter="string", format="string")print(response)from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.entities_templates_export_get_v1(ids=id_list, filter="string", format="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.command("entities_templates_export_get_v1", ids=id_list, filter="string", format="string")print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/case_management")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
filter := "string" format := "string"
response, err := client.CaseManagement.EntitiesTemplatesExportGetV1( &case_management.EntitiesTemplatesExportGetV1Params{ Ids: []string{"ID1", "ID2", "ID3"}, Filter: &filter, Format: &format, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: process.env.FALCON_CLOUD!, clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.caseManagement.entitiesTemplatesExportGetV1( "string", // ids "string", // filter "string" // format);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::CaseManagement.new
response = api.entities_templates_export_get_v1(ids: ['ID1', 'ID2', 'ID3'], filter: 'string', format: 'string')
puts response{ "link": "string"}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}entities.templates_import.post.v1
Section titled “entities.templates_import.post.v1”Import a template from a file
import_templateParameters
Section titled “Parameters”from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.import_template(file="string", dry_run=boolean)print(response)from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.entities_templates_import_post_v1(file="string", dry_run=boolean)print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.command("entities_templates_import_post_v1", file_data=open("filename", "rb").read(), dry_run=boolean)print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/case_management")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
dryRun := boolean
response, err := client.CaseManagement.EntitiesTemplatesImportPostV1( &case_management.EntitiesTemplatesImportPostV1Params{ DryRun: &dryRun, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: process.env.FALCON_CLOUD!, clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.caseManagement.entitiesTemplatesImportPostV1( "string", // file boolean // dryRun);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::CaseManagement.new
response = api.entities_templates_import_post_v1('string')
puts response[ { "access_tags": [], "cid": "string", "created_by": {}, "created_by_name": "string", "created_timestamp": "string", "description": "string", "fields": [], "has_access": false, "id": "string", "name": "string", "sla_id": "string", "sla_method": "string", "sla_rules": [], "updated_by": {}, "updated_by_name": "string", "updated_timestamp": "string", "workflows": [] }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}queries.access-tags.get.v1
Section titled “queries.access-tags.get.v1”Query access tags
query_access_tagsParameters
Section titled “Parameters”from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.query_access_tags(filter="string", sort="string", limit=integer, after="string")print(response)from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.queries_access_tags_get_v1(filter="string", sort="string", limit=integer, after="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.command("queries_access_tags_get_v1", filter="string", sort="string", limit=integer, after="string")print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/case_management")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
filter := "string" sort := "string" limit := int64(0) after := "string"
response, err := client.CaseManagement.QueriesAccessTagsGetV1( &case_management.QueriesAccessTagsGetV1Params{ Filter: &filter, Sort: &sort, Limit: &limit, After: &after, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: process.env.FALCON_CLOUD!, clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.caseManagement.queriesAccessTagsGetV1( "string", // filter "string", // sort integer, // limit "string" // after);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::CaseManagement.new
response = api.queries_access_tags_get_v1(filter: 'string', sort: 'string', limit: integer, after: 'string')
puts response[ "string"]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}queries.cases.get.v1
Section titled “queries.cases.get.v1”Retrieves all Cases IDs that match a given query.
query_case_idsParameters
Section titled “Parameters”offset parameter to manage pagination of the results.0 is the latest case. Use with the offset parameter to manage pagination of results.from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.query_case_ids(limit=integer, offset=integer, sort="string", filter="string", q="string")print(response)from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.queries_cases_get_v1(limit=integer, offset=integer, sort="string", filter="string", q="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.command("queries_cases_get_v1", limit=integer, offset=integer, sort="string", filter="string", q="string")print(response)Get-FalconNgsCase -Filter "string" ` -Query "string" ` -Sort "string" ` -Limit integer ` -Offset integerpackage main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/cases")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
limit := int64(0) offset := int64(0) sort := "string" filter := "string" q := "string"
response, err := client.Cases.QueriesCasesGetV1( &cases.QueriesCasesGetV1Params{ Limit: &limit, Offset: &offset, Sort: &sort, Filter: &filter, Q: &q, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: process.env.FALCON_CLOUD!, clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.cases.queriesCasesGetV1( integer, // limit integer, // offset "string", // sort "string", // filter "string" // q);
console.log(response);use rusty_falcon::apis::cases_api::queries_cases_get_v1;use rusty_falcon::easy::client::FalconHandle;
#[tokio::main]async fn main() { let falcon = FalconHandle::from_env().await.expect("Could not authenticate");
let response = queries_cases_get_v1( &falcon.cfg, // configuration Some(integer), // limit Some(integer), // offset Some("string"), // sort Some("string"), // filter Some("string"), // q ).await.expect("API call failed");
println!("{:?}", response);}Examples coming soon.
[ "string"]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }, "resources": [ "string" ]}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }, "resources": [ "string" ]}queries.fields.get.v1
Section titled “queries.fields.get.v1”Query fields
query_fieldsParameters
Section titled “Parameters”from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.query_fields(filter="string", limit=integer, offset=integer)print(response)from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.queries_fields_get_v1(filter="string", limit=integer, offset=integer)print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.command("queries_fields_get_v1", filter="string", limit=integer, offset=integer)print(response)Get-FalconNgsCaseField -Filter "string" ` -Limit integer ` -Offset integerpackage main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/case_management")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
filter := "string" limit := int64(0) offset := int64(0)
response, err := client.CaseManagement.QueriesFieldsGetV1( &case_management.QueriesFieldsGetV1Params{ Filter: &filter, Limit: &limit, Offset: &offset, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: process.env.FALCON_CLOUD!, clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.caseManagement.queriesFieldsGetV1( "string", // filter integer, // limit integer // offset);
console.log(response);use rusty_falcon::apis::case_management_api::queries_fields_get_v1;use rusty_falcon::easy::client::FalconHandle;
#[tokio::main]async fn main() { let falcon = FalconHandle::from_env().await.expect("Could not authenticate");
let response = queries_fields_get_v1( &falcon.cfg, // configuration Some("string"), // filter Some(integer), // limit Some(integer), // offset ).await.expect("API call failed");
println!("{:?}", response);}require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::CaseManagement.new
response = api.queries_fields_get_v1(filter: 'string', limit: integer, offset: integer)
puts response[ "string"]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}queries.file-details.get.v1
Section titled “queries.file-details.get.v1”Query for ids of file details
query_file_detail_idsParameters
Section titled “Parameters”from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.query_file_detail_ids(filter="string", limit=integer, offset=integer)print(response)from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.queries_file_details_get_v1(filter="string", limit=integer, offset=integer)print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.command("queries_file_details_get_v1", filter="string", limit=integer, offset=integer)print(response)Get-FalconNgsCaseFile -Filter "string" ` -Limit integer ` -Offset integerpackage main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/case_files")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
filter := "string" limit := int64(0) offset := int64(0)
response, err := client.CaseFiles.QueriesFileDetailsGetV1( &case_files.QueriesFileDetailsGetV1Params{ Filter: &filter, Limit: &limit, Offset: &offset, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: process.env.FALCON_CLOUD!, clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.caseFiles.queriesFileDetailsGetV1( "string", // filter integer, // limit integer // offset);
console.log(response);use rusty_falcon::apis::case_files_api::queries_file_details_get_v1;use rusty_falcon::easy::client::FalconHandle;
#[tokio::main]async fn main() { let falcon = FalconHandle::from_env().await.expect("Could not authenticate");
let response = queries_file_details_get_v1( &falcon.cfg, // configuration Some("string"), // filter Some(integer), // limit Some(integer), // offset ).await.expect("API call failed");
println!("{:?}", response);}require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::CaseFiles.new
response = api.queries_file_details_get_v1(filter: 'string', limit: integer, offset: integer)
puts response[ "string"]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}queries.notification-groups.get.v1
Section titled “queries.notification-groups.get.v1”Query notification groups
query_notification_groupsParameters
Section titled “Parameters”from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.query_notification_groups(filter="string", sort="string", limit=integer, offset=integer)print(response)from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.queries_notification_groups_get_v1(filter="string", sort="string", limit=integer, offset=integer)print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.command("queries_notification_groups_get_v1", filter="string", sort="string", limit=integer, offset=integer)print(response)Get-FalconNgsCaseNotificationGroup -Filter "string" ` -Limit integer ` -Offset integerpackage main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/case_management")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
filter := "string" sort := "string" limit := int64(0) offset := int64(0)
response, err := client.CaseManagement.QueriesNotificationGroupsGetV1( &case_management.QueriesNotificationGroupsGetV1Params{ Filter: &filter, Sort: &sort, Limit: &limit, Offset: &offset, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: process.env.FALCON_CLOUD!, clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.caseManagement.queriesNotificationGroupsGetV1( "string", // filter "string", // sort integer, // limit integer // offset);
console.log(response);use rusty_falcon::apis::case_management_api::queries_notification_groups_get_v1;use rusty_falcon::easy::client::FalconHandle;
#[tokio::main]async fn main() { let falcon = FalconHandle::from_env().await.expect("Could not authenticate");
let response = queries_notification_groups_get_v1( &falcon.cfg, // configuration Some("string"), // filter Some(integer), // limit Some(integer), // offset ).await.expect("API call failed");
println!("{:?}", response);}require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::CaseManagement.new
response = api.queries_notification_groups_get_v1(filter: 'string', sort: 'string', limit: integer, offset: integer)
puts response[ "string"]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}queries.notification-groups.get.v2
Section titled “queries.notification-groups.get.v2”Query notification groups
query_notification_groups_v2Parameters
Section titled “Parameters”from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.query_notification_groups_v2(filter="string", sort="string", limit=integer, offset=integer)print(response)from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.queries_notification_groups_get_v2(filter="string", sort="string", limit=integer, offset=integer)print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.command("queries_notification_groups_get_v2", filter="string", sort="string", limit=integer, offset=integer)print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/case_management")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
filter := "string" sort := "string" limit := int64(0) offset := int64(0)
response, err := client.CaseManagement.QueriesNotificationGroupsGetV2( &case_management.QueriesNotificationGroupsGetV2Params{ Filter: &filter, Sort: &sort, Limit: &limit, Offset: &offset, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: process.env.FALCON_CLOUD!, clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.caseManagement.queriesNotificationGroupsGetV2( "string", // filter "string", // sort integer, // limit integer // offset);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::CaseManagement.new
response = api.queries_notification_groups_get_v2(filter: 'string', sort: 'string', limit: integer, offset: integer)
puts response[ "string"]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}queries.slas.get.v1
Section titled “queries.slas.get.v1”Query SLAs
query_slasParameters
Section titled “Parameters”from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.query_slas(filter="string", sort="string", limit=integer, offset=integer)print(response)from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.queries_slas_get_v1(filter="string", sort="string", limit=integer, offset=integer)print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.command("queries_slas_get_v1", filter="string", sort="string", limit=integer, offset=integer)print(response)Get-FalconNgsCaseSla -Filter "string" ` -Limit integer ` -Offset integerpackage main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/case_management")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
filter := "string" sort := "string" limit := int64(0) offset := int64(0)
response, err := client.CaseManagement.QueriesSlasGetV1( &case_management.QueriesSlasGetV1Params{ Filter: &filter, Sort: &sort, Limit: &limit, Offset: &offset, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: process.env.FALCON_CLOUD!, clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.caseManagement.queriesSlasGetV1( "string", // filter "string", // sort integer, // limit integer // offset);
console.log(response);use rusty_falcon::apis::case_management_api::queries_slas_get_v1;use rusty_falcon::easy::client::FalconHandle;
#[tokio::main]async fn main() { let falcon = FalconHandle::from_env().await.expect("Could not authenticate");
let response = queries_slas_get_v1( &falcon.cfg, // configuration Some("string"), // filter Some(integer), // limit Some(integer), // offset ).await.expect("API call failed");
println!("{:?}", response);}require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::CaseManagement.new
response = api.queries_slas_get_v1(filter: 'string', sort: 'string', limit: integer, offset: integer)
puts response[ "string"]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}queries.template-snapshots.get.v1
Section titled “queries.template-snapshots.get.v1”Query template snapshots
query_template_snapshotsParameters
Section titled “Parameters”from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.query_template_snapshots(filter="string", limit=integer, offset=integer)print(response)from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.queries_template_snapshots_get_v1(filter="string", limit=integer, offset=integer)print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.command("queries_template_snapshots_get_v1", filter="string", limit=integer, offset=integer)print(response)Get-FalconNgsCaseTemplateSnapshot -Filter "string" ` -Limit integer ` -Offset integerpackage main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/case_management")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
filter := "string" limit := int64(0) offset := int64(0)
response, err := client.CaseManagement.QueriesTemplateSnapshotsGetV1( &case_management.QueriesTemplateSnapshotsGetV1Params{ Filter: &filter, Limit: &limit, Offset: &offset, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: process.env.FALCON_CLOUD!, clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.caseManagement.queriesTemplateSnapshotsGetV1( "string", // filter integer, // limit integer // offset);
console.log(response);use rusty_falcon::apis::case_management_api::queries_template_snapshots_get_v1;use rusty_falcon::easy::client::FalconHandle;
#[tokio::main]async fn main() { let falcon = FalconHandle::from_env().await.expect("Could not authenticate");
let response = queries_template_snapshots_get_v1( &falcon.cfg, // configuration Some("string"), // filter Some(integer), // limit Some(integer), // offset ).await.expect("API call failed");
println!("{:?}", response);}require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::CaseManagement.new
response = api.queries_template_snapshots_get_v1(filter: 'string', limit: integer, offset: integer)
puts response[ "string"]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}queries.templates.get.v1
Section titled “queries.templates.get.v1”Query templates
query_templatesParameters
Section titled “Parameters”from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.query_templates(filter="string", sort="string", limit=integer, offset=integer)print(response)from falconpy import CaseManagement
falcon = CaseManagement(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.queries_templates_get_v1(filter="string", sort="string", limit=integer, offset=integer)print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.command("queries_templates_get_v1", filter="string", sort="string", limit=integer, offset=integer)print(response)Get-FalconNgsCaseTemplate -Filter "string" ` -Limit integer ` -Offset integerpackage main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/case_management")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
filter := "string" sort := "string" limit := int64(0) offset := int64(0)
response, err := client.CaseManagement.QueriesTemplatesGetV1( &case_management.QueriesTemplatesGetV1Params{ Filter: &filter, Sort: &sort, Limit: &limit, Offset: &offset, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: process.env.FALCON_CLOUD!, clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.caseManagement.queriesTemplatesGetV1( "string", // filter "string", // sort integer, // limit integer // offset);
console.log(response);use rusty_falcon::apis::case_management_api::queries_templates_get_v1;use rusty_falcon::easy::client::FalconHandle;
#[tokio::main]async fn main() { let falcon = FalconHandle::from_env().await.expect("Could not authenticate");
let response = queries_templates_get_v1( &falcon.cfg, // configuration Some("string"), // filter Some(integer), // limit Some(integer), // offset ).await.expect("API call failed");
println!("{:?}", response);}require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::CaseManagement.new
response = api.queries_templates_get_v1(filter: 'string', sort: 'string', limit: integer, offset: integer)
puts response[ "string"]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}