Skip to content
Joshua Hiller edited this page Apr 12, 2021 · 24 revisions

CrowdStrike Falcon Twitter URL

Using the Intel service collection

Uber class support Uber class support

Table of Contents

API Function Description
QueryIntelActorEntities Get info about actors that match provided FQL filters.
QueryIntelIndicatorEntities Get info about indicators that match provided FQL filters.
QueryIntelReportEntities Get info about reports that match provided FQL filters.
GetIntelActorEntities Retrieve specific actors using their actor IDs.
GetIntelIndicatorEntities Retrieve specific indicators using their indicator IDs.
GetIntelReportPDF Return a Report PDF attachment
GetIntelReportEntities Retrieve specific reports using their report IDs.
GetIntelRuleFile Download earlier rule sets.
GetLatestIntelRuleFile Download the latest rule set.
GetIntelRuleEntities Retrieve details for rule sets for the specified ids.
QueryIntelActorIds Get actor IDs that match provided FQL filters.
QueryIntelIndicatorIds Get indicators IDs that match provided FQL filters.
QueryIntelReportIds Get report IDs that match provided FQL filters.
QueryIntelRuleIds Search for rule IDs that match provided filter criteria.

QueryIntelActorEntities

Get info about actors that match provided FQL filters.

Content-Type

  • Produces: application/json

Parameters

Required Name Type Datatype Description
offset query integer Set the starting row number to return actors from. Defaults to 0.
limit query integer Set the number of actors to return. The value must be between 1 and 5000.
sort query string Order fields in ascending or descending order. Ex: created_date
filter query string Filter your query by specifying FQL filter parameters. Filter parameters include: actors, actors.id, actors.name, actors.slug, actors.url, created_date, description, id, last_modified_date, motivations, motivations.id, motivations.slug, motivations.value, name, name.raw, short_description, slug, sub_type, sub_type.id, sub_type.name, sub_type.slug, tags, tags.id, tags.slug, tags.value, target_countries, target_countries.id, target_countries.slug, target_countries.value, target_industries, target_industries.id, target_industries.slug, target_industries.value, type, type.id, type.name, type.slug, url.
q query string Perform a generic substring search across all fields.
fields query array (string) The fields to return, or a predefined set of fields in the form of the collection name surrounded by two underscores like: . Ex: slug full. Defaults to basic.

Usage

Service class example
from falconpy import intel as FalconIntel

falcon = FalconIntel.Intel(creds={
     'client_id': falcon_client_id,
     'client_secret': falcon_client_secret
})

PARAMS = {
    'offset': integer,
    'limit': integer,
    'sort': 'string',
    'filter': 'string',
    'q': 'string',
    'fields': [
       'string',
       'string'
    ]
}

response = falcon.QueryIntelActorEntities(parameters=PARAMS)
print(response)
Uber class example
from falconpy import api_complete as FalconSDK

falcon = FalconSDK.APIHarness(creds={
      'client_id': falcon_client_id,
      'client_secret': falcon_client_secret
   }
)

PARAMS = {
    'offset': integer,
    'limit': integer,
    'sort': 'string',
    'filter': 'string',
    'q': 'string',
    'fields': [
       'string',
       'string'
    ]
}

response = falcon.command('QueryIntelActorEntities', parameters=PARAMS)
print(response)
falcon.deauthenticate()

QueryIntelIndicatorEntities

Get info about indicators that match provided FQL filters.

Content-Type

  • Produces: application/json

Parameters

Required Name Type Datatype Description
offset query integer Set the starting row number to return indicators from. Defaults to 0.
limit query integer Set the number of indicators to return. The number must be between 1 and 50000
sort query string Order fields in ascending or descending order. Ex: published_date
filter query string Filter your query by specifying FQL filter parameters. Filter parameters include: _marker, actors, deleted, domain_types, id, indicator, ip_address_types, kill_chains, labels, labels.created_on, labels.last_valid_on, labels.name, last_updated, malicious_confidence, malware_families, published_date, reports, targets, threat_types, type, vulnerabilities.
q query string Perform a generic substring search across all fields.
include_deleted query boolean If true, include both published and deleted indicators in the response. Defaults to false.

Usage

Service class example
from falconpy import intel as FalconIntel

falcon = FalconIntel.Intel(creds={
     'client_id': falcon_client_id,
     'client_secret': falcon_client_secret
})

PARAMS = {
    'offset': integer,
    'limit': integer,
    'sort': 'string',
    'filter': 'string',
    'q': 'string',
    'include_deleted': boolean
}

