@@ -589,8 +589,8 @@ paths:
589589 summary : Example with date
590590 value : 2021-11-01
591591 withDatetime :
592- summary : Example with date and time
593- value : 2021-11-01 12 :00:00
592+ summary : Example with date and time in ISO 8601 datetime format.
593+ value : 2025-01-01T00 :00:00Z
594594 explode : true
595595 in : query
596596 name : start_date_filter
@@ -604,8 +604,8 @@ paths:
604604 summary : Example with date
605605 value : 2021-11-12
606606 withDatetime :
607- summary : Example with date and time
608- value : 2021-11-12 12 :00:00
607+ summary : Example with date and time in ISO 8601 datetime format.
608+ value : 2025-01-01T00 :00:00Z
609609 explode : true
610610 in : query
611611 name : end_date_filter
@@ -1988,6 +1988,36 @@ paths:
19881988 description : Returns a list of requests for your organization that is visible by the admin.
19891989 operationId : getRequests
19901990 parameters :
1991+ - description : A start date filter for the events.
1992+ examples :
1993+ withDate :
1994+ summary : Example with date
1995+ value : 2021-11-01
1996+ withDatetime :
1997+ summary : Example with date and time in ISO 8601 datetime format.
1998+ value : 2025-01-01T00:00:00Z
1999+ explode : true
2000+ in : query
2001+ name : start_date_filter
2002+ required : false
2003+ schema :
2004+ type : string
2005+ style : form
2006+ - description : An end date filter for the events.
2007+ examples :
2008+ withDate :
2009+ summary : Example with date
2010+ value : 2021-11-12
2011+ withDatetime :
2012+ summary : Example with date and time in ISO 8601 datetime format.
2013+ value : 2025-01-01T00:00:00Z
2014+ explode : true
2015+ in : query
2016+ name : end_date_filter
2017+ required : false
2018+ schema :
2019+ type : string
2020+ style : form
19912021 - description : The pagination cursor value.
19922022 example : cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw
19932023 explode : true
@@ -2841,6 +2871,7 @@ paths:
28412871 - resources
28422872 /resource-user-access-status/{resource_id}/{user_id} :
28432873 get :
2874+ deprecated : true
28442875 description : Get user's access status to a resource.
28452876 operationId : resource_user_access_status_retrieve
28462877 parameters :
@@ -3060,6 +3091,27 @@ paths:
30603091 - BearerAuth : []
30613092 tags :
30623093 - users
3094+ /access-rules :
3095+ post :
3096+ description : Creates a new access rule config for the given group_id.
3097+ operationId : create_access_rule
3098+ requestBody :
3099+ required : true
3100+ content :
3101+ application/json :
3102+ schema :
3103+ $ref : " #/components/schemas/UpdateAccessRuleInfo"
3104+ responses :
3105+ " 201 " :
3106+ content :
3107+ application/json :
3108+ schema :
3109+ $ref : " #/components/schemas/AccessRule"
3110+ description : The created access rule config for the group.
3111+ security :
3112+ - BearerAuth : []
3113+ tags :
3114+ - access-rules
30633115 /access-rules/{access_rule_id} :
30643116 get :
30653117 description : Returns a list of access rule config given the group_id of the access rule.
@@ -3080,7 +3132,7 @@ paths:
30803132 content :
30813133 application/json :
30823134 schema :
3083- $ref : " #/components/schemas/AccessRuleCondition "
3135+ $ref : " #/components/schemas/AccessRule "
30843136 description : The access rules for the group.
30853137 security :
30863138 - BearerAuth : []
@@ -3105,13 +3157,13 @@ paths:
31053157 content :
31063158 application/json :
31073159 schema :
3108- $ref : " #/components/schemas/AccessRuleCondition "
3160+ $ref : " #/components/schemas/UpdateAccessRuleInfo "
31093161 responses :
31103162 " 200 " :
31113163 content :
31123164 application/json :
31133165 schema :
3114- $ref : " #/components/schemas/AccessRuleCondition "
3166+ $ref : " #/components/schemas/AccessRule "
31153167 description : The updated access rule config for the group.
31163168 security :
31173169 - BearerAuth : []
@@ -5930,6 +5982,16 @@ components:
59305982 type : object
59315983 required :
59325984 - group_id
5985+ snowflake_role :
5986+ description : Remote info for Snowflake role.
5987+ properties :
5988+ role_id :
5989+ description : The id of the Snowflake role.
5990+ example : 01fa7402-01d8-103b-8deb-5f3a0ab7884
5991+ type : string
5992+ type : object
5993+ required :
5994+ - role_id
59335995 type : object
59345996 ResourceRemoteInfo :
59355997 description : Information that defines the remote resource. This replaces the deprecated remote_id and metadata fields.
@@ -6803,10 +6865,10 @@ components:
68036865 ### Usage Example
68046866 Returned from the `GET Requests` endpoint.
68056867 enum :
6806- - pending
6807- - approved
6808- - denied
6809- - canceled
6868+ - PENDING
6869+ - APPROVED
6870+ - DENIED
6871+ - CANCELED
68106872 type : string
68116873 Request :
68126874 description : |-
@@ -7679,15 +7741,67 @@ components:
76797741 - group_id
76807742 - group_type
76817743 type : object
7682- AccessRuleCondition :
7744+ UpdateAccessRuleInfo :
7745+ description : |-
7746+ # UpdateAccessRuleInfo Object
7747+ ### Description
7748+ The `UpdateAccessRuleInfo` object is used as an input to the UpdateAccessRule and CreateAccessRule API.
7749+ properties :
7750+ name :
7751+ description : The name of the access rule.
7752+ example : Platform Engineering
7753+ type : string
7754+ description :
7755+ description : A description of the group.
7756+ example : This access rule represents all platform engineers in the company.
7757+ type : string
7758+ admin_owner_id :
7759+ description : The ID of the owner of the group.
7760+ example : 7c86c85d-0651-43e2-a748-d69d658418e8
7761+ format : uuid
7762+ type : string
7763+ status :
7764+ description : The status of the access rule.
7765+ type : string
7766+ enum :
7767+ - ACTIVE
7768+ - PAUSED
7769+ example : ACTIVE
7770+ ruleClauses :
7771+ $ref : " #/components/schemas/RuleClauses"
7772+ required :
7773+ - status
7774+ - ruleClauses
7775+ - name
7776+ - admin_owner_id
7777+ - description
7778+ AccessRule :
76837779 description : |-
7684- # Access Rule Config Object
7780+ # Access Rule Object
76857781 ### Description
7686- The `AccessRuleConfig ` object is used to represent an access rule configuration.
7782+ The `AccessRule ` object is used to represent an access rule configuration.
76877783
76887784 ### Usage Example
76897785 Get access rule configurations from the `GET Access Rule Configs` endpoint.
76907786 properties :
7787+ access_rule_id :
7788+ description : The ID (group ID) of the access rule.
7789+ example : 7c86c85d-0651-43e2-a748-d69d658418e8
7790+ format : uuid
7791+ type : string
7792+ name :
7793+ description : The name of the access rule.
7794+ example : Platform Engineering
7795+ type : string
7796+ description :
7797+ description : A description of the group.
7798+ example : This access rule represents all platform engineers in the company.
7799+ type : string
7800+ admin_owner_id :
7801+ description : The ID of the owner of the group.
7802+ example : 7c86c85d-0651-43e2-a748-d69d658418e8
7803+ format : uuid
7804+ type : string
76917805 status :
76927806 description : The status of the access rule.
76937807 type : string
@@ -7700,6 +7814,10 @@ components:
77007814 required :
77017815 - status
77027816 - ruleClauses
7817+ - name
7818+ - admin_owner_id
7819+ - access_rule_id
7820+ - description
77037821 RuleClauses :
77047822 properties :
77057823 when :
@@ -7721,7 +7839,6 @@ components:
77217839 properties :
77227840 selectors :
77237841 type : array
7724- minItems : 1
77257842 items :
77267843 $ref : " #/components/schemas/TagSelector"
77277844 required :
0 commit comments