Skip to content

Commit 5611f5a

Browse files
feat(api): api update
1 parent d1993d0 commit 5611f5a

File tree

2 files changed

+35
-11
lines changed

2 files changed

+35
-11
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 1793
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-ae3db96509d745d1e6b7044714cb8d3d8c8c6827d8c80feafb3246e1a0f1b006.yml
3-
openapi_spec_hash: f1761057d34558b437d249905e804a17
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-8fa3f6e383f9d62f2d5acfe5ee8a018833116f23c7b6baba86122dcb2f705a5f.yml
3+
openapi_spec_hash: cdb5971e7386829d6460c02002543f25
44
config_hash: de4c81cee29cd7dd907279e8916b334f

src/resources/zero-trust/gateway/rules.ts

Lines changed: 33 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,9 @@ export interface GatewayRule {
312312
precedence: number;
313313

314314
/**
315-
* The wirefilter expression used for traffic matching.
315+
* The wirefilter expression used for traffic matching. The API automatically
316+
* formats and sanitizes this expression. This returns a normalized version that
317+
* may differ from your input and cause Terraform state drift.
316318
*/
317319
traffic: string;
318320

@@ -334,7 +336,9 @@ export interface GatewayRule {
334336
description?: string;
335337

336338
/**
337-
* The wirefilter expression used for device posture check matching.
339+
* The wirefilter expression used for device posture check matching. The API
340+
* automatically formats and sanitizes this expression. This returns a normalized
341+
* version that may differ from your input and cause Terraform state drift.
338342
*/
339343
device_posture?: string;
340344

@@ -347,7 +351,9 @@ export interface GatewayRule {
347351
expiration?: GatewayRule.Expiration | null;
348352

349353
/**
350-
* The wirefilter expression used for identity matching.
354+
* The wirefilter expression used for identity matching. The API automatically
355+
* formats and sanitizes this expression. This returns a normalized version that
356+
* may differ from your input and cause Terraform state drift.
351357
*/
352358
identity?: string;
353359

@@ -678,7 +684,9 @@ export namespace RuleSetting {
678684
*/
679685
export interface CheckSession {
680686
/**
681-
* Configure how fresh the session needs to be to be considered valid.
687+
* Configure how fresh the session needs to be to be considered valid. The API
688+
* automatically formats and sanitizes this expression. This returns a normalized
689+
* version that may differ from your input and cause Terraform state drift.
682690
*/
683691
duration?: string;
684692

@@ -1107,7 +1115,9 @@ export namespace RuleSettingParam {
11071115
*/
11081116
export interface CheckSession {
11091117
/**
1110-
* Configure how fresh the session needs to be to be considered valid.
1118+
* Configure how fresh the session needs to be to be considered valid. The API
1119+
* automatically formats and sanitizes this expression. This returns a normalized
1120+
* version that may differ from your input and cause Terraform state drift.
11111121
*/
11121122
duration?: string;
11131123

@@ -1456,6 +1466,9 @@ export interface RuleCreateParams {
14561466

14571467
/**
14581468
* Body param: The wirefilter expression used for device posture check matching.
1469+
* The API automatically formats and sanitizes this expression. This returns a
1470+
* normalized version that may differ from your input and cause Terraform state
1471+
* drift.
14591472
*/
14601473
device_posture?: string;
14611474

@@ -1479,7 +1492,9 @@ export interface RuleCreateParams {
14791492
filters?: Array<GatewayFilterParam>;
14801493

14811494
/**
1482-
* Body param: The wirefilter expression used for identity matching.
1495+
* Body param: The wirefilter expression used for identity matching. The API
1496+
* automatically formats and sanitizes this expression. This returns a normalized
1497+
* version that may differ from your input and cause Terraform state drift.
14831498
*/
14841499
identity?: string;
14851500

@@ -1504,7 +1519,9 @@ export interface RuleCreateParams {
15041519
schedule?: ScheduleParam | null;
15051520

15061521
/**
1507-
* Body param: The wirefilter expression used for traffic matching.
1522+
* Body param: The wirefilter expression used for traffic matching. The API
1523+
* automatically formats and sanitizes this expression. This returns a normalized
1524+
* version that may differ from your input and cause Terraform state drift.
15081525
*/
15091526
traffic?: string;
15101527
}
@@ -1578,6 +1595,9 @@ export interface RuleUpdateParams {
15781595

15791596
/**
15801597
* Body param: The wirefilter expression used for device posture check matching.
1598+
* The API automatically formats and sanitizes this expression. This returns a
1599+
* normalized version that may differ from your input and cause Terraform state
1600+
* drift.
15811601
*/
15821602
device_posture?: string;
15831603

@@ -1601,7 +1621,9 @@ export interface RuleUpdateParams {
16011621
filters?: Array<GatewayFilterParam>;
16021622

16031623
/**
1604-
* Body param: The wirefilter expression used for identity matching.
1624+
* Body param: The wirefilter expression used for identity matching. The API
1625+
* automatically formats and sanitizes this expression. This returns a normalized
1626+
* version that may differ from your input and cause Terraform state drift.
16051627
*/
16061628
identity?: string;
16071629

@@ -1626,7 +1648,9 @@ export interface RuleUpdateParams {
16261648
schedule?: ScheduleParam | null;
16271649

16281650
/**
1629-
* Body param: The wirefilter expression used for traffic matching.
1651+
* Body param: The wirefilter expression used for traffic matching. The API
1652+
* automatically formats and sanitizes this expression. This returns a normalized
1653+
* version that may differ from your input and cause Terraform state drift.
16301654
*/
16311655
traffic?: string;
16321656
}

0 commit comments

Comments
 (0)