response = falcon.QueryIntelIndicatorEntities(parameters=PARAMS)
print(response)
Uber class example
from falconpy import api_complete as FalconSDK

falcon = FalconSDK.APIHarness(creds={
      'client_id': falcon_client_id,
      'client_secret': falcon_client_secret
   }
)

PARAMS = {
    'offset': integer,
    'limit': integer,
    'sort': 'string',
    'filter': 'string',
    'q': 'string',
    'include_deleted': boolean
}

response = falcon.command('QueryIntelIndicatorEntities', parameters=PARAMS)
print(response)
falcon.deauthenticate()

QueryIntelReportEntities

Get info about reports that match provided FQL filters.

Content-Type

  • Produces: application/json

Parameters

Required Name Type Datatype Description
offset query integer Set the starting row number to return reports from. Defaults to 0.
limit query integer Set the number of reports to return. The value must be between 1 and 5000.
sort query string Order fields in ascending or descending order. Ex: created_date
filter query string Filter your query by specifying FQL filter parameters. Filter parameters include: actors, actors.id, actors.name, actors.slug, actors.url, created_date, description, id, last_modified_date, motivations, motivations.id, motivations.slug, motivations.value, name, name.raw, short_description, slug, sub_type, sub_type.id, sub_type.name, sub_type.slug, tags, tags.id, tags.slug, tags.value, target_countries, target_countries.id, target_countries.slug, target_countries.value, target_industries, target_industries.id, target_industries.slug, target_industries.value, type, type.id, type.name, type.slug, url.
q query string Perform a generic substring search across all fields.
fields query array (string) The fields to return, or a predefined set of fields in the form of the collection name surrounded by two underscores like: . Ex: slug full. Defaults to basic.

Usage

Service class example
from falconpy import intel as FalconIntel

falcon = FalconIntel.Intel(creds={
     'client_id': falcon_client_id,
     'client_secret': falcon_client_secret
})

PARAMS = {
    'offset': integer,
    'limit': integer,
    'sort': 'string',
    'filter': 'string',
    'q': 'string',
    'fields': [
       'string',
       'string'
    ]
}

response = falcon.QueryIntelReportEntities(parameters=PARAMS)
print(response)
Uber class example
from falconpy import api_complete as FalconSDK

falcon = FalconSDK.APIHarness(creds={
      'client_id': falcon_client_id,
      'client_secret': falcon_client_secret
   }
)

PARAMS = {
    'offset': integer,
    'limit': integer,
    'sort': 'string',
    'filter': 'string',
    'q': 'string',
    'fields': [
       'string',
       'string'
    ]
}

response = falcon.command('QueryIntelReportEntities', parameters=PARAMS)
print(response)
falcon.deauthenticate()

GetIntelActorEntities

Retrieve specific actors using their actor IDs.

Content-Type

  • Produces: application/json

Parameters

Required Name Type Datatype Description
ids query array (string) The IDs of the actors you want to retrieve.
fields query array (string) The fields to return, or a predefined set of fields in the form of the collection name surrounded by two underscores like: . Ex: slug full. Defaults to basic.

Usage

Service class example
from falconpy import intel as FalconIntel

falcon = FalconIntel.Intel(creds={
     'client_id': falcon_client_id,
     'client_secret': falcon_client_secret
})

PARAMS = {
    'fields': [
       'string',
       'string'
    ]
}

IDS = 'ID1,ID2,ID3'

response = falcon.GetIntelActorEntities(parameters=PARAMS, ids=IDS)
print(response)
Uber class example
from falconpy import api_complete as FalconSDK

falcon = FalconSDK.APIHarness(creds={
      'client_id': falcon_client_id,
      'client_secret': falcon_client_secret
   }
)

PARAMS = {
    'fields': [
       'string',
       'string'
    ]
}

IDS = 'ID1,ID2,ID3'

response = falcon.command('GetIntelActorEntities', parameters=PARAMS, ids=IDS)
print(response)
falcon.deauthenticate()

GetIntelIndicatorEntities

Retrieve specific indicators using their indicator IDs.

Content-Type

  • Consumes: application/json
  • Produces: application/json

Parameters

Required Name Type Datatype Description
body body string

Usage

Service class example
from falconpy import intel as FalconIntel

falcon = FalconIntel.Intel(creds={
     'client_id': falcon_client_id,
     'client_secret': falcon_client_secret
})

BODY = {
    'Body Payload': 'See body description above'
}

response = falcon.GetIntelIndicatorEntities(body=BODY)
print(response)
Uber class example
from falconpy import api_complete as FalconSDK

