규칙
규칙에 대한 REST API 작업
개요
다음과 상호작용하려면 이 API 작업을 사용하세요 규칙 Panther에서.
rules API 엔터티는 다음에만 적용됩니다 Python 규칙로 생성된 규칙과 상호 작용하려면 간단/YAML 규칙, 보기 간단한 규칙.
API를 호출하려면 Panther REST API 사용 방법 지침을 참조하세요— 이 문서 페이지에서 직접 호출하는 방법에 대한 안내.
필수 권한
다음에 대해
GET작업을 수행하려면 API 토큰에 다음 권한이 있어야 합니다규칙 보기권한을 선택하세요.다음에 대해
POST,PUT및DELETE작업을 수행하려면 API 토큰에 다음 권한이 있어야 합니다규칙 관리권한을 선택하세요.
작업
set this field to false to exclude running tests prior to saving
trueset this field to true if you want to run tests without saving
falseThe python body of the rule
The amount of time in minutes for grouping alerts
60The description of the rule
The display name of the rule
Determines whether or not the rule is active
The id of the rule
The filter for the rule represented in YAML
log types
Determines if the rule is managed by panther
Destination IDs that override default alert routing based on severity
How to handle the generated alert
A list of fields in the event to create top 5 summaries for
The tags for the rule
the number of events that must match before an alert is triggered
1OK response.
No Content response.
bad_request: Bad Request response.
exists: Conflict response.
put creates or updates a rule
the id of the rule
set this field to false to exclude running tests prior to saving
trueset this field to true if you want to run tests without saving
falseThe python body of the rule
The amount of time in minutes for grouping alerts
60The description of the rule
The display name of the rule
Determines whether or not the rule is active
The id of the rule
The filter for the rule represented in YAML
log types
Determines if the rule is managed by panther
Destination IDs that override default alert routing based on severity
How to handle the generated alert
A list of fields in the event to create top 5 summaries for
The tags for the rule
the number of events that must match before an alert is triggered
1200 returned if the item already existed
201 returned if the item was created
No Content response.
bad_request: Bad Request response.
the pagination token
the maximum results to return
100Substring search by name (case-insensitive)
Only include rules in the given state
Only include rules which apply to one of the given log types
Only include rules with one of the given tags (case-insensitive)
Only include rules whose creator matches this user ID or actor ID
Only include rules last modified by this user ID or actor ID
OK response.
OK response.
Last updated
Was this helpful?

