Skip to content
Merged
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
11 changes: 0 additions & 11 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65196,13 +65196,6 @@ components:
type: string
assignment_source:
$ref: "#/components/schemas/GovernanceControlDetectionAssignmentSource"
control_id:
deprecated: true
description: |-
DEPRECATED: mirrors `detection_type` for backward compatibility; use `detection_type`
instead.
example: "unused_api_keys"
type: string
created_at:
description: The date and time when the detection was created.
example: "2024-03-01T12:00:00Z"
Expand Down Expand Up @@ -65256,7 +65249,6 @@ components:
$ref: "#/components/schemas/GovernanceControlDetectionState"
required:
- state
- control_id
- resource_id
- detection_type
- resource_type
Expand Down Expand Up @@ -191266,7 +191258,6 @@ paths:
assigned_team: "platform-security"
assigned_to: "11111111-2222-3333-4444-555555555555"
assignment_source: "manual"
control_id: "unused_api_keys"
created_at: "2024-03-01T12:00:00Z"
detection_type: "unused_api_keys"
display_name: "CI Deploy Key"
Expand Down Expand Up @@ -191556,7 +191547,6 @@ paths:
assigned_team: "platform-security"
assigned_to: "11111111-2222-3333-4444-555555555555"
assignment_source: "manual"
control_id: "unused_api_keys"
created_at: "2024-03-01T12:00:00Z"
detection_type: "unused_api_keys"
display_name: "CI Deploy Key"
Expand Down Expand Up @@ -191651,7 +191641,6 @@ paths:
assigned_team: "platform-security"
assigned_to: "11111111-2222-3333-4444-555555555555"
assignment_source: "manual"
control_id: "unused_api_keys"
created_at: "2024-03-01T12:00:00Z"
detection_type: "unused_api_keys"
display_name: "CI Deploy Key"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ def openapi_types(_):
"assigned_team": (str,),
"assigned_to": (str,),
"assignment_source": (GovernanceControlDetectionAssignmentSource,),
"control_id": (str,),
"created_at": (datetime,),
"detection_type": (str,),
"display_name": (str,),
Expand Down Expand Up @@ -66,7 +65,6 @@ def openapi_types(_):
"assigned_team": "assigned_team",
"assigned_to": "assigned_to",
"assignment_source": "assignment_source",
"control_id": "control_id",
"created_at": "created_at",
"detection_type": "detection_type",
"display_name": "display_name",
Expand All @@ -84,7 +82,6 @@ def openapi_types(_):
def __init__(
self_,
assignment_source: GovernanceControlDetectionAssignmentSource,
control_id: str,
created_at: datetime,
detection_type: str,
display_name: str,
Expand Down Expand Up @@ -113,10 +110,6 @@ def __init__(
:param assignment_source: How the detection's current assignment was determined. Possible values are ``auto_resolved`` , ``manual`` , ``reassigned`` , and ``cleared``.
:type assignment_source: GovernanceControlDetectionAssignmentSource

:param control_id: DEPRECATED: mirrors ``detection_type`` for backward compatibility; use ``detection_type``
instead. **Deprecated**.
:type control_id: str

:param created_at: The date and time when the detection was created.
:type created_at: datetime

Expand Down Expand Up @@ -170,7 +163,6 @@ def __init__(
super().__init__(kwargs)

self_.assignment_source = assignment_source
self_.control_id = control_id
self_.created_at = created_at
self_.detection_type = detection_type
self_.display_name = display_name
Expand Down
Loading