@@ -689,6 +689,21 @@ components:
689
689
required: true
690
690
schema:
691
691
type: string
692
+ ResourceFilterAccountID:
693
+ description: Filter resource filters by cloud provider account ID. This parameter
694
+ is only valid when provider is specified.
695
+ in: query
696
+ name: account_id
697
+ required: false
698
+ schema:
699
+ type: string
700
+ ResourceFilterProvider:
701
+ description: Filter resource filters by cloud provider (e.g. aws, gcp, azure).
702
+ in: query
703
+ name: cloud_provider
704
+ required: false
705
+ schema:
706
+ type: string
692
707
ResourceID:
693
708
description: 'Identifier, formatted as `type:id`. Supported types: `connection`,
694
709
`dashboard`, `integration-account`, `integration-service`, `integration-webhook`,
@@ -807,6 +822,13 @@ components:
807
822
required: true
808
823
schema:
809
824
type: string
825
+ SkipCache:
826
+ description: Skip cache for resource filters.
827
+ in: query
828
+ name: skip_cache
829
+ required: false
830
+ schema:
831
+ type: boolean
810
832
SpansMetricIDParameter:
811
833
description: The name of the span-based metric.
812
834
in: path
@@ -15715,6 +15737,26 @@ components:
15715
15737
$ref: '#/components/schemas/GetInterfacesData'
15716
15738
type: array
15717
15739
type: object
15740
+ GetResourceEvaluationFiltersResponse:
15741
+ description: The definition of `GetResourceEvaluationFiltersResponse` object.
15742
+ properties:
15743
+ data:
15744
+ $ref: '#/components/schemas/GetResourceEvaluationFiltersResponseData'
15745
+ required:
15746
+ - data
15747
+ type: object
15748
+ GetResourceEvaluationFiltersResponseData:
15749
+ description: The definition of `GetResourceFilterResponseData` object.
15750
+ properties:
15751
+ attributes:
15752
+ $ref: '#/components/schemas/ResourceFilterAttributes'
15753
+ id:
15754
+ description: The `data` `id`.
15755
+ example: csm_resource_filter
15756
+ type: string
15757
+ type:
15758
+ $ref: '#/components/schemas/ResourceFilterRequestType'
15759
+ type: object
15718
15760
GetRuleVersionHistoryData:
15719
15761
description: Data for the rule version history.
15720
15762
properties:
@@ -29270,6 +29312,46 @@ components:
29270
29312
required:
29271
29313
- data
29272
29314
type: object
29315
+ ResourceFilterAttributes:
29316
+ description: Attributes of a resource filter.
29317
+ example:
29318
+ aws:
29319
+ '123456789':
29320
+ - environment:production
29321
+ - team:devops
29322
+ azure:
29323
+ sub-001:
29324
+ - app:frontend
29325
+ gcp:
29326
+ project-abc:
29327
+ - region:us-central1
29328
+ properties:
29329
+ cloud_provider:
29330
+ additionalProperties:
29331
+ additionalProperties:
29332
+ items:
29333
+ description: Tag filter in format "key:value"
29334
+ example: environment:production
29335
+ type: string
29336
+ type: array
29337
+ type: object
29338
+ description: A map of cloud provider names (e.g., "aws", "gcp", "azure")
29339
+ to a map of account/resource IDs and their associated tag filters.
29340
+ type: object
29341
+ uuid:
29342
+ description: The UUID of the resource filter.
29343
+ type: string
29344
+ required:
29345
+ - cloud_provider
29346
+ type: object
29347
+ ResourceFilterRequestType:
29348
+ description: Constant string to identify the resource type.
29349
+ enum:
29350
+ - csm_resource_filter
29351
+ example: csm_resource_filter
29352
+ type: string
29353
+ x-enum-varnames:
29354
+ - CSM_RESOURCE_FILTER
29273
29355
ResponseMetaAttributes:
29274
29356
description: Object describing meta attributes of response.
29275
29357
properties:
@@ -32253,9 +32335,11 @@ components:
32253
32335
example: true
32254
32336
type: boolean
32255
32337
SecurityMonitoringRuleKeepAlive:
32256
- description: "Once a signal is generated, the signal will remain \u201Copen\u201D
32257
- if a case is matched at least once within\nthis keep alive window. For third
32258
- party detection method, this field is not used."
32338
+ description: 'Once a signal is generated, the signal will remain "open" if a
32339
+ case is matched at least once within
32340
+
32341
+ this keep alive window. For third party detection method, this field is not
32342
+ used.'
32259
32343
enum:
32260
32344
- 0
32261
32345
- 60
@@ -32285,9 +32369,10 @@ components:
32285
32369
- TWELVE_HOURS
32286
32370
- ONE_DAY
32287
32371
SecurityMonitoringRuleMaxSignalDuration:
32288
- description: "A signal will \u201Cclose\u201D regardless of the query being
32289
- matched once the time exceeds the maximum duration.\nThis time is calculated
32290
- from the first seen timestamp."
32372
+ description: 'A signal will "close" regardless of the query being matched once
32373
+ the time exceeds the maximum duration.
32374
+
32375
+ This time is calculated from the first seen timestamp.'
32291
32376
enum:
32292
32377
- 0
32293
32378
- 60
@@ -38688,6 +38773,52 @@ components:
38688
38773
id:
38689
38774
$ref: '#/components/schemas/ApiID'
38690
38775
type: object
38776
+ UpdateResourceEvaluationFiltersRequest:
38777
+ description: Request object to update a resource filter.
38778
+ properties:
38779
+ data:
38780
+ $ref: '#/components/schemas/UpdateResourceEvaluationFiltersRequestData'
38781
+ required:
38782
+ - data
38783
+ type: object
38784
+ UpdateResourceEvaluationFiltersRequestData:
38785
+ description: The definition of `UpdateResourceFilterRequestData` object.
38786
+ properties:
38787
+ attributes:
38788
+ $ref: '#/components/schemas/ResourceFilterAttributes'
38789
+ id:
38790
+ description: The `UpdateResourceEvaluationFiltersRequestData` `id`.
38791
+ example: csm_resource_filter
38792
+ type: string
38793
+ type:
38794
+ $ref: '#/components/schemas/ResourceFilterRequestType'
38795
+ required:
38796
+ - attributes
38797
+ - type
38798
+ type: object
38799
+ UpdateResourceEvaluationFiltersResponse:
38800
+ description: The definition of `UpdateResourceEvaluationFiltersResponse` object.
38801
+ properties:
38802
+ data:
38803
+ $ref: '#/components/schemas/UpdateResourceEvaluationFiltersResponseData'
38804
+ required:
38805
+ - data
38806
+ type: object
38807
+ UpdateResourceEvaluationFiltersResponseData:
38808
+ description: The definition of `UpdateResourceFilterResponseData` object.
38809
+ properties:
38810
+ attributes:
38811
+ $ref: '#/components/schemas/ResourceFilterAttributes'
38812
+ id:
38813
+ description: The `data` `id`.
38814
+ example: csm_resource_filter
38815
+ type: string
38816
+ type:
38817
+ $ref: '#/components/schemas/ResourceFilterRequestType'
38818
+ required:
38819
+ - attributes
38820
+ - type
38821
+ type: object
38691
38822
UpdateRuleRequest:
38692
38823
description: Request to update a scorecard rule.
38693
38824
properties:
@@ -43624,6 +43755,74 @@ paths:
43624
43755
permissions:
43625
43756
- security_monitoring_rules_read
43626
43757
- security_monitoring_rules_write
43758
+ /api/v2/cloud_security_management/resource_filters:
43759
+ get:
43760
+ description: List resource filters.
43761
+ operationId: GetResourceEvaluationFilters
43762
+ parameters:
43763
+ - $ref: '#/components/parameters/ResourceFilterProvider'
43764
+ - $ref: '#/components/parameters/ResourceFilterAccountID'
43765
+ - $ref: '#/components/parameters/SkipCache'
43766
+ responses:
43767
+ '200':
43768
+ content:
43769
+ application/json:
43770
+ schema:
43771
+ $ref: '#/components/schemas/GetResourceEvaluationFiltersResponse'
43772
+ description: OK
43773
+ '400':
43774
+ $ref: '#/components/responses/BadRequestResponse'
43775
+ '403':
43776
+ $ref: '#/components/responses/NotAuthorizedResponse'
43777
+ '429':
43778
+ $ref: '#/components/responses/TooManyRequestsResponse'
43779
+ security:
43780
+ - apiKeyAuth: []
43781
+ appKeyAuth: []
43782
+ - AuthZ:
43783
+ - security_monitoring_filters_read
43784
+ summary: List resource filters
43785
+ tags:
43786
+ - Security Monitoring
43787
+ x-permission:
43788
+ operator: OR
43789
+ permissions:
43790
+ - security_monitoring_filters_read
43791
+ put:
43792
+ description: Update resource filters.
43793
+ operationId: UpdateResourceEvaluationFilters
43794
+ requestBody:
43795
+ content:
43796
+ application/json:
43797
+ schema:
43798
+ $ref: '#/components/schemas/UpdateResourceEvaluationFiltersRequest'
43799
+ required: true
43800
+ responses:
43801
+ '201':
43802
+ content:
43803
+ application/json:
43804
+ schema:
43805
+ $ref: '#/components/schemas/UpdateResourceEvaluationFiltersResponse'
43806
+ description: OK
43807
+ '400':
43808
+ $ref: '#/components/responses/BadRequestResponse'
43809
+ '403':
43810
+ $ref: '#/components/responses/NotAuthorizedResponse'
43811
+ '429':
43812
+ $ref: '#/components/responses/TooManyRequestsResponse'
43813
+ security:
43814
+ - apiKeyAuth: []
43815
+ appKeyAuth: []
43816
+ - AuthZ:
43817
+ - security_monitoring_filters_write
43818
+ summary: Update resource filters
43819
+ tags:
43820
+ - Security Monitoring
43821
+ x-codegen-request-body-name: body
43822
+ x-permission:
43823
+ operator: OR
43824
+ permissions:
43825
+ - security_monitoring_filters_write
43627
43826
/api/v2/container_images:
43628
43827
get:
43629
43828
description: Get all Container Images for your organization.
0 commit comments