DataScanner - CrowdStrike/falconpy GitHub Wiki
Operation ID | Description | ||||
---|---|---|---|---|---|
|
Retrieves image registry credentials. | ||||
|
Retrieve pending tasks. | ||||
|
Reports back on task status. | ||||
|
Produces the input message into the corresponding Kafka topic. |
Retrieves image registry credentials.
get_image_registry_credentials
Method | Route |
---|---|
/data-security-dspm/entities/image-registry-credentials/v1 |
- Consumes: application/json
- Produces: application/json
No keywords or arguments accepted.
from falconpy import DataScanner
falcon = DataScanner(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.get_image_registry_credentials()
print(response)
from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.command("get_image_registry_credentials")
print(response)
Retrieve pending tasks.
get_data_scanner_tasks
Method | Route |
---|---|
/data-security-dspm/entities/scanner-tasks/v1 |
- Consumes: application/json
- Produces: application/json
Name | Service | Uber | Type | Data type | Description |
---|---|---|---|---|---|
scanner_id | query | string | ID of the data scanner. | ||
parameters | query | dictionary | Full query string parameters payload in JSON format. |
from falconpy import DataScanner
falcon = DataScanner(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.get_data_scanner_tasks(scanner_id="string")
print(response)
from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.command("get_data_scanner_tasks", scanner_id="string")
print(response)
Reports back on task status.
update_data_scanner_tasks
Method | Route |
---|---|
/data-security-dspm/entities/scanner-tasks/v1 |
- Consumes: application/json
- Produces: text/plain
Name | Service | Uber | Type | Data type | Description |
---|---|---|---|---|---|
scanner_id | query | ID of the data scanner. | |||
machine_id | query | Provider ID of machine. | |||
parameters | query | dictionary | Full query string parameters payload in JSON format. |
from falconpy import DataScanner
falcon = DataScanner(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.update_data_scanner_tasks(scanner_id="string", machine_id="string")
print(response)
from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.command("update_data_scanner_tasks", scanner_id="string", machine_id="string")
print(response)
Produces the input message into the corresponding Kafka topic.
handle
Method | Route |
---|---|
/data-security-dspm/entities/kafka-rest-produce/v1 |
- Consumes: application/json
- Produces: application/json
No keywords or arguments accepted.
from falconpy import DataScanner
falcon = DataScanner(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.handle()
print(response)
from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.command("handle")
print(response)