@@ -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,46 @@ components:
29747
29789
required:
29748
29790
- data
29749
29791
type: object
29792
+ ResourceFilterAttributes:
29793
+ description: Attributes of a resource filter.
29794
+ example:
29795
+ aws:
29796
+ '123456789':
29797
+ - environment:production
29798
+ - team:devops
29799
+ azure:
29800
+ sub-001:
29801
+ - app:frontend
29802
+ gcp:
29803
+ project-abc:
29804
+ - region:us-central1
29805
+ properties:
29806
+ cloud_provider:
29807
+ additionalProperties:
29808
+ additionalProperties:
29809
+ items:
29810
+ description: Tag filter in format "key:value"
29811
+ example: environment:production
29812
+ type: string
29813
+ type: array
29814
+ type: object
29815
+ description: A map of cloud provider names (e.g., "aws", "gcp", "azure")
29816
+ to a map of account/resource IDs and their associated tag filters.
29817
+ type: object
29818
+ uuid:
29819
+ description: The UUID of the resource filter.
29820
+ type: string
29821
+ required:
29822
+ - cloud_provider
29823
+ type: object
29824
+ ResourceFilterRequestType:
29825
+ description: Constant string to identify the request type.
29826
+ enum:
29827
+ - csm_resource_filter
29828
+ example: csm_resource_filter
29829
+ type: string
29830
+ x-enum-varnames:
29831
+ - CSM_RESOURCE_FILTER
29750
29832
ResponseMetaAttributes:
29751
29833
description: Object describing meta attributes of response.
29752
29834
properties:
@@ -32909,9 +32991,11 @@ components:
32909
32991
example: true
32910
32992
type: boolean
32911
32993
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."
32994
+ description: 'Once a signal is generated, the signal will remain "open" if a
32995
+ case is matched at least once within
32996
+
32997
+ this keep alive window. For third party detection method, this field is not
32998
+ used.'
32915
32999
enum:
32916
33000
- 0
32917
33001
- 60
@@ -32941,9 +33025,10 @@ components:
32941
33025
- TWELVE_HOURS
32942
33026
- ONE_DAY
32943
33027
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."
33028
+ description: 'A signal will "close" regardless of the query being matched once
33029
+ the time exceeds the maximum duration.
33030
+
33031
+ This time is calculated from the first seen timestamp.'
32947
33032
enum:
32948
33033
- 0
32949
33034
- 60
@@ -39352,6 +39437,52 @@ components:
39352
39437
id:
39353
39438
$ref: '#/components/schemas/ApiID'
39354
39439
type: object
39440
+ UpdateResourceEvaluationFiltersRequest:
39441
+ description: Request object to update a resource filter.
39442
+ properties:
39443
+ data:
39444
+ $ref: '#/components/schemas/UpdateResourceEvaluationFiltersRequestData'
39445
+ required:
39446
+ - data
39447
+ type: object
39448
+ UpdateResourceEvaluationFiltersRequestData:
39449
+ description: The definition of `UpdateResourceFilterRequestData` object.
39450
+ properties:
39451
+ attributes:
39452
+ $ref: '#/components/schemas/ResourceFilterAttributes'
39453
+ id:
39454
+ description: The `UpdateResourceEvaluationFiltersRequestData` `id`.
39455
+ example: csm_resource_filter
39456
+ type: string
39457
+ type:
39458
+ $ref: '#/components/schemas/ResourceFilterRequestType'
39459
+ required:
39460
+ - attributes
39461
+ - type
39462
+ type: object
39463
+ UpdateResourceEvaluationFiltersResponse:
39464
+ description: The definition of `UpdateResourceEvaluationFiltersResponse` object.
39465
+ properties:
39466
+ data:
39467
+ $ref: '#/components/schemas/UpdateResourceEvaluationFiltersResponseData'
39468
+ required:
39469
+ - data
39470
+ type: object
39471
+ UpdateResourceEvaluationFiltersResponseData:
39472
+ description: The definition of `UpdateResourceFilterResponseData` object.
39473
+ properties:
39474
+ attributes:
39475
+ $ref: '#/components/schemas/ResourceFilterAttributes'
39476
+ id:
39477
+ description: The `data` `id`.
39478
+ example: csm_resource_filter
39479
+ type: string
39480
+ type:
39481
+ $ref: '#/components/schemas/ResourceFilterRequestType'
39482
+ required:
39483
+ - attributes
39484
+ - type
39485
+ type: object
39355
39486
UpdateRuleRequest:
39356
39487
description: Request to update a scorecard rule.
39357
39488
properties:
@@ -44746,6 +44877,80 @@ paths:
44746
44877
- security_monitoring_rules_write
44747
44878
x-undo:
44748
44879
type: idempotent
44880
+ /api/v2/cloud_security_management/resource_filters:
44881
+ get:
44882
+ description: List resource filters.
44883
+ operationId: GetResourceEvaluationFilters
44884
+ parameters:
44885
+ - $ref: '#/components/parameters/ResourceFilterProvider'
44886
+ - $ref: '#/components/parameters/ResourceFilterAccountID'
44887
+ - $ref: '#/components/parameters/SkipCache'
44888
+ responses:
44889
+ '200':
44890
+ content:
44891
+ application/json:
44892
+ schema:
44893
+ $ref: '#/components/schemas/GetResourceEvaluationFiltersResponse'
44894
+ description: OK
44895
+ '400':
44896
+ $ref: '#/components/responses/BadRequestResponse'
44897
+ '403':
44898
+ $ref: '#/components/responses/NotAuthorizedResponse'
44899
+ '429':
44900
+ $ref: '#/components/responses/TooManyRequestsResponse'
44901
+ security:
44902
+ - apiKeyAuth: []
44903
+ appKeyAuth: []
44904
+ - AuthZ:
44905
+ - security_monitoring_filters_read
44906
+ summary: List resource filters
44907
+ tags:
44908
+ - Security Monitoring
44909
+ x-menu-order: 26
44910
+ x-permission:
44911
+ operator: OR
44912
+ permissions:
44913
+ - security_monitoring_filters_read
44914
+ x-undo:
44915
+ type: safe
44916
+ put:
44917
+ description: Update resource filters.
44918
+ operationId: UpdateResourceEvaluationFilters
44919
+ requestBody:
44920
+ content:
44921
+ application/json:
44922
+ schema:
44923
+ $ref: '#/components/schemas/UpdateResourceEvaluationFiltersRequest'
44924
+ required: true
44925
+ responses:
44926
+ '201':
44927
+ content:
44928
+ application/json:
44929
+ schema:
44930
+ $ref: '#/components/schemas/UpdateResourceEvaluationFiltersResponse'
44931
+ description: OK
44932
+ '400':
44933
+ $ref: '#/components/responses/BadRequestResponse'
44934
+ '403':
44935
+ $ref: '#/components/responses/NotAuthorizedResponse'
44936
+ '429':
44937
+ $ref: '#/components/responses/TooManyRequestsResponse'
44938
+ security:
44939
+ - apiKeyAuth: []
44940
+ appKeyAuth: []
44941
+ - AuthZ:
44942
+ - security_monitoring_filters_write
44943
+ summary: Update resource filters
44944
+ tags:
44945
+ - Security Monitoring
44946
+ x-codegen-request-body-name: body
44947
+ x-menu-order: 27
44948
+ x-permission:
44949
+ operator: OR
44950
+ permissions:
44951
+ - security_monitoring_filters_write
44952
+ x-undo:
44953
+ type: idempotent
44749
44954
/api/v2/container_images:
44750
44955
get:
44751
44956
description: Get all Container Images for your organization.
0 commit comments