Skip to content

Commit 601a47a

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Security Monitoring - Update Signal Archive Reasons v2 (#993)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 3f94d0a commit 601a47a

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43852,13 +43852,17 @@ components:
4385243852
- false_positive
4385343853
- testing_or_maintenance
4385443854
- investigated_case_opened
43855+
- true_positive_benign
43856+
- true_positive_malicious
4385543857
- other
4385643858
type: string
4385743859
x-enum-varnames:
4385843860
- NONE
4385943861
- FALSE_POSITIVE
4386043862
- TESTING_OR_MAINTENANCE
4386143863
- INVESTIGATED_CASE_OPENED
43864+
- TRUE_POSITIVE_BENIGN
43865+
- TRUE_POSITIVE_MALICIOUS
4386243866
- OTHER
4386343867
SecurityMonitoringSignalAssigneeUpdateAttributes:
4386443868
description: Attributes describing the new assignee of a security signal.

src/datadogV2/model/model_security_monitoring_signal_archive_reason.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ pub enum SecurityMonitoringSignalArchiveReason {
1111
FALSE_POSITIVE,
1212
TESTING_OR_MAINTENANCE,
1313
INVESTIGATED_CASE_OPENED,
14+
TRUE_POSITIVE_BENIGN,
15+
TRUE_POSITIVE_MALICIOUS,
1416
OTHER,
1517
UnparsedObject(crate::datadog::UnparsedObject),
1618
}
@@ -22,6 +24,8 @@ impl ToString for SecurityMonitoringSignalArchiveReason {
2224
Self::FALSE_POSITIVE => String::from("false_positive"),
2325
Self::TESTING_OR_MAINTENANCE => String::from("testing_or_maintenance"),
2426
Self::INVESTIGATED_CASE_OPENED => String::from("investigated_case_opened"),
27+
Self::TRUE_POSITIVE_BENIGN => String::from("true_positive_benign"),
28+
Self::TRUE_POSITIVE_MALICIOUS => String::from("true_positive_malicious"),
2529
Self::OTHER => String::from("other"),
2630
Self::UnparsedObject(v) => v.value.to_string(),
2731
}
@@ -51,6 +55,8 @@ impl<'de> Deserialize<'de> for SecurityMonitoringSignalArchiveReason {
5155
"false_positive" => Self::FALSE_POSITIVE,
5256
"testing_or_maintenance" => Self::TESTING_OR_MAINTENANCE,
5357
"investigated_case_opened" => Self::INVESTIGATED_CASE_OPENED,
58+
"true_positive_benign" => Self::TRUE_POSITIVE_BENIGN,
59+
"true_positive_malicious" => Self::TRUE_POSITIVE_MALICIOUS,
5460
"other" => Self::OTHER,
5561
_ => Self::UnparsedObject(crate::datadog::UnparsedObject {
5662
value: serde_json::Value::String(s.into()),

0 commit comments

Comments
 (0)