falcon = FalconSDK.APIHarness(creds={
      'client_id': falcon_client_id,
      'client_secret': falcon_client_secret
   }
)

BODY = {
    'Body Payload': 'See body description above'
}

response = falcon.command('GetIntelIndicatorEntities', body=BODY)
print(response)
falcon.deauthenticate()

GetIntelReportPDF

Return a Report PDF attachment

Content-Type

  • Produces: application/octet-stream

Parameters

Required Name Type Datatype Description
id query string The ID of the report you want to download as a PDF.

Usage

Service class example
from falconpy import intel as FalconIntel

falcon = FalconIntel.Intel(creds={
     'client_id': falcon_client_id,
     'client_secret': falcon_client_secret
})

PARAMS = {
    'id': 'string'
}

response = falcon.GetIntelReportPDF(parameters=PARAMS)
print(response)
Uber class example
from falconpy import api_complete as FalconSDK

falcon = FalconSDK.APIHarness(creds={
      'client_id': falcon_client_id,
      'client_secret': falcon_client_secret
   }
)

PARAMS = {
    'id': 'string'
}

response = falcon.command('GetIntelReportPDF', parameters=PARAMS)
print(response)
falcon.deauthenticate()

GetIntelReportEntities

Retrieve specific reports using their report IDs.

Content-Type

  • Produces: application/json

Parameters

Required Name Type Datatype Description
ids query array (string) The IDs of the reports you want to retrieve.
fields query array (string) The fields to return, or a predefined set of fields in the form of the collection name surrounded by two underscores like: . Ex: slug full. Defaults to basic.

Usage

Service class example
from falconpy import intel as FalconIntel

falcon = FalconIntel.Intel(creds={
     'client_id': falcon_client_id,
     'client_secret': falcon_client_secret
})

PARAMS = {
    'fields': [
       'string',
       'string'
    ]
}

IDS = 'ID1,ID2,ID3'

response = falcon.GetIntelReportEntities(parameters=PARAMS, ids=IDS)
print(response)
Uber class example
from falconpy import api_complete as FalconSDK

falcon = FalconSDK.APIHarness(creds={
      'client_id': falcon_client_id,
      'client_secret': falcon_client_secret
   }
)

PARAMS = {
    'fields': [
       'string',
       'string'
    ]
}

IDS = 'ID1,ID2,ID3'

response = falcon.command('GetIntelReportEntities', parameters=PARAMS, ids=IDS)
print(response)
falcon.deauthenticate()

GetIntelRuleFile

Download earlier rule sets.

Content-Type

  • Produces: application/zip

Parameters

Required Name Type Datatype Description
Accept header string Choose the format you want the rule set in.
id query integer The ID of the rule set.
format query string Choose the format you want the rule set in. Valid formats are zip and gzip. Defaults to zip.

Usage

Service class example
from falconpy import intel as FalconIntel

falcon = FalconIntel.Intel(creds={
     'client_id': falcon_client_id,
     'client_secret': falcon_client_secret
})

PARAMS = {
    'id': integer,
    'format': 'string'
}

HEADERS = {
    'Accept': 'string'
}

response = falcon.GetIntelRuleFile(parameters=PARAMS, headers=HEADERS)
print(response)
Uber class example
from falconpy import api_complete as FalconSDK

falcon = FalconSDK.APIHarness(creds={
      'client_id': falcon_client_id,
      'client_secret': falcon_client_secret
   }
)

PARAMS = {
    'id': integer,
    'format': 'string'
}

HEADERS = {
    'Accept': 'string'
}

response = falcon.command('GetIntelRuleFile', parameters=PARAMS, headers=HEADERS)
print(response)
falcon.deauthenticate()

GetLatestIntelRuleFile

Download the latest rule set.

Content-Type

  • Produces: application/zip

Parameters

Required Name Type Datatype Description
Accept header string Choose the format you want the rule set in.
type query string The rule news report type. Accepted values: snort-suricata-master snort-suricata-update snort-suricata-changelog yara-master yara-update yara-changelog common-event-format netwitness
format query string Choose the format you want the rule set in. Valid formats are zip and gzip. Defaults to zip.

Usage

Service class example
from falconpy import intel as FalconIntel

falcon = FalconIntel.Intel(creds={
     'client_id': falcon_client_id,
     'client_secret': falcon_client_secret
})

PARAMS = {
    'type': 'string',
    'format': 'string'
}

HEADERS = {
    'Accept': 'string'
}

response = falcon.GetLatestIntelRuleFile(parameters=PARAMS, headers=HEADERS)
print(response)
Uber class example
from falconpy import api_complete as FalconSDK

