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
23 changes: 23 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74517,6 +74517,9 @@ components:
indicator_type:
description: Type of indicator (for example, IP address or domain).
type: string
is_muted:
description: Whether the indicator is muted for your organization.
type: boolean
last_seen:
description: Timestamp when the indicator was last seen.
format: date-time
Expand All @@ -74541,6 +74544,12 @@ components:
type: array
max_trust_score:
$ref: "#/components/schemas/IoCScoreEffect"
mute_reason:
description: Reason provided when the indicator was muted. Returned only when the indicator is muted.
type: string
mute_scope:
description: Scope of the mute applied to the indicator. Returned only when the indicator is muted.
type: string
score:
description: Threat score for the indicator (0-100).
format: double
Expand Down Expand Up @@ -74629,6 +74638,9 @@ components:
indicator_type:
description: Type of indicator (for example, IP address or domain).
type: string
is_muted:
description: Whether the indicator is muted for your organization.
type: boolean
last_seen:
description: Timestamp when the indicator was last seen.
format: date-time
Expand Down Expand Up @@ -74656,8 +74668,19 @@ components:
$ref: "#/components/schemas/IoCSource"
nullable: true
type: array
matched_ocsf_fields:
description: OCSF fields in which the indicator was matched. Returned only when `ocsf` is true.
items:
type: string
type: array
max_trust_score:
$ref: "#/components/schemas/IoCScoreEffect"
mute_reason:
description: Reason provided when the indicator was muted.
type: string
mute_scope:
description: Scope of the mute applied to the indicator (for example, `org`). Returned only when the indicator is muted.
type: string
score:
description: Threat score for the indicator (0-100).
format: double
Expand Down
24 changes: 24 additions & 0 deletions src/datadog_api_client/v2/model/io_c_indicator.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ def openapi_types(_):
"id": (str,),
"indicator": (str,),
"indicator_type": (str,),
"is_muted": (bool,),
"last_seen": (datetime,),
"log_matches": (int,),
"m_as_type": (IoCScoreEffect,),
Expand All @@ -47,6 +48,8 @@ def openapi_types(_):
"m_sources": (IoCScoreEffect,),
"malicious_sources": ([IoCSource], none_type),
"max_trust_score": (IoCScoreEffect,),
"mute_reason": (str,),
"mute_scope": (str,),
"score": (float,),
"signal_matches": (int,),
"signal_tier": (int,),
Expand All @@ -66,6 +69,7 @@ def openapi_types(_):
"id": "id",
"indicator": "indicator",
"indicator_type": "indicator_type",
"is_muted": "is_muted",
"last_seen": "last_seen",
"log_matches": "log_matches",
"m_as_type": "m_as_type",
Expand All @@ -74,6 +78,8 @@ def openapi_types(_):
"m_sources": "m_sources",
"malicious_sources": "malicious_sources",
"max_trust_score": "max_trust_score",
"mute_reason": "mute_reason",
"mute_scope": "mute_scope",
"score": "score",
"signal_matches": "signal_matches",
"signal_tier": "signal_tier",
Expand All @@ -94,6 +100,7 @@ def __init__(
id: Union[str, UnsetType] = unset,
indicator: Union[str, UnsetType] = unset,
indicator_type: Union[str, UnsetType] = unset,
is_muted: Union[bool, UnsetType] = unset,
last_seen: Union[datetime, UnsetType] = unset,
log_matches: Union[int, UnsetType] = unset,
m_as_type: Union[IoCScoreEffect, UnsetType] = unset,
Expand All @@ -102,6 +109,8 @@ def __init__(
m_sources: Union[IoCScoreEffect, UnsetType] = unset,
malicious_sources: Union[List[IoCSource], none_type, UnsetType] = unset,
max_trust_score: Union[IoCScoreEffect, UnsetType] = unset,
mute_reason: Union[str, UnsetType] = unset,
mute_scope: Union[str, UnsetType] = unset,
score: Union[float, UnsetType] = unset,
signal_matches: Union[int, UnsetType] = unset,
signal_tier: Union[int, UnsetType] = unset,
Expand Down Expand Up @@ -139,6 +148,9 @@ def __init__(
:param indicator_type: Type of indicator (for example, IP address or domain).
:type indicator_type: str, optional

:param is_muted: Whether the indicator is muted for your organization.
:type is_muted: bool, optional

:param last_seen: Timestamp when the indicator was last seen.
:type last_seen: datetime, optional

Expand All @@ -163,6 +175,12 @@ def __init__(
:param max_trust_score: Effect of a scoring factor on the indicator's threat score.
:type max_trust_score: IoCScoreEffect, optional

:param mute_reason: Reason provided when the indicator was muted. Returned only when the indicator is muted.
:type mute_reason: str, optional

:param mute_scope: Scope of the mute applied to the indicator. Returned only when the indicator is muted.
:type mute_scope: str, optional

:param score: Threat score for the indicator (0-100).
:type score: float, optional

Expand Down Expand Up @@ -203,6 +221,8 @@ def __init__(
kwargs["indicator"] = indicator
if indicator_type is not unset:
kwargs["indicator_type"] = indicator_type
if is_muted is not unset:
kwargs["is_muted"] = is_muted
if last_seen is not unset:
kwargs["last_seen"] = last_seen
if log_matches is not unset:
Expand All @@ -219,6 +239,10 @@ def __init__(
kwargs["malicious_sources"] = malicious_sources
if max_trust_score is not unset:
kwargs["max_trust_score"] = max_trust_score
if mute_reason is not unset:
kwargs["mute_reason"] = mute_reason
if mute_scope is not unset:
kwargs["mute_scope"] = mute_scope
if score is not unset:
kwargs["score"] = score
if signal_matches is not unset:
Expand Down
32 changes: 32 additions & 0 deletions src/datadog_api_client/v2/model/io_c_indicator_detailed.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ def openapi_types(_):
"id": (str,),
"indicator": (str,),
"indicator_type": (str,),
"is_muted": (bool,),
"last_seen": (datetime,),
"log_matches": (int,),
"log_sources": ([str],),
Expand All @@ -74,7 +75,10 @@ def openapi_types(_):
"m_signal": (IoCScoreEffect,),
"m_sources": (IoCScoreEffect,),
"malicious_sources": ([IoCSource], none_type),
"matched_ocsf_fields": ([str],),
"max_trust_score": (IoCScoreEffect,),
"mute_reason": (str,),
"mute_scope": (str,),
"score": (float,),
"services": ([str],),
"signal_matches": (int,),
Expand Down Expand Up @@ -104,6 +108,7 @@ def openapi_types(_):
"id": "id",
"indicator": "indicator",
"indicator_type": "indicator_type",
"is_muted": "is_muted",
"last_seen": "last_seen",
"log_matches": "log_matches",
"log_sources": "log_sources",
Expand All @@ -112,7 +117,10 @@ def openapi_types(_):
"m_signal": "m_signal",
"m_sources": "m_sources",
"malicious_sources": "malicious_sources",
"matched_ocsf_fields": "matched_ocsf_fields",
"max_trust_score": "max_trust_score",
"mute_reason": "mute_reason",
"mute_scope": "mute_scope",
"score": "score",
"services": "services",
"signal_matches": "signal_matches",
Expand Down Expand Up @@ -143,6 +151,7 @@ def __init__(
id: Union[str, UnsetType] = unset,
indicator: Union[str, UnsetType] = unset,
indicator_type: Union[str, UnsetType] = unset,
is_muted: Union[bool, UnsetType] = unset,
last_seen: Union[datetime, UnsetType] = unset,
log_matches: Union[int, UnsetType] = unset,
log_sources: Union[List[str], UnsetType] = unset,
Expand All @@ -151,7 +160,10 @@ def __init__(
m_signal: Union[IoCScoreEffect, UnsetType] = unset,
m_sources: Union[IoCScoreEffect, UnsetType] = unset,
malicious_sources: Union[List[IoCSource], none_type, UnsetType] = unset,
matched_ocsf_fields: Union[List[str], UnsetType] = unset,
max_trust_score: Union[IoCScoreEffect, UnsetType] = unset,
mute_reason: Union[str, UnsetType] = unset,
mute_scope: Union[str, UnsetType] = unset,
score: Union[float, UnsetType] = unset,
services: Union[List[str], UnsetType] = unset,
signal_matches: Union[int, UnsetType] = unset,
Expand Down Expand Up @@ -211,6 +223,9 @@ def __init__(
:param indicator_type: Type of indicator (for example, IP address or domain).
:type indicator_type: str, optional

:param is_muted: Whether the indicator is muted for your organization.
:type is_muted: bool, optional

:param last_seen: Timestamp when the indicator was last seen.
:type last_seen: datetime, optional

Expand All @@ -235,9 +250,18 @@ def __init__(
:param malicious_sources: Threat intelligence sources that flagged this indicator as malicious.
:type malicious_sources: [IoCSource], none_type, optional

:param matched_ocsf_fields: OCSF fields in which the indicator was matched. Returned only when ``ocsf`` is true.
:type matched_ocsf_fields: [str], optional

:param max_trust_score: Effect of a scoring factor on the indicator's threat score.
:type max_trust_score: IoCScoreEffect, optional

:param mute_reason: Reason provided when the indicator was muted.
:type mute_reason: str, optional

:param mute_scope: Scope of the mute applied to the indicator (for example, ``org`` ). Returned only when the indicator is muted.
:type mute_scope: str, optional

:param score: Threat score for the indicator (0-100).
:type score: float, optional

Expand Down Expand Up @@ -302,6 +326,8 @@ def __init__(
kwargs["indicator"] = indicator
if indicator_type is not unset:
kwargs["indicator_type"] = indicator_type
if is_muted is not unset:
kwargs["is_muted"] = is_muted
if last_seen is not unset:
kwargs["last_seen"] = last_seen
if log_matches is not unset:
Expand All @@ -318,8 +344,14 @@ def __init__(
kwargs["m_sources"] = m_sources
if malicious_sources is not unset:
kwargs["malicious_sources"] = malicious_sources
if matched_ocsf_fields is not unset:
kwargs["matched_ocsf_fields"] = matched_ocsf_fields
if max_trust_score is not unset:
kwargs["max_trust_score"] = max_trust_score
if mute_reason is not unset:
kwargs["mute_reason"] = mute_reason
if mute_scope is not unset:
kwargs["mute_scope"] = mute_scope
if score is not unset:
kwargs["score"] = score
if services is not unset:
Expand Down
Loading