Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55772,7 +55772,7 @@ components:
$ref: "#/components/schemas/SecurityMonitoringCriticalAsset"
type: object
SecurityMonitoringCriticalAssetSeverity:
description: Severity associated with this critical asset. Either an explicit severity can be set, or the severity can be increased or decreased.
description: Severity associated with this critical asset. Either an explicit severity can be set, or the severity can be increased or decreased, or the severity can be left unchanged (no-op).
enum:
- info
- low
Expand All @@ -55781,6 +55781,7 @@ components:
- critical
- increase
- decrease
- no-op
example: increase
type: string
x-enum-varnames:
Expand All @@ -55791,6 +55792,7 @@ components:
- CRITICAL
- INCREASE
- DECREASE
- NO_OP
SecurityMonitoringCriticalAssetType:
default: critical_assets
description: The type of the resource. The value should always be `critical_assets`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def __init__(
:param rule_query: The rule query of the critical asset, with the same syntax as the search bar for detection rules. This determines which rules this critical asset will apply to.
:type rule_query: str, optional

:param severity: Severity associated with this critical asset. Either an explicit severity can be set, or the severity can be increased or decreased.
:param severity: Severity associated with this critical asset. Either an explicit severity can be set, or the severity can be increased or decreased, or the severity can be left unchanged (no-op).
:type severity: SecurityMonitoringCriticalAssetSeverity, optional

:param tags: List of tags associated with the critical asset.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def __init__(
:param rule_query: The rule query of the critical asset, with the same syntax as the search bar for detection rules. This determines which rules this critical asset will apply to.
:type rule_query: str

:param severity: Severity associated with this critical asset. Either an explicit severity can be set, or the severity can be increased or decreased.
:param severity: Severity associated with this critical asset. Either an explicit severity can be set, or the severity can be increased or decreased, or the severity can be left unchanged (no-op).
:type severity: SecurityMonitoringCriticalAssetSeverity

:param tags: List of tags associated with the critical asset.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@

class SecurityMonitoringCriticalAssetSeverity(ModelSimple):
"""
Severity associated with this critical asset. Either an explicit severity can be set, or the severity can be increased or decreased.
Severity associated with this critical asset. Either an explicit severity can be set, or the severity can be increased or decreased, or the severity can be left unchanged (no-op).

:param value: Must be one of ["info", "low", "medium", "high", "critical", "increase", "decrease"].
:param value: Must be one of ["info", "low", "medium", "high", "critical", "increase", "decrease", "no-op"].
:type value: str
"""

Expand All @@ -28,6 +28,7 @@ class SecurityMonitoringCriticalAssetSeverity(ModelSimple):
"critical",
"increase",
"decrease",
"no-op",
}
INFO: ClassVar["SecurityMonitoringCriticalAssetSeverity"]
LOW: ClassVar["SecurityMonitoringCriticalAssetSeverity"]
Expand All @@ -36,6 +37,7 @@ class SecurityMonitoringCriticalAssetSeverity(ModelSimple):
CRITICAL: ClassVar["SecurityMonitoringCriticalAssetSeverity"]
INCREASE: ClassVar["SecurityMonitoringCriticalAssetSeverity"]
DECREASE: ClassVar["SecurityMonitoringCriticalAssetSeverity"]
NO_OP: ClassVar["SecurityMonitoringCriticalAssetSeverity"]

@cached_property
def openapi_types(_):
Expand All @@ -51,3 +53,4 @@ def openapi_types(_):
SecurityMonitoringCriticalAssetSeverity.CRITICAL = SecurityMonitoringCriticalAssetSeverity("critical")
SecurityMonitoringCriticalAssetSeverity.INCREASE = SecurityMonitoringCriticalAssetSeverity("increase")
SecurityMonitoringCriticalAssetSeverity.DECREASE = SecurityMonitoringCriticalAssetSeverity("decrease")
SecurityMonitoringCriticalAssetSeverity.NO_OP = SecurityMonitoringCriticalAssetSeverity("no-op")
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def __init__(
:param rule_query: The rule query of the critical asset, with the same syntax as the search bar for detection rules. This determines which rules this critical asset will apply to.
:type rule_query: str, optional

:param severity: Severity associated with this critical asset. Either an explicit severity can be set, or the severity can be increased or decreased.
:param severity: Severity associated with this critical asset. Either an explicit severity can be set, or the severity can be increased or decreased, or the severity can be left unchanged (no-op).
:type severity: SecurityMonitoringCriticalAssetSeverity, optional

:param tags: List of tags associated with the critical asset.
Expand Down
Loading