Skip to content

Correlation Rules Admin

The Correlation Rules Admin service collection provides administrative operations for managing correlation rules. Change ownership of existing correlation rules to assign them to different API clients or users.

LanguageLast Update
Pythonv1.6.5
PowerShell
Gov0.22.0
TypeScriptv0.6.0
Rustv0.7.1
Rubyv1.4.0


OperationDescription
entities.rules_ownership.put.v1
change_correlation_rule_owner
Change the owner of an existing Correlation Rule
entities.rules_ownership.put.v2
entities_rules_ownership_put_v2
Bulk change the owner of existing Correlation Rules

Change the owner of an existing Correlation Rule

Method PUT
Route /correlation-rules/entities/rules/ownership/v1
Scope Correlation Rules Admin: WRITE
PEP 8 change_correlation_rule_owner
body body · dictionary
Full body payload as JSON formatted dictionary.
api_client_id body · string
The API client ID.
id body · string
The rule ID.
user_id body · string
The user ID.
user_uuid body · string
The user UUID.
from falconpy import CorrelationRulesAdmin
falcon = CorrelationRulesAdmin(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.change_correlation_rule_owner(api_client_id="string",
id="string",
user_id="string",
user_uuid="string")
print(response)
[
{
"anomaly": {},
"api_client_id": "string",
"author": "string",
"comment": "string",
"created_on": "string",
"customer_id": "string",
"description": "string",
"executor_rule_id": "string",
"guardrail_notifications": [],
"id": "string",
"last_execution": {},
"last_updated_on": "string",
"mitre_attack": [],
"name": "string",
"next_execution_on": "string",
"notifications": [],
"operation": {},
"rule_id": "string",
"search": {},
"severity": 0,
"state": "string",
"status": "string",
"status_msg": "string",
"tactic": "string",
"technique": "string",
"template_id": "string",
"type": "string",
"updated_by_api_client_id": "string",
"updated_by_user_id": "string",
"updated_by_user_uuid": "string",
"user_id": "string",
"user_uuid": "string",
"version": 0
}
]


Bulk change the owner of existing Correlation Rules

Method PUT
Route /correlation-rules/entities/rules/ownership/v2
Scope Correlation Rules Admin: WRITE
PEP 8 entities_rules_ownership_put_v2
body body · dictionary
Full body payload as JSON formatted dictionary.
api_client_id body · string
The api_client_id value.
ids body · array
The ids value.
user_id body · string
The user_id value.
user_uuid body · string
The user_uuid value.
from falconpy import CorrelationRulesAdmin
falcon = CorrelationRulesAdmin(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_rules_ownership_put_v2(api_client_id="string",
ids=id_list,
user_id="string",
user_uuid="string")
print(response)
[
"string"
]