infrawrench-sdk 1.76.0 → 1.78.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/infrawrench-sdk.gemspec +4 -4
- data/lib/infrawrench/client.rb +781 -7
- data/lib/infrawrench/sdk.rb +2 -2
- data/lib/infrawrench/transport.rb +2 -2
- data/lib/infrawrench/version.rb +3 -3
- data/lib/infrawrench-sdk.rb +2 -2
- data/sig/infrawrench/sdk.rbs +363 -3
- metadata +4 -4
data/lib/infrawrench/sdk.rb
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# infrawrench-sdk v1.
|
|
3
|
+
# infrawrench-sdk v1.78.0 | MIT | Copyright (c) 2026 Infrawrench LLC
|
|
4
4
|
# https://github.com/Infrawrench/Infrawrench
|
|
5
5
|
#
|
|
6
|
-
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.
|
|
6
|
+
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.78.0).
|
|
7
7
|
#
|
|
8
8
|
# DO NOT EDIT. Regenerate with:
|
|
9
9
|
# pnpm --filter @infrawrench/web generate:sdk
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# infrawrench-sdk v1.
|
|
3
|
+
# infrawrench-sdk v1.78.0 | MIT | Copyright (c) 2026 Infrawrench LLC
|
|
4
4
|
# https://github.com/Infrawrench/Infrawrench
|
|
5
5
|
#
|
|
6
|
-
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.
|
|
6
|
+
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.78.0).
|
|
7
7
|
#
|
|
8
8
|
# DO NOT EDIT. Regenerate with:
|
|
9
9
|
# pnpm --filter @infrawrench/web generate:sdk
|
data/lib/infrawrench/version.rb
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# infrawrench-sdk v1.
|
|
3
|
+
# infrawrench-sdk v1.78.0 | MIT | Copyright (c) 2026 Infrawrench LLC
|
|
4
4
|
# https://github.com/Infrawrench/Infrawrench
|
|
5
5
|
#
|
|
6
|
-
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.
|
|
6
|
+
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.78.0).
|
|
7
7
|
#
|
|
8
8
|
# DO NOT EDIT. Regenerate with:
|
|
9
9
|
# pnpm --filter @infrawrench/web generate:sdk
|
|
@@ -15,5 +15,5 @@
|
|
|
15
15
|
# Kept in its own file so the gemspec can read the version without loading the
|
|
16
16
|
# client — a gemspec that pulls in net/http is a gemspec that can fail to parse.
|
|
17
17
|
module Infrawrench
|
|
18
|
-
VERSION = "1.
|
|
18
|
+
VERSION = "1.78.0"
|
|
19
19
|
end
|
data/lib/infrawrench-sdk.rb
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# infrawrench-sdk v1.
|
|
3
|
+
# infrawrench-sdk v1.78.0 | MIT | Copyright (c) 2026 Infrawrench LLC
|
|
4
4
|
# https://github.com/Infrawrench/Infrawrench
|
|
5
5
|
#
|
|
6
|
-
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.
|
|
6
|
+
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.78.0).
|
|
7
7
|
#
|
|
8
8
|
# DO NOT EDIT. Regenerate with:
|
|
9
9
|
# pnpm --filter @infrawrench/web generate:sdk
|
data/sig/infrawrench/sdk.rbs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
# infrawrench-sdk v1.
|
|
1
|
+
# infrawrench-sdk v1.78.0 | MIT | Copyright (c) 2026 Infrawrench LLC
|
|
2
2
|
# https://github.com/Infrawrench/Infrawrench
|
|
3
3
|
#
|
|
4
|
-
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.
|
|
4
|
+
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.78.0).
|
|
5
5
|
#
|
|
6
6
|
# DO NOT EDIT. Regenerate with:
|
|
7
7
|
# pnpm --filter @infrawrench/web generate:sdk
|
|
@@ -220,7 +220,8 @@ module Infrawrench
|
|
|
220
220
|
"dismissedCount" => Integer,
|
|
221
221
|
"unknownActivityCount" => Integer,
|
|
222
222
|
"staleDays" => Integer,
|
|
223
|
-
"generatedAt" => String
|
|
223
|
+
"generatedAt" => String,
|
|
224
|
+
?"jitGrantIssues" => Array[jit_grant_issue]
|
|
224
225
|
}
|
|
225
226
|
|
|
226
227
|
# Spec schema: `AccessReviewRoleCounts`.
|
|
@@ -703,6 +704,7 @@ module Infrawrench
|
|
|
703
704
|
| "logMatchAlerts"
|
|
704
705
|
| "postureAlerts"
|
|
705
706
|
| "probeAlerts"
|
|
707
|
+
| "sloAlerts"
|
|
706
708
|
| "quotaAlerts"
|
|
707
709
|
| "extendedSupportAlerts"
|
|
708
710
|
| "incidentAlerts"
|
|
@@ -5411,6 +5413,176 @@ module Infrawrench
|
|
|
5411
5413
|
"emailAddress" => String | nil
|
|
5412
5414
|
}
|
|
5413
5415
|
|
|
5416
|
+
# Spec schema: `JitAccessAccount`.
|
|
5417
|
+
type jit_access_account = {
|
|
5418
|
+
"id" => String,
|
|
5419
|
+
"displayName" => String,
|
|
5420
|
+
"pluginId" => String,
|
|
5421
|
+
"labels" => jit_provider_labels
|
|
5422
|
+
}
|
|
5423
|
+
|
|
5424
|
+
# Spec schema: `JitAccessRequest`.
|
|
5425
|
+
type jit_access_request = {
|
|
5426
|
+
"id" => String,
|
|
5427
|
+
"policyId" => String | nil,
|
|
5428
|
+
"policyName" => String | nil,
|
|
5429
|
+
"accountId" => String,
|
|
5430
|
+
"accountName" => String | nil,
|
|
5431
|
+
"pluginId" => String,
|
|
5432
|
+
"scopeId" => String,
|
|
5433
|
+
"scopeName" => String,
|
|
5434
|
+
"roleId" => String,
|
|
5435
|
+
"roleName" => String,
|
|
5436
|
+
"userId" => String,
|
|
5437
|
+
"userName" => String | nil,
|
|
5438
|
+
"principalId" => String,
|
|
5439
|
+
"principalName" => String,
|
|
5440
|
+
"principalKind" => "user" | "group",
|
|
5441
|
+
"principalMatched" => bool,
|
|
5442
|
+
"reason" => String,
|
|
5443
|
+
"ticket" => String | nil,
|
|
5444
|
+
"durationMinutes" => Integer,
|
|
5445
|
+
"status" => jit_request_status,
|
|
5446
|
+
"requestExpiresAt" => String,
|
|
5447
|
+
"decidedAt" => String | nil,
|
|
5448
|
+
"decidedByUserId" => String | nil,
|
|
5449
|
+
"decidedByName" => String | nil,
|
|
5450
|
+
"decisionNote" => String | nil,
|
|
5451
|
+
"selfApproved" => bool,
|
|
5452
|
+
"incidentId" => String | nil,
|
|
5453
|
+
"grantedAt" => String | nil,
|
|
5454
|
+
"grantExpiresAt" => String | nil,
|
|
5455
|
+
"preexisting" => bool,
|
|
5456
|
+
"extendedMinutes" => Integer,
|
|
5457
|
+
"endedAt" => String | nil,
|
|
5458
|
+
"endedByName" => String | nil,
|
|
5459
|
+
"endReason" => "expired" | "revoked" | "grant_failed" | nil,
|
|
5460
|
+
"lastError" => String | nil,
|
|
5461
|
+
"revokeAttempts" => Integer,
|
|
5462
|
+
"createdAt" => String,
|
|
5463
|
+
"canDecide" => bool,
|
|
5464
|
+
"canCancel" => bool,
|
|
5465
|
+
"canExtend" => bool,
|
|
5466
|
+
"canRevoke" => bool
|
|
5467
|
+
}
|
|
5468
|
+
|
|
5469
|
+
# Spec schema: `JitCreateRequest`.
|
|
5470
|
+
type jit_create_request = {
|
|
5471
|
+
"policyId" => String,
|
|
5472
|
+
"scopeId" => String,
|
|
5473
|
+
"roleId" => String,
|
|
5474
|
+
"durationMinutes" => Integer,
|
|
5475
|
+
"reason" => String,
|
|
5476
|
+
?"ticket" => String,
|
|
5477
|
+
?"principalId" => String
|
|
5478
|
+
}
|
|
5479
|
+
|
|
5480
|
+
# Spec schema: `JitError`.
|
|
5481
|
+
type jit_error = { "error" => String, ?"code" => String }
|
|
5482
|
+
|
|
5483
|
+
# Spec schema: `JitGrantIssue`.
|
|
5484
|
+
type jit_grant_issue = {
|
|
5485
|
+
"requestId" => String,
|
|
5486
|
+
"kind" => "revoke_failed" | "overdue" | "still_present",
|
|
5487
|
+
"accountId" => String,
|
|
5488
|
+
"accountName" => String | nil,
|
|
5489
|
+
"pluginId" => String,
|
|
5490
|
+
"scopeName" => String,
|
|
5491
|
+
"roleName" => String,
|
|
5492
|
+
"principalName" => String,
|
|
5493
|
+
"userName" => String | nil,
|
|
5494
|
+
"grantExpiresAt" => String | nil,
|
|
5495
|
+
"lastError" => String | nil,
|
|
5496
|
+
"revokeAttempts" => Integer
|
|
5497
|
+
}
|
|
5498
|
+
|
|
5499
|
+
# Spec schema: `JitPickerOption`.
|
|
5500
|
+
type jit_picker_option = { "id" => String, "name" => String, ?"description" => String, ?"privileged" => bool }
|
|
5501
|
+
|
|
5502
|
+
# Spec schema: `JitPolicy`.
|
|
5503
|
+
type jit_policy = {
|
|
5504
|
+
"id" => String,
|
|
5505
|
+
"name" => String,
|
|
5506
|
+
"description" => String | nil,
|
|
5507
|
+
"enabled" => bool,
|
|
5508
|
+
"accountId" => String,
|
|
5509
|
+
"accountName" => String | nil,
|
|
5510
|
+
"pluginId" => String,
|
|
5511
|
+
"targets" => Array[jit_policy_target],
|
|
5512
|
+
"maxDurationMinutes" => Integer,
|
|
5513
|
+
"defaultDurationMinutes" => Integer,
|
|
5514
|
+
"requestTimeoutMinutes" => Integer,
|
|
5515
|
+
"requesterUserIds" => Array[String],
|
|
5516
|
+
"requesterRoleIds" => Array[String],
|
|
5517
|
+
"approverUserIds" => Array[String],
|
|
5518
|
+
"approverRoleIds" => Array[String],
|
|
5519
|
+
"approverOnCallScheduleIds" => Array[String],
|
|
5520
|
+
"allowSelfApprovalDuringIncident" => bool,
|
|
5521
|
+
"requireReason" => bool,
|
|
5522
|
+
"requireTicket" => bool,
|
|
5523
|
+
"createdAt" => String,
|
|
5524
|
+
"updatedAt" => String,
|
|
5525
|
+
?"labels" => jit_provider_labels & (Hash[String, untyped] | nil),
|
|
5526
|
+
?"canRequest" => bool
|
|
5527
|
+
}
|
|
5528
|
+
|
|
5529
|
+
# Spec schema: `JitPolicyInput`.
|
|
5530
|
+
type jit_policy_input = {
|
|
5531
|
+
"name" => String,
|
|
5532
|
+
?"description" => String | nil,
|
|
5533
|
+
?"enabled" => bool,
|
|
5534
|
+
"accountId" => String,
|
|
5535
|
+
"targets" => Array[jit_policy_target],
|
|
5536
|
+
"maxDurationMinutes" => Integer,
|
|
5537
|
+
?"defaultDurationMinutes" => Integer,
|
|
5538
|
+
?"requestTimeoutMinutes" => Integer,
|
|
5539
|
+
?"requesterUserIds" => Array[String],
|
|
5540
|
+
?"requesterRoleIds" => Array[String],
|
|
5541
|
+
?"approverUserIds" => Array[String],
|
|
5542
|
+
?"approverRoleIds" => Array[String],
|
|
5543
|
+
?"approverOnCallScheduleIds" => Array[String],
|
|
5544
|
+
?"allowSelfApprovalDuringIncident" => bool,
|
|
5545
|
+
?"requireReason" => bool,
|
|
5546
|
+
?"requireTicket" => bool
|
|
5547
|
+
}
|
|
5548
|
+
|
|
5549
|
+
# Spec schema: `JitPolicyTarget`.
|
|
5550
|
+
type jit_policy_target = { "scopeId" => String, "scopeName" => String, "roleId" => String, "roleName" => String }
|
|
5551
|
+
|
|
5552
|
+
# Spec schema: `JitPrincipalOption`.
|
|
5553
|
+
type jit_principal_option = { "id" => String, "name" => String, "kind" => "user" | "group", ?"email" => String | nil }
|
|
5554
|
+
| nil
|
|
5555
|
+
|
|
5556
|
+
# Spec schema: `JitPrincipalResolution`.
|
|
5557
|
+
type jit_principal_resolution = { "principal" => jit_principal_option, "canPick" => bool, "labels" => jit_provider_labels }
|
|
5558
|
+
|
|
5559
|
+
# Spec schema: `JitProviderLabels`.
|
|
5560
|
+
type jit_provider_labels = {
|
|
5561
|
+
"scopeLabel" => String,
|
|
5562
|
+
"roleLabel" => String,
|
|
5563
|
+
"principalLabel" => String,
|
|
5564
|
+
?"description" => String,
|
|
5565
|
+
"providerEnforcedExpiry" => bool,
|
|
5566
|
+
"principalPicker" => bool
|
|
5567
|
+
}
|
|
5568
|
+
|
|
5569
|
+
# `pending` (awaiting an approver) or `timed_out`; `denied` / `cancelled`;
|
|
5570
|
+
# `granting` (the provider call is in flight), `active`, `grant_failed`;
|
|
5571
|
+
# `revoking` then `revoked` when the window ends; `revoke_failed` while a
|
|
5572
|
+
# failed revoke is retried.
|
|
5573
|
+
#
|
|
5574
|
+
# Spec schema: `JitRequestStatus`.
|
|
5575
|
+
type jit_request_status = "pending"
|
|
5576
|
+
| "timed_out"
|
|
5577
|
+
| "denied"
|
|
5578
|
+
| "cancelled"
|
|
5579
|
+
| "granting"
|
|
5580
|
+
| "active"
|
|
5581
|
+
| "grant_failed"
|
|
5582
|
+
| "revoking"
|
|
5583
|
+
| "revoked"
|
|
5584
|
+
| "revoke_failed"
|
|
5585
|
+
|
|
5414
5586
|
# Free-form JSON object whose shape depends on the plugin.
|
|
5415
5587
|
#
|
|
5416
5588
|
# Spec schema: `JsonObject`.
|
|
@@ -6350,6 +6522,7 @@ module Infrawrench
|
|
|
6350
6522
|
?"dashboards" => Array[org_config_dashboard],
|
|
6351
6523
|
?"metricAlerts" => Array[org_config_metric_alert],
|
|
6352
6524
|
?"probes" => Array[org_config_probe],
|
|
6525
|
+
?"slos" => Array[org_config_slo],
|
|
6353
6526
|
?"costCentres" => Array[org_config_cost_centre],
|
|
6354
6527
|
?"tagPolicy" => {
|
|
6355
6528
|
"requiredTags" => Array[{ "key" => String, ?"allowedValues" => Array[String] }],
|
|
@@ -6404,10 +6577,35 @@ module Infrawrench
|
|
|
6404
6577
|
| "dashboards"
|
|
6405
6578
|
| "metricAlerts"
|
|
6406
6579
|
| "probes"
|
|
6580
|
+
| "slos"
|
|
6407
6581
|
| "costCentres"
|
|
6408
6582
|
| "tagPolicy"
|
|
6409
6583
|
| "alertSettings"
|
|
6410
6584
|
|
|
6585
|
+
# Spec schema: `OrgConfigSlo`.
|
|
6586
|
+
type org_config_slo = {
|
|
6587
|
+
"key" => String,
|
|
6588
|
+
"name" => String,
|
|
6589
|
+
?"description" => String | nil,
|
|
6590
|
+
"sliKind" => "probe_availability" | "probe_latency" | "metric_threshold",
|
|
6591
|
+
?"probeKey" => String,
|
|
6592
|
+
?"latencyThresholdMs" => Integer,
|
|
6593
|
+
?"resource" => {
|
|
6594
|
+
"pluginId" => String,
|
|
6595
|
+
"resourceTypeId" => String,
|
|
6596
|
+
"externalId" => String,
|
|
6597
|
+
"account" => String
|
|
6598
|
+
},
|
|
6599
|
+
?"metricKey" => String,
|
|
6600
|
+
?"comparator" => "<" | "<=" | ">" | ">=",
|
|
6601
|
+
?"threshold" => Numeric,
|
|
6602
|
+
"targetPercent" => Numeric,
|
|
6603
|
+
?"windowDays" => Numeric | Numeric | Numeric,
|
|
6604
|
+
?"alertsEnabled" => bool,
|
|
6605
|
+
?"suggestFreeze" => bool,
|
|
6606
|
+
?"enabled" => bool
|
|
6607
|
+
}
|
|
6608
|
+
|
|
6411
6609
|
# Something the document asked for that this organization could not satisfy; a
|
|
6412
6610
|
# pin for a resource nobody has synced, an account name that does not exist
|
|
6413
6611
|
# here. Not fatal: the affected card, clause or deletion is dropped and the
|
|
@@ -9969,6 +10167,110 @@ module Infrawrench
|
|
|
9969
10167
|
?"paused" => bool
|
|
9970
10168
|
}
|
|
9971
10169
|
|
|
10170
|
+
# Spec schema: `Slo`.
|
|
10171
|
+
type slo = {
|
|
10172
|
+
"id" => String,
|
|
10173
|
+
"name" => String,
|
|
10174
|
+
"description" => String | nil,
|
|
10175
|
+
"targetPercent" => Numeric,
|
|
10176
|
+
"windowDays" => Numeric | Numeric | Numeric,
|
|
10177
|
+
"alertsEnabled" => bool,
|
|
10178
|
+
"suggestFreeze" => bool,
|
|
10179
|
+
"enabled" => bool,
|
|
10180
|
+
"sliKind" => "probe_availability" | "probe_latency" | "metric_threshold",
|
|
10181
|
+
"probeId" => String | nil,
|
|
10182
|
+
"latencyThresholdMs" => Integer | nil,
|
|
10183
|
+
"resourceId" => String | nil,
|
|
10184
|
+
"metricKey" => String | nil,
|
|
10185
|
+
"comparator" => "<" | "<=" | ">" | ">=" | nil,
|
|
10186
|
+
"threshold" => Numeric | nil,
|
|
10187
|
+
"probeName" => String | nil,
|
|
10188
|
+
"resourceName" => String | nil,
|
|
10189
|
+
"accountId" => String | nil,
|
|
10190
|
+
"pluginId" => plugin_id & (String | nil),
|
|
10191
|
+
"resourceTypeId" => String | nil,
|
|
10192
|
+
"status" => "exhausted" | "fast_burn" | "slow_burn" | "ok" | "unknown",
|
|
10193
|
+
"sli" => Numeric | nil,
|
|
10194
|
+
"goodEvents" => Numeric,
|
|
10195
|
+
"totalEvents" => Numeric,
|
|
10196
|
+
"budgetRemaining" => Numeric | nil,
|
|
10197
|
+
"budgetTotalMinutes" => Numeric,
|
|
10198
|
+
"budgetRemainingMinutes" => Numeric | nil,
|
|
10199
|
+
"burnRates" => Hash[String, Numeric | nil],
|
|
10200
|
+
"burnAlert" => "none" | "slow" | "fast",
|
|
10201
|
+
"exhaustedAt" => String | nil,
|
|
10202
|
+
"lastEvalAt" => String | nil,
|
|
10203
|
+
"lastError" => String | nil,
|
|
10204
|
+
"createdAt" => String,
|
|
10205
|
+
"updatedAt" => String
|
|
10206
|
+
}
|
|
10207
|
+
|
|
10208
|
+
# The change freeze in effect, if any.
|
|
10209
|
+
#
|
|
10210
|
+
# Spec schema: `SloActiveFreeze`.
|
|
10211
|
+
type slo_active_freeze = { "id" => String, "name" => String, "endsAt" => String | nil } | nil
|
|
10212
|
+
|
|
10213
|
+
# Spec schema: `SloBucket`.
|
|
10214
|
+
type slo_bucket = { "startMs" => Numeric, "good" => Numeric, "total" => Numeric }
|
|
10215
|
+
|
|
10216
|
+
# Spec schema: `SloCreate`.
|
|
10217
|
+
type slo_create = {
|
|
10218
|
+
"name" => String,
|
|
10219
|
+
?"description" => String | nil,
|
|
10220
|
+
"sliKind" => "probe_availability" | "probe_latency" | "metric_threshold",
|
|
10221
|
+
?"probeId" => String | nil,
|
|
10222
|
+
?"latencyThresholdMs" => Integer | nil,
|
|
10223
|
+
?"resourceId" => String | nil,
|
|
10224
|
+
?"metricKey" => String | nil,
|
|
10225
|
+
?"comparator" => "<" | "<=" | ">" | ">=" | nil,
|
|
10226
|
+
?"threshold" => Numeric | nil,
|
|
10227
|
+
?"targetPercent" => Numeric,
|
|
10228
|
+
?"windowDays" => Numeric | Numeric | Numeric,
|
|
10229
|
+
?"alertsEnabled" => bool,
|
|
10230
|
+
?"suggestFreeze" => bool,
|
|
10231
|
+
?"enabled" => bool
|
|
10232
|
+
}
|
|
10233
|
+
|
|
10234
|
+
# Spec schema: `SloDetail`.
|
|
10235
|
+
type slo_detail = { "slo" => slo, "buckets" => Array[slo_bucket], "activeFreeze" => slo_active_freeze }
|
|
10236
|
+
|
|
10237
|
+
# Spec schema: `SloFreezeRequest`.
|
|
10238
|
+
type slo_freeze_request = { ?"durationHours" => Numeric | Numeric | Numeric | nil, ?"reason" => String }
|
|
10239
|
+
|
|
10240
|
+
# Spec schema: `SloList`.
|
|
10241
|
+
type slo_list = { "slos" => Array[slo] }
|
|
10242
|
+
|
|
10243
|
+
# Spec schema: `SloSources`.
|
|
10244
|
+
type slo_sources = {
|
|
10245
|
+
"probes" => Array[{ "id" => String, "name" => String, "url" => String, "status" => "up" | "down" | "unknown" }],
|
|
10246
|
+
"metricResources" => Array[{
|
|
10247
|
+
"resourceId" => String,
|
|
10248
|
+
"displayName" => String,
|
|
10249
|
+
"accountId" => String,
|
|
10250
|
+
"pluginId" => plugin_id,
|
|
10251
|
+
"resourceTypeId" => String,
|
|
10252
|
+
"series" => Array[{ "label" => String, "unit" => String }]
|
|
10253
|
+
}]
|
|
10254
|
+
}
|
|
10255
|
+
|
|
10256
|
+
# Spec schema: `SloUpdate`.
|
|
10257
|
+
type slo_update = {
|
|
10258
|
+
?"name" => String,
|
|
10259
|
+
?"description" => String | nil,
|
|
10260
|
+
?"sliKind" => "probe_availability" | "probe_latency" | "metric_threshold",
|
|
10261
|
+
?"probeId" => String | nil,
|
|
10262
|
+
?"latencyThresholdMs" => Integer | nil,
|
|
10263
|
+
?"resourceId" => String | nil,
|
|
10264
|
+
?"metricKey" => String | nil,
|
|
10265
|
+
?"comparator" => "<" | "<=" | ">" | ">=" | nil,
|
|
10266
|
+
?"threshold" => Numeric | nil,
|
|
10267
|
+
?"targetPercent" => Numeric,
|
|
10268
|
+
?"windowDays" => Numeric | Numeric | Numeric,
|
|
10269
|
+
?"alertsEnabled" => bool,
|
|
10270
|
+
?"suggestFreeze" => bool,
|
|
10271
|
+
?"enabled" => bool
|
|
10272
|
+
}
|
|
10273
|
+
|
|
9972
10274
|
# Spec schema: `SqlEstimateRequest`.
|
|
9973
10275
|
type sql_estimate_request = { "accountId" => String, "resourceId" => resource_id, "sql" => String }
|
|
9974
10276
|
|
|
@@ -10334,6 +10636,7 @@ module Infrawrench
|
|
|
10334
10636
|
| "expiring"
|
|
10335
10637
|
| "posture"
|
|
10336
10638
|
| "access-review"
|
|
10639
|
+
| "jit-access"
|
|
10337
10640
|
| "backups"
|
|
10338
10641
|
| "wallboard"
|
|
10339
10642
|
| "calendar"
|
|
@@ -10350,6 +10653,7 @@ module Infrawrench
|
|
|
10350
10653
|
| "quotas"
|
|
10351
10654
|
| "price-catalog"
|
|
10352
10655
|
| "incidents"
|
|
10656
|
+
| "slos"
|
|
10353
10657
|
| "workflows"
|
|
10354
10658
|
| "deployments"
|
|
10355
10659
|
| "settings"
|
|
@@ -10362,6 +10666,7 @@ module Infrawrench
|
|
|
10362
10666
|
?"reportId" => String,
|
|
10363
10667
|
?"invoiceId" => String,
|
|
10364
10668
|
?"canvasId" => String,
|
|
10669
|
+
?"sloId" => String,
|
|
10365
10670
|
?"sessionId" => String,
|
|
10366
10671
|
?"windowId" => Integer,
|
|
10367
10672
|
?"appId" => String
|
|
@@ -11698,6 +12003,43 @@ module Infrawrench
|
|
|
11698
12003
|
def verify: (?org_id: String?, ?body: jira_verify_input?, ?request_options: Hash[Symbol, untyped]?) -> jira_verify_result
|
|
11699
12004
|
end
|
|
11700
12005
|
|
|
12006
|
+
class JitAccessAccountsNamespace
|
|
12007
|
+
def initialize: (Transport) -> void
|
|
12008
|
+
def list: (?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> Array[jit_access_account]
|
|
12009
|
+
def roles: (account_id: String, scope_id: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> Array[jit_picker_option]
|
|
12010
|
+
def scopes: (account_id: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> Array[jit_picker_option]
|
|
12011
|
+
end
|
|
12012
|
+
|
|
12013
|
+
class JitAccessPoliciesNamespace
|
|
12014
|
+
def initialize: (Transport) -> void
|
|
12015
|
+
def create: (?org_id: String?, ?body: jit_policy_input?, ?request_options: Hash[Symbol, untyped]?) -> jit_policy
|
|
12016
|
+
def delete: (policy_id: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> ok
|
|
12017
|
+
def get: (policy_id: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> jit_policy
|
|
12018
|
+
def list: (?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> Array[jit_policy]
|
|
12019
|
+
def principal: (policy_id: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> jit_principal_resolution
|
|
12020
|
+
def principals: (policy_id: String, ?org_id: String?, ?q: String?, ?request_options: Hash[Symbol, untyped]?) -> Array[jit_principal_option & Hash[String, untyped]]
|
|
12021
|
+
def update: (policy_id: String, ?org_id: String?, ?body: jit_policy_input?, ?request_options: Hash[Symbol, untyped]?) -> jit_policy
|
|
12022
|
+
end
|
|
12023
|
+
|
|
12024
|
+
class JitAccessRequestsNamespace
|
|
12025
|
+
def initialize: (Transport) -> void
|
|
12026
|
+
def approve: (request_id: String, ?org_id: String?, ?body: { ?"note" => String }?, ?request_options: Hash[Symbol, untyped]?) -> jit_access_request
|
|
12027
|
+
def cancel: (request_id: String, ?org_id: String?, ?body: { ?"note" => String }?, ?request_options: Hash[Symbol, untyped]?) -> jit_access_request
|
|
12028
|
+
def create: (?org_id: String?, ?body: jit_create_request?, ?request_options: Hash[Symbol, untyped]?) -> jit_access_request
|
|
12029
|
+
def deny: (request_id: String, ?org_id: String?, ?body: { ?"note" => String }?, ?request_options: Hash[Symbol, untyped]?) -> jit_access_request
|
|
12030
|
+
def post_org_org_id_jit_access_requests_request_id_extend: (request_id: String, ?org_id: String?, ?body: { "minutes" => Integer }?, ?request_options: Hash[Symbol, untyped]?) -> jit_access_request
|
|
12031
|
+
def get: (request_id: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> jit_access_request
|
|
12032
|
+
def list: (?org_id: String?, ?status: jit_request_status?, ?mine: "1"?, ?holding: "1"?, ?request_options: Hash[Symbol, untyped]?) -> Array[jit_access_request]
|
|
12033
|
+
def revoke: (request_id: String, ?org_id: String?, ?body: { ?"note" => String }?, ?request_options: Hash[Symbol, untyped]?) -> jit_access_request
|
|
12034
|
+
end
|
|
12035
|
+
|
|
12036
|
+
class JitAccessNamespace
|
|
12037
|
+
attr_reader accounts: JitAccessAccountsNamespace
|
|
12038
|
+
attr_reader policies: JitAccessPoliciesNamespace
|
|
12039
|
+
attr_reader requests: JitAccessRequestsNamespace
|
|
12040
|
+
def initialize: (Transport) -> void
|
|
12041
|
+
end
|
|
12042
|
+
|
|
11701
12043
|
class KvNamespace
|
|
11702
12044
|
def initialize: (Transport) -> void
|
|
11703
12045
|
def command: (body: kv_command_request, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> kv_command_response
|
|
@@ -12182,6 +12524,22 @@ module Infrawrench
|
|
|
12182
12524
|
def test: (?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> { "ok" => bool, "channelCount" => Integer, "attempted" => Integer, "succeeded" => Integer }
|
|
12183
12525
|
end
|
|
12184
12526
|
|
|
12527
|
+
class SlosGetNamespace
|
|
12528
|
+
def initialize: (Transport) -> void
|
|
12529
|
+
def get: (?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> slo_list
|
|
12530
|
+
def get_org_org_id_slos_slo_id: (slo_id: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> slo_detail
|
|
12531
|
+
end
|
|
12532
|
+
|
|
12533
|
+
class SlosNamespace
|
|
12534
|
+
attr_reader get: SlosGetNamespace
|
|
12535
|
+
def initialize: (Transport) -> void
|
|
12536
|
+
def create: (?org_id: String?, ?body: slo_create?, ?request_options: Hash[Symbol, untyped]?) -> slo
|
|
12537
|
+
def delete: (slo_id: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> nil
|
|
12538
|
+
def post_org_org_id_slos_slo_id_freeze: (slo_id: String, ?org_id: String?, ?body: slo_freeze_request?, ?request_options: Hash[Symbol, untyped]?) -> (slo_active_freeze & Hash[String, untyped])
|
|
12539
|
+
def sources: (?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> slo_sources
|
|
12540
|
+
def update: (slo_id: String, ?org_id: String?, ?body: slo_update?, ?request_options: Hash[Symbol, untyped]?) -> slo
|
|
12541
|
+
end
|
|
12542
|
+
|
|
12185
12543
|
class SqlNamespace
|
|
12186
12544
|
def initialize: (Transport) -> void
|
|
12187
12545
|
def estimate: (body: sql_estimate_request, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> json_object
|
|
@@ -12417,6 +12775,7 @@ module Infrawrench
|
|
|
12417
12775
|
attr_reader invitations: InvitationsNamespace
|
|
12418
12776
|
attr_reader invoices: InvoicesNamespace
|
|
12419
12777
|
attr_reader jira: JiraNamespace
|
|
12778
|
+
attr_reader jit_access: JitAccessNamespace
|
|
12420
12779
|
attr_reader kv: KvNamespace
|
|
12421
12780
|
attr_reader leases: LeasesNamespace
|
|
12422
12781
|
attr_reader linear: LinearNamespace
|
|
@@ -12452,6 +12811,7 @@ module Infrawrench
|
|
|
12452
12811
|
attr_reader shared_consoles: SharedConsolesNamespace
|
|
12453
12812
|
attr_reader sharing: SharingNamespace
|
|
12454
12813
|
attr_reader slack: SlackNamespace
|
|
12814
|
+
attr_reader slos: SlosNamespace
|
|
12455
12815
|
attr_reader sql: SqlNamespace
|
|
12456
12816
|
attr_reader ssh_fanout: SshFanoutNamespace
|
|
12457
12817
|
attr_reader ssh_keys: SshKeysNamespace
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: infrawrench-sdk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.78.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Infrawrench LLC
|
|
@@ -9,9 +9,9 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2026-10-
|
|
12
|
+
date: 2026-10-08 00:00:00.000000000 Z
|
|
13
13
|
dependencies: []
|
|
14
|
-
description: Generated Ruby client for the Infrawrench API (v1.
|
|
14
|
+
description: Generated Ruby client for the Infrawrench API (v1.78.0). Covers the published
|
|
15
15
|
API surface only — operations marked x-internal in the spec are not generated. No
|
|
16
16
|
runtime dependencies.
|
|
17
17
|
email:
|
|
@@ -58,5 +58,5 @@ requirements: []
|
|
|
58
58
|
rubygems_version: 3.5.22
|
|
59
59
|
signing_key:
|
|
60
60
|
specification_version: 4
|
|
61
|
-
summary: Generated Ruby client for the Infrawrench API (v1.
|
|
61
|
+
summary: Generated Ruby client for the Infrawrench API (v1.78.0).
|
|
62
62
|
test_files: []
|