diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 809d974e93..bdfe87aa3d 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -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 @@ -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 @@ -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 @@ -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 diff --git a/src/datadog_api_client/v2/model/io_c_indicator.py b/src/datadog_api_client/v2/model/io_c_indicator.py index ca76c57d28..37f1275ff0 100644 --- a/src/datadog_api_client/v2/model/io_c_indicator.py +++ b/src/datadog_api_client/v2/model/io_c_indicator.py @@ -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,), @@ -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,), @@ -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", @@ -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", @@ -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, @@ -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, @@ -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 @@ -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 @@ -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: @@ -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: diff --git a/src/datadog_api_client/v2/model/io_c_indicator_detailed.py b/src/datadog_api_client/v2/model/io_c_indicator_detailed.py index 8cb3efdfdb..71bcde5aa3 100644 --- a/src/datadog_api_client/v2/model/io_c_indicator_detailed.py +++ b/src/datadog_api_client/v2/model/io_c_indicator_detailed.py @@ -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],), @@ -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,), @@ -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", @@ -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", @@ -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, @@ -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, @@ -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 @@ -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 @@ -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: @@ -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: