@@ -687,6 +687,21 @@ components:
687
687
required: true
688
688
schema:
689
689
type: string
690
+ ResourceFilterAccountID:
691
+ description: Filter resource filters by cloud provider account ID. This parameter
692
+ is only valid when provider is specified.
693
+ in: query
694
+ name: account_id
695
+ required: false
696
+ schema:
697
+ type: string
698
+ ResourceFilterProvider:
699
+ description: Filter resource filters by cloud provider (e.g. aws, gcp, azure).
700
+ in: query
701
+ name: cloud_provider
702
+ required: false
703
+ schema:
704
+ type: string
690
705
ResourceID:
691
706
description: 'Identifier, formatted as `type:id`. Supported types: `connection`,
692
707
`dashboard`, `integration-account`, `integration-service`, `integration-webhook`,
@@ -826,6 +841,13 @@ components:
826
841
required: true
827
842
schema:
828
843
type: string
844
+ SkipCache:
845
+ description: Skip cache for resource filters.
846
+ in: query
847
+ name: skip_cache
848
+ required: false
849
+ schema:
850
+ type: boolean
829
851
SpansMetricIDParameter:
830
852
description: The name of the span-based metric.
831
853
in: path
@@ -15833,6 +15855,26 @@ components:
15833
15855
$ref: '#/components/schemas/GetInterfacesData'
15834
15856
type: array
15835
15857
type: object
15858
+ GetResourceEvaluationFiltersResponse:
15859
+ description: The definition of `GetResourceEvaluationFiltersResponse` object.
15860
+ properties:
15861
+ data:
15862
+ $ref: '#/components/schemas/GetResourceEvaluationFiltersResponseData'
15863
+ required:
15864
+ - data
15865
+ type: object
15866
+ GetResourceEvaluationFiltersResponseData:
15867
+ description: The definition of `GetResourceFilterResponseData` object.
15868
+ properties:
15869
+ attributes:
15870
+ $ref: '#/components/schemas/ResourceFilterAttributes'
15871
+ id:
15872
+ description: The `data` `id`.
15873
+ example: csm_resource_filter
15874
+ type: string
15875
+ type:
15876
+ $ref: '#/components/schemas/ResourceFilterRequestType'
15877
+ type: object
15836
15878
GetRuleVersionHistoryData:
15837
15879
description: Data for the rule version history.
15838
15880
properties:
@@ -29747,6 +29789,35 @@ components:
29747
29789
required:
29748
29790
- data
29749
29791
type: object
29792
+ ResourceFilterAttributes:
29793
+ description: Attributes of a resource filter.
29794
+ properties:
29795
+ cloud_provider:
29796
+ additionalProperties:
29797
+ additionalProperties:
29798
+ items:
29799
+ description: Tag filter in format "key:value"
29800
+ example: environment:production
29801
+ type: string
29802
+ type: array
29803
+ type: object
29804
+ description: A map of cloud provider names (e.g., "aws", "gcp", "azure")
29805
+ to a map of account/resource IDs and their associated tag filters.
29806
+ type: object
29807
+ uuid:
29808
+ description: The UUID of the resource filter.
29809
+ type: string
29810
+ required:
29811
+ - cloud_provider
29812
+ type: object
29813
+ ResourceFilterRequestType:
29814
+ description: Constant string to identify the resource type.
29815
+ enum:
29816
+ - csm_resource_filter
29817
+ example: csm_resource_filter
29818
+ type: string
29819
+ x-enum-varnames:
29820
+ - CSM_RESOURCE_FILTER
29750
29821
ResponseMetaAttributes:
29751
29822
description: Object describing meta attributes of response.
29752
29823
properties:
@@ -32909,9 +32980,11 @@ components:
32909
32980
example: true
32910
32981
type: boolean
32911
32982
SecurityMonitoringRuleKeepAlive:
32912
- description: "Once a signal is generated, the signal will remain \u201Copen\u201D
32913
- if a case is matched at least once within\nthis keep alive window. For third
32914
- party detection method, this field is not used."
32983
+ description: 'Once a signal is generated, the signal will remain "open" if a
32984
+ case is matched at least once within
32985
+
32986
+ this keep alive window. For third party detection method, this field is not
32987
+ used.'
32915
32988
enum:
32916
32989
- 0
32917
32990
- 60
@@ -32941,9 +33014,10 @@ components:
32941
33014
- TWELVE_HOURS
32942
33015
- ONE_DAY
32943
33016
SecurityMonitoringRuleMaxSignalDuration:
32944
- description: "A signal will \u201Cclose\u201D regardless of the query being
32945
- matched once the time exceeds the maximum duration.\nThis time is calculated
32946
- from the first seen timestamp."
33017
+ description: 'A signal will "close" regardless of the query being matched once
33018
+ the time exceeds the maximum duration.
33019
+
33020
+ This time is calculated from the first seen timestamp.'
32947
33021
enum:
32948
33022
- 0
32949
33023
- 60
@@ -39352,6 +39426,52 @@ components:
39352
39426
id:
39353
39427
$ref: '#/components/schemas/ApiID'
39354
39428
type: object
39429
+ UpdateResourceEvaluationFiltersRequest:
39430
+ description: Request object to update a resource filter.
39431
+ properties:
39432
+ data:
39433
+ $ref: '#/components/schemas/UpdateResourceEvaluationFiltersRequestData'
39434
+ required:
39435
+ - data
39436
+ type: object
39437
+ UpdateResourceEvaluationFiltersRequestData:
39438
+ description: The definition of `UpdateResourceFilterRequestData` object.
39439
+ properties:
39440
+ attributes:
39441
+ $ref: '#/components/schemas/ResourceFilterAttributes'
39442
+ id:
39443
+ description: The `UpdateResourceEvaluationFiltersRequestData` `id`.
39444
+ example: csm_resource_filter
39445
+ type: string
39446
+ type:
39447
+ $ref: '#/components/schemas/ResourceFilterRequestType'
39448
+ required:
39449
+ - attributes
39450
+ - type
39451
+ type: object
39452
+ UpdateResourceEvaluationFiltersResponse:
39453
+ description: The definition of `UpdateResourceEvaluationFiltersResponse` object.
39454
+ properties:
39455
+ data:
39456
+ $ref: '#/components/schemas/UpdateResourceEvaluationFiltersResponseData'
39457
+ required:
39458
+ - data
39459
+ type: object
39460
+ UpdateResourceEvaluationFiltersResponseData:
39461
+ description: The definition of `UpdateResourceFilterResponseData` object.
39462
+ properties:
39463
+ attributes:
39464
+ $ref: '#/components/schemas/ResourceFilterAttributes'
39465
+ id:
39466
+ description: The `data` `id`.
39467
+ example: csm_resource_filter
39468
+ type: string
39469
+ type:
39470
+ $ref: '#/components/schemas/ResourceFilterRequestType'
39471
+ required:
39472
+ - attributes
39473
+ - type
39474
+ type: object
39355
39475
UpdateRuleRequest:
39356
39476
description: Request to update a scorecard rule.
39357
39477
properties:
@@ -44746,6 +44866,80 @@ paths:
44746
44866
- security_monitoring_rules_write
44747
44867
x-undo:
44748
44868
type: idempotent
44869
+ /api/v2/cloud_security_management/resource_filters:
44870
+ get:
44871
+ description: List resource filters.
44872
+ operationId: GetResourceEvaluationFilters
44873
+ parameters:
44874
+ - $ref: '#/components/parameters/ResourceFilterProvider'
44875
+ - $ref: '#/components/parameters/ResourceFilterAccountID'
44876
+ - $ref: '#/components/parameters/SkipCache'
44877
+ responses:
44878
+ '200':
44879
+ content:
44880
+ application/json:
44881
+ schema:
44882
+ $ref: '#/components/schemas/GetResourceEvaluationFiltersResponse'
44883
+ description: OK
44884
+ '400':
44885
+ $ref: '#/components/responses/BadRequestResponse'
44886
+ '403':
44887
+ $ref: '#/components/responses/NotAuthorizedResponse'
44888
+ '429':
44889
+ $ref: '#/components/responses/TooManyRequestsResponse'
44890
+ security:
44891
+ - apiKeyAuth: []
44892
+ appKeyAuth: []
44893
+ - AuthZ:
44894
+ - security_monitoring_filters_read
44895
+ summary: List resource filters
44896
+ tags:
44897
+ - Security Monitoring
44898
+ x-menu-order: 26
44899
+ x-permission:
44900
+ operator: OR
44901
+ permissions:
44902
+ - security_monitoring_filters_read
44903
+ x-undo:
44904
+ type: safe
44905
+ put:
44906
+ description: Update resource filters.
44907
+ operationId: UpdateResourceEvaluationFilters
44908
+ requestBody:
44909
+ content:
44910
+ application/json:
44911
+ schema:
44912
+ $ref: '#/components/schemas/UpdateResourceEvaluationFiltersRequest'
44913
+ required: true
44914
+ responses:
44915
+ '201':
44916
+ content:
44917
+ application/json:
44918
+ schema:
44919
+ $ref: '#/components/schemas/UpdateResourceEvaluationFiltersResponse'
44920
+ description: OK
44921
+ '400':
44922
+ $ref: '#/components/responses/BadRequestResponse'
44923
+ '403':
44924
+ $ref: '#/components/responses/NotAuthorizedResponse'
44925
+ '429':
44926
+ $ref: '#/components/responses/TooManyRequestsResponse'
44927
+ security:
44928
+ - apiKeyAuth: []
44929
+ appKeyAuth: []
44930
+ - AuthZ:
44931
+ - security_monitoring_filters_write
44932
+ summary: Update resource filters
44933
+ tags:
44934
+ - Security Monitoring
44935
+ x-codegen-request-body-name: body
44936
+ x-menu-order: 27
44937
+ x-permission:
44938
+ operator: OR
44939
+ permissions:
44940
+ - security_monitoring_filters_write
44941
+ x-undo:
44942
+ type: idempotent
44749
44943
/api/v2/container_images:
44750
44944
get:
44751
44945
description: Get all Container Images for your organization.
0 commit comments