@@ -12250,6 +12250,65 @@ components:
12250
12250
maximum: 2147483647
12251
12251
type: integer
12252
12252
type: object
12253
+ HistoricalJobOptions:
12254
+ description: Job options.
12255
+ properties:
12256
+ detectionMethod:
12257
+ $ref: '#/components/schemas/SecurityMonitoringRuleDetectionMethod'
12258
+ evaluationWindow:
12259
+ $ref: '#/components/schemas/SecurityMonitoringRuleEvaluationWindow'
12260
+ impossibleTravelOptions:
12261
+ $ref: '#/components/schemas/SecurityMonitoringRuleImpossibleTravelOptions'
12262
+ keepAlive:
12263
+ $ref: '#/components/schemas/SecurityMonitoringRuleKeepAlive'
12264
+ maxSignalDuration:
12265
+ $ref: '#/components/schemas/SecurityMonitoringRuleMaxSignalDuration'
12266
+ newValueOptions:
12267
+ $ref: '#/components/schemas/SecurityMonitoringRuleNewValueOptions'
12268
+ thirdPartyRuleOptions:
12269
+ $ref: '#/components/schemas/SecurityMonitoringRuleThirdPartyOptions'
12270
+ type: object
12271
+ HistoricalJobQuery:
12272
+ description: Query for selecting logs analyzed by the historical job.
12273
+ properties:
12274
+ aggregation:
12275
+ $ref: '#/components/schemas/SecurityMonitoringRuleQueryAggregation'
12276
+ distinctFields:
12277
+ description: Field for which the cardinality is measured. Sent as an array.
12278
+ items:
12279
+ description: Field.
12280
+ type: string
12281
+ type: array
12282
+ groupByFields:
12283
+ description: Fields to group by.
12284
+ items:
12285
+ description: Field.
12286
+ type: string
12287
+ type: array
12288
+ hasOptionalGroupByFields:
12289
+ description: When false, events without a group-by value are ignored by
12290
+ the query. When true, events with missing group-by fields are processed
12291
+ with `N/A`, replacing the missing values.
12292
+ example: false
12293
+ readOnly: true
12294
+ type: boolean
12295
+ metrics:
12296
+ description: Group of target fields to aggregate over when using the sum,
12297
+ max, geo data, or new value aggregations. The sum, max, and geo data aggregations
12298
+ only accept one value in this list, whereas the new value aggregation
12299
+ accepts up to five values.
12300
+ items:
12301
+ description: Field.
12302
+ type: string
12303
+ type: array
12304
+ name:
12305
+ description: Name of the query.
12306
+ type: string
12307
+ query:
12308
+ description: Query to run on logs.
12309
+ example: a > 3
12310
+ type: string
12311
+ type: object
12253
12312
HistoricalJobResponse:
12254
12313
description: Historical job response.
12255
12314
properties:
@@ -14824,13 +14883,6 @@ components:
14824
14883
items:
14825
14884
$ref: '#/components/schemas/SecurityMonitoringRuleCaseCreate'
14826
14885
type: array
14827
- filters:
14828
- description: Additional queries to filter matched events before they are
14829
- processed. This field is deprecated for log detection, signal correlation,
14830
- and workload security rules.
14831
- items:
14832
- $ref: '#/components/schemas/SecurityMonitoringFilter'
14833
- type: array
14834
14886
from:
14835
14887
description: Starting time of data analyzed by the job.
14836
14888
example: 1729843470000
@@ -14849,14 +14901,14 @@ components:
14849
14901
example: Excessive number of failed attempts.
14850
14902
type: string
14851
14903
options:
14852
- $ref: '#/components/schemas/SecurityMonitoringRuleOptions '
14904
+ $ref: '#/components/schemas/HistoricalJobOptions '
14853
14905
queries:
14854
14906
description: Queries for selecting logs analyzed by the job.
14855
14907
items:
14856
- $ref: '#/components/schemas/SecurityMonitoringStandardRuleQuery '
14908
+ $ref: '#/components/schemas/HistoricalJobQuery '
14857
14909
type: array
14858
14910
referenceTables:
14859
- description: Reference tables for the rule .
14911
+ description: Reference tables used in the queries .
14860
14912
items:
14861
14913
$ref: '#/components/schemas/SecurityMonitoringReferenceTable'
14862
14914
type: array
@@ -14866,8 +14918,8 @@ components:
14866
14918
type: string
14867
14919
type: array
14868
14920
thirdPartyCases:
14869
- description: Cases for generating results from third-party rules. Only available
14870
- for third-party rules .
14921
+ description: Cases for generating results from third-party detection method.
14922
+ Only available for third-party detection method .
14871
14923
example: []
14872
14924
items:
14873
14925
$ref: '#/components/schemas/SecurityMonitoringThirdPartyRuleCaseCreate'
@@ -22792,7 +22844,7 @@ components:
22792
22844
$ref: '#/components/schemas/ResponseMetaAttributes'
22793
22845
type: object
22794
22846
SecurityMonitoringReferenceTable:
22795
- description: Reference table for the rule .
22847
+ description: Reference tables used in the queries .
22796
22848
properties:
22797
22849
checkPresence:
22798
22850
description: Whether to include or exclude the matched values.
@@ -22804,7 +22856,7 @@ components:
22804
22856
description: The field in the log to match against the reference table.
22805
22857
type: string
22806
22858
ruleQueryName:
22807
- description: The name of the rule query to apply the reference table to.
22859
+ description: The name of the query to apply the reference table to.
22808
22860
type: string
22809
22861
tableName:
22810
22862
description: The name of the reference table.
@@ -22835,7 +22887,7 @@ components:
22835
22887
description: Case when signal is generated.
22836
22888
properties:
22837
22889
condition:
22838
- description: 'A rule case contains logical operations (`>`,`>=`, `&&`, `||`)
22890
+ description: 'A case contains logical operations (`>`,`>=`, `&&`, `||`)
22839
22891
to determine if a signal should be generated
22840
22892
22841
22893
based on the event counts in the previously defined queries.'
@@ -22844,7 +22896,7 @@ components:
22844
22896
description: Name of the case.
22845
22897
type: string
22846
22898
notifications:
22847
- description: Notification targets for each rule case .
22899
+ description: Notification targets.
22848
22900
items:
22849
22901
description: Notification.
22850
22902
type: string
@@ -22906,7 +22958,8 @@ components:
22906
22958
description: 'A time window is specified to match when at least one of the cases
22907
22959
matches true. This is a sliding window
22908
22960
22909
- and evaluates in real time. For third party rules, this field is not used.'
22961
+ and evaluates in real time. For third party detection method, this field is
22962
+ not used.'
22910
22963
enum:
22911
22964
- 0
22912
22965
- 60
@@ -22935,7 +22988,7 @@ components:
22935
22988
x-enum-varnames:
22936
22989
- LOG4SHELL
22937
22990
SecurityMonitoringRuleImpossibleTravelOptions:
22938
- description: Options on impossible travel rules .
22991
+ description: Options on impossible travel detection method .
22939
22992
properties:
22940
22993
baselineUserLocations:
22941
22994
$ref: '#/components/schemas/SecurityMonitoringRuleImpossibleTravelOptionsBaselineUserLocations'
@@ -22951,7 +23004,7 @@ components:
22951
23004
SecurityMonitoringRuleKeepAlive:
22952
23005
description: "Once a signal is generated, the signal will remain \u201Copen\u201D
22953
23006
if a case is matched at least once within\nthis keep alive window. For third
22954
- party rules , this field is not used."
23007
+ party detection method , this field is not used."
22955
23008
enum:
22956
23009
- 0
22957
23010
- 60
@@ -23009,7 +23062,7 @@ components:
23009
23062
- TWELVE_HOURS
23010
23063
- ONE_DAY
23011
23064
SecurityMonitoringRuleNewValueOptions:
23012
- description: Options on new value rules .
23065
+ description: Options on new value detection method .
23013
23066
properties:
23014
23067
forgetAfter:
23015
23068
$ref: '#/components/schemas/SecurityMonitoringRuleNewValueOptionsForgetAfter'
@@ -23079,7 +23132,7 @@ components:
23079
23132
- ZERO_OCCURRENCES
23080
23133
- ONE_OCCURRENCE
23081
23134
SecurityMonitoringRuleOptions:
23082
- description: Options on rules .
23135
+ description: Options.
23083
23136
properties:
23084
23137
complianceRuleOptions:
23085
23138
$ref: '#/components/schemas/CloudConfigurationComplianceRuleOptions'
@@ -23221,7 +23274,7 @@ components:
23221
23274
type: array
23222
23275
type: object
23223
23276
SecurityMonitoringRuleThirdPartyOptions:
23224
- description: Options on third party rules .
23277
+ description: Options on third party detection method .
23225
23278
properties:
23226
23279
defaultNotifications:
23227
23280
description: Notification targets for the logs that do not correspond to
@@ -24621,7 +24674,7 @@ components:
24621
24674
description: Name of the case.
24622
24675
type: string
24623
24676
notifications:
24624
- description: Notification targets for each rule case.
24677
+ description: Notification targets for each case.
24625
24678
items:
24626
24679
description: Notification.
24627
24680
type: string
0 commit comments