falcon = FalconSDK.APIHarness(creds={
      'client_id': falcon_client_id,
      'client_secret': falcon_client_secret
   }
)

PARAMS = {
    'type': 'string',
    'format': 'string'
}

HEADERS = {
    'Accept': 'string'
}

response = falcon.command('GetLatestIntelRuleFile', parameters=PARAMS, headers=HEADERS)
print(response)
falcon.deauthenticate()

GetIntelRuleEntities

Retrieve details for rule sets for the specified ids.

Content-Type

  • Produces: application/json

Parameters

Required Name Type Datatype Description
ids query array (string) The ids of rules to return.

Usage

Service class example
from falconpy import intel as FalconIntel

falcon = FalconIntel.Intel(creds={
     'client_id': falcon_client_id,
     'client_secret': falcon_client_secret
})

IDS = 'ID1,ID2,ID3'

response = falcon.GetIntelRuleEntities(ids=IDS)
print(response)
Uber class example
from falconpy import api_complete as FalconSDK

falcon = FalconSDK.APIHarness(creds={
      'client_id': falcon_client_id,
      'client_secret': falcon_client_secret
   }
)

IDS = 'ID1,ID2,ID3'

response = falcon.command('GetIntelRuleEntities', ids=IDS)
print(response)
falcon.deauthenticate()

QueryIntelActorIds

Get actor IDs that match provided FQL filters.

Content-Type

  • Produces: application/json

Parameters

Required Name Type Datatype Description
offset query integer Set the starting row number to return actors IDs from. Defaults to 0.
limit query integer Set the number of actor IDs to return. The value must be between 1 and 5000.
sort query string Order fields in ascending or descending order. Ex: created_date
filter query string Filter your query by specifying FQL filter parameters. Filter parameters include: actors, actors.id, actors.name, actors.slug, actors.url, created_date, description, id, last_modified_date, motivations, motivations.id, motivations.slug, motivations.value, name, name.raw, short_description, slug, sub_type, sub_type.id, sub_type.name, sub_type.slug, tags, tags.id, tags.slug, tags.value, target_countries, target_countries.id, target_countries.slug, target_countries.value, target_industries, target_industries.id, target_industries.slug, target_industries.value, type, type.id, type.name, type.slug, url.
q query string Perform a generic substring search across all fields.

Usage

Service class example
from falconpy import intel as FalconIntel

falcon = FalconIntel.Intel(creds={
     'client_id': falcon_client_id,
     'client_secret': falcon_client_secret
})

PARAMS = {
    'offset': integer,
    'limit': integer,
    'sort': 'string',
    'filter': 'string',
    'q': 'string'
}

response = falcon.QueryIntelActorIds(parameters=PARAMS)
print(response)
Uber class example
from falconpy import api_complete as FalconSDK

falcon = FalconSDK.APIHarness(creds={
      'client_id': falcon_client_id,
      'client_secret': falcon_client_secret
   }
)

PARAMS = {
    'offset': integer,
    'limit': integer,
    'sort': 'string',
    'filter': 'string',
    'q': 'string'
}

response = falcon.command('QueryIntelActorIds', parameters=PARAMS)
print(response)
falcon.deauthenticate()

QueryIntelIndicatorIds

Get indicators IDs that match provided FQL filters.

Content-Type

  • Produces: application/json

Parameters

Required Name Type Datatype Description
offset query integer Set the starting row number to return indicator IDs from. Defaults to 0.
limit query integer Set the number of indicator IDs to return. The number must be between 1 and 50000
sort query string Order fields in ascending or descending order. Ex: published_date
filter query string Filter your query by specifying FQL filter parameters. Filter parameters include: _marker, actors, deleted, domain_types, id, indicator, ip_address_types, kill_chains, labels, labels.created_on, labels.last_valid_on, labels.name, last_updated, malicious_confidence, malware_families, published_date, reports, targets, threat_types, type, vulnerabilities.
q query string Perform a generic substring search across all fields.
include_deleted query boolean If true, include both published and deleted indicators in the response. Defaults to false.

Usage

Service class example
from falconpy import intel as FalconIntel

falcon = FalconIntel.Intel(creds={
     'client_id': falcon_client_id,
     'client_secret': falcon_client_secret
})

PARAMS = {
    'offset': integer,
    'limit': integer,
    'sort': 'string',
    'filter': 'string',
    'q': 'string',
    'include_deleted': boolean
}

response = falcon.QueryIntelIndicatorIds(parameters=PARAMS)
print(response)
Uber class example
from falconpy import api_complete as FalconSDK

falcon = FalconSDK.APIHarness(creds={
      'client_id': falcon_client_id,
      'client_secret': falcon_client_secret
   }
)

PARAMS = {
    'offset': integer,
    'limit': integer,
    'sort': 'string',
    'filter': 'string',
    'q': 'string',
    'include_deleted': boolean
}

response = falcon.command('QueryIntelIndicatorIds', parameters=PARAMS)
print(response)
falcon.deauthenticate()

QueryIntelReportIds

Get report IDs that match provided FQL filters.

Content-Type

  • Produces: application/json

Parameters

Required Name Type Datatype Description
offset query integer Set the starting row number to return report IDs from. Defaults to 0.
limit query integer Set the number of report IDs to return. The value must be between 1 and 5000.
sort query string Order fields in ascending or descending order. Ex: created_date
filter query string Filter your query by specifying FQL filter parameters. Filter parameters include: actors, actors.id, actors.name, actors.slug, actors.url, created_date, description, id, last_modified_date, motivations, motivations.id, motivations.slug, motivations.value, name, name.raw, short_description, slug, sub_type, sub_type.id, sub_type.name, sub_type.slug, tags, tags.id, tags.slug, tags.value, target_countries, target_countries.id, target_countries.slug, target_countries.value, target_industries, target_industries.id, target_industries.slug, target_industries.value, type, type.id, type.name, type.slug, url.
q query string Perform a generic substring search across all fields.

Usage

Service class example
from falconpy import intel as FalconIntel

falcon = FalconIntel.Intel(creds={
     'client_id': falcon_client_id,
     'client_secret': falcon_client_secret
})

PARAMS = {
    'offset': integer,
    'limit': integer,
    'sort': 'string',
    'filter': 'string',
    'q': 'string'
}

response = falcon.QueryIntelReportIds(parameters=PARAMS)
print(response)
Uber class example
from falconpy import api_complete as FalconSDK

falcon = FalconSDK.APIHarness(creds={
      'client_id': falcon_client_id,
      'client_secret': falcon_client_secret
   }
)

PARAMS = {
    'offset': integer,
    'limit': integer,
    'sort': 'string',
    'filter': 'string',
    'q': 'string'
}

response = falcon.command('QueryIntelReportIds', parameters=PARAMS)
print(response)
falcon.deauthenticate()

QueryIntelRuleIds

Search for rule IDs that match provided filter criteria.

Content-Type

  • Produces: application/json

Parameters

Required Name Type Datatype Description
offset query integer Set the starting row number to return reports from. Defaults to 0.
limit query integer The number of rule IDs to return. Defaults to 10.
sort query string Order fields in ascending or descending order. Ex: created_date
name query array (string) Search by rule title.
type query string The rule news report type. Accepted values: snort-suricata-master snort-suricata-update snort-suricata-changelog yara-master yara-update yara-changelog common-event-format netwitness
description query array (string) Substring match on description field.
tags query array (string) Search for rule tags.
min_created_date query integer Filter results to those created on or after a certain date.
max_created_date query string Filter results to those created on or before a certain date.
q query string Perform a generic substring search across all fields.

Usage

Service class example
from falconpy import intel as FalconIntel

falcon = FalconIntel.Intel(creds={
     'client_id': falcon_client_id,
     'client_secret': falcon_client_secret
})

PARAMS = {
    'offset': integer,
    'limit': integer,
    'sort': 'string',
    'name': [
       'string',
       'string'
    ],
    'type': 'string',
    'description': [
       'string',
       'string'
    ],
    'tags': [
       'string',
       'string'
    ],
    'min_created_date': integer,
    'max_created_date': 'string',
    'q': 'string'
}

response = falcon.QueryIntelRuleIds(parameters=PARAMS)
print(response)
Uber class example
from falconpy import api_complete as FalconSDK

falcon = FalconSDK.APIHarness(creds={
      'client_id': falcon_client_id,
      'client_secret': falcon_client_secret
   }
)

PARAMS = {
    'offset': integer,
    'limit': integer,
    'sort': 'string',
    'name': [
       'string',
       'string'
    ],
    'type': 'string',
    'description': [
       'string',
       'string'
    ],
    'tags': [
       'string',
       'string'
    ],
    'min_created_date': integer,
    'max_created_date': 'string',
    'q': 'string'
}

response = falcon.command('QueryIntelRuleIds', parameters=PARAMS)
print(response)
falcon.deauthenticate()

CrowdStrike Falcon

Clone this wiki locally