@tangle-network/agent-interface 5.10.7 → 5.10.9
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.
- package/dist/environment-profile-capabilities.d.ts +4 -1
- package/dist/environment-runtime.d.ts +20 -4
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/proxy-secrets.d.ts +14 -16
- package/dist/proxy-secrets.js +35 -37
- package/fixtures/proxy-secret-wire-v1.json +175 -361
- package/package.json +1 -1
|
@@ -15,7 +15,10 @@ export declare const AgentProfileCapabilitiesSchema: z.ZodObject<{
|
|
|
15
15
|
opaque: "opaque";
|
|
16
16
|
}>>;
|
|
17
17
|
enforcement: z.ZodLiteral<"exact">;
|
|
18
|
-
transports: z.ZodTuple<[z.
|
|
18
|
+
transports: z.ZodTuple<[z.ZodEnum<{
|
|
19
|
+
"https:443": "https:443";
|
|
20
|
+
https: "https";
|
|
21
|
+
}>], null>;
|
|
19
22
|
lifecycle: z.ZodLiteral<true>;
|
|
20
23
|
placementReceiptRequired: z.ZodLiteral<true>;
|
|
21
24
|
}, z.core.$strict>>;
|
|
@@ -1573,7 +1573,10 @@ export declare const AgentEnvironmentCapabilitiesSchema: z.ZodObject<{
|
|
|
1573
1573
|
opaque: "opaque";
|
|
1574
1574
|
}>>;
|
|
1575
1575
|
enforcement: z.ZodLiteral<"exact">;
|
|
1576
|
-
transports: z.ZodTuple<[z.
|
|
1576
|
+
transports: z.ZodTuple<[z.ZodEnum<{
|
|
1577
|
+
"https:443": "https:443";
|
|
1578
|
+
https: "https";
|
|
1579
|
+
}>], null>;
|
|
1577
1580
|
lifecycle: z.ZodLiteral<true>;
|
|
1578
1581
|
placementReceiptRequired: z.ZodLiteral<true>;
|
|
1579
1582
|
}, z.core.$strict>>;
|
|
@@ -1702,7 +1705,10 @@ export declare const AgentEnvironmentCapabilitiesSchema: z.ZodObject<{
|
|
|
1702
1705
|
opaque: "opaque";
|
|
1703
1706
|
}>>;
|
|
1704
1707
|
enforcement: z.ZodLiteral<"exact">;
|
|
1705
|
-
transports: z.ZodTuple<[z.
|
|
1708
|
+
transports: z.ZodTuple<[z.ZodEnum<{
|
|
1709
|
+
"https:443": "https:443";
|
|
1710
|
+
https: "https";
|
|
1711
|
+
}>], null>;
|
|
1706
1712
|
lifecycle: z.ZodLiteral<true>;
|
|
1707
1713
|
placementReceiptRequired: z.ZodLiteral<true>;
|
|
1708
1714
|
}, z.core.$strict>>;
|
|
@@ -1761,7 +1767,7 @@ export interface CreateAgentEnvironmentInput {
|
|
|
1761
1767
|
} | {
|
|
1762
1768
|
name: string;
|
|
1763
1769
|
exposeInBox: true;
|
|
1764
|
-
})[] | Record<string, string>;
|
|
1770
|
+
})[] | "all" | Record<string, string>;
|
|
1765
1771
|
/** Same declaration as AgentProfile. Empty selections remain explicit wire values.
|
|
1766
1772
|
* Trusted issuer authorization is required before resolving any reference. */
|
|
1767
1773
|
proxySecrets?: readonly ProxySecretBinding[];
|
|
@@ -2371,13 +2377,23 @@ export interface AgentEnvironmentProvider {
|
|
|
2371
2377
|
readonly exactProcess?: AgentExactProcessProvider;
|
|
2372
2378
|
/** Host-only store; expectedUpdatedAt rejects stale writes and removal without mutation. */
|
|
2373
2379
|
readonly secrets?: {
|
|
2374
|
-
create(name: string, value: string
|
|
2380
|
+
create(name: string, value: string, options?: {
|
|
2381
|
+
proxySecrets?: readonly ProxySecretBinding[];
|
|
2382
|
+
exposeInBox?: true;
|
|
2383
|
+
reason?: string;
|
|
2384
|
+
}): Promise<unknown>;
|
|
2375
2385
|
list?(): Promise<readonly {
|
|
2376
2386
|
name: string;
|
|
2377
2387
|
updatedAt: Date;
|
|
2388
|
+
proxySecrets?: readonly ProxySecretBinding[];
|
|
2389
|
+
exposeInBox?: true;
|
|
2390
|
+
reason?: string;
|
|
2378
2391
|
}[]>;
|
|
2379
2392
|
update?(name: string, value: string, options?: {
|
|
2380
2393
|
expectedUpdatedAt?: string;
|
|
2394
|
+
proxySecrets?: readonly ProxySecretBinding[];
|
|
2395
|
+
exposeInBox?: true;
|
|
2396
|
+
reason?: string;
|
|
2381
2397
|
}): Promise<unknown>;
|
|
2382
2398
|
delete(name: string, options?: {
|
|
2383
2399
|
expectedUpdatedAt?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -46,5 +46,6 @@ export { CONTRACT_MAX_ARRAY_LENGTH, CONTRACT_MAX_CONFIDENTIAL_ATTESTATION_QUOTE_
|
|
|
46
46
|
export { AgentEnvironmentEgressPolicySchema } from "./environment-requests.js";
|
|
47
47
|
export * from "./native-session-event.js";
|
|
48
48
|
export * from "./learning-state.js";
|
|
49
|
+
export { ownPropertyRecordSchema } from "./own-property-record.js";
|
|
49
50
|
export * from "./proxy-secrets.js";
|
|
50
51
|
export * from "./speaker.js";
|
package/dist/index.js
CHANGED
|
@@ -48,5 +48,6 @@ CONTRACT_MAX_ARRAY_LENGTH, CONTRACT_MAX_CONFIDENTIAL_ATTESTATION_QUOTE_LENGTH, C
|
|
|
48
48
|
export { AgentEnvironmentEgressPolicySchema } from "./environment-requests.js";
|
|
49
49
|
export * from "./native-session-event.js";
|
|
50
50
|
export * from "./learning-state.js";
|
|
51
|
+
export { ownPropertyRecordSchema } from "./own-property-record.js";
|
|
51
52
|
export * from "./proxy-secrets.js";
|
|
52
53
|
export * from "./speaker.js";
|
package/dist/proxy-secrets.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { z } from "zod";
|
|
|
5
5
|
* Never scan other query fields. Basic is one strict base64 value decoding to exactly public
|
|
6
6
|
* username:placeholder; the username is printable ASCII without colon. Bearer is exactly
|
|
7
7
|
* "Bearer SP placeholder". Embedded placeholders never match. Authority, TLS SNI and validated
|
|
8
|
-
* destination must agree on the declared FQDN
|
|
8
|
+
* destination must agree on the declared FQDN and effective port over HTTPS.
|
|
9
9
|
*/
|
|
10
10
|
export declare const ProxySecretPresentationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
11
11
|
type: z.ZodLiteral<"bearer">;
|
|
@@ -81,9 +81,8 @@ export declare const ProxySecretsSchema: z.ZodArray<z.ZodObject<{
|
|
|
81
81
|
}>>;
|
|
82
82
|
ttlSeconds: z.ZodOptional<z.ZodNumber>;
|
|
83
83
|
}, z.core.$strict>>;
|
|
84
|
-
/** Host
|
|
85
|
-
*
|
|
86
|
-
* When present, every destination in the final effective selection must have exactly one key.
|
|
84
|
+
/** Host control, outside profile identity: strings pin API-verified parents; null is independent.
|
|
85
|
+
* When present, keys must exactly cover the final selection.
|
|
87
86
|
*/
|
|
88
87
|
export declare const ProxySecretParentsSchema: z.ZodType<Record<string, string | null>, unknown, z.core.$ZodTypeInternals<Record<string, string | null>, unknown>>;
|
|
89
88
|
export type ProxySecretParents = z.infer<typeof ProxySecretParentsSchema>;
|
|
@@ -136,9 +135,8 @@ export declare const ProxySecretGrantSchema: z.ZodObject<{
|
|
|
136
135
|
parentGrantId: z.ZodOptional<z.ZodString>;
|
|
137
136
|
}, z.core.$strict>;
|
|
138
137
|
export type ProxySecretGrant = z.infer<typeof ProxySecretGrantSchema>;
|
|
139
|
-
/** proxy-installed is
|
|
140
|
-
*
|
|
141
|
-
* credential revocation. Receipts contain metadata only, never secret or placeholder bytes.
|
|
138
|
+
/** proxy-installed is phase-two input, not dispatch authority; installed acknowledges both phases.
|
|
139
|
+
* revoked confirms binding revocation, not upstream revocation. Receipts contain metadata only.
|
|
142
140
|
*/
|
|
143
141
|
export declare const ProxySecretReceiptSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
144
142
|
status: z.ZodLiteral<"proxy-installed">;
|
|
@@ -312,7 +310,10 @@ export declare const ProxySecretCapabilitiesSchema: z.ZodObject<{
|
|
|
312
310
|
opaque: "opaque";
|
|
313
311
|
}>>;
|
|
314
312
|
enforcement: z.ZodLiteral<"exact">;
|
|
315
|
-
transports: z.ZodTuple<[z.
|
|
313
|
+
transports: z.ZodTuple<[z.ZodEnum<{
|
|
314
|
+
"https:443": "https:443";
|
|
315
|
+
https: "https";
|
|
316
|
+
}>], null>;
|
|
316
317
|
lifecycle: z.ZodLiteral<true>;
|
|
317
318
|
placementReceiptRequired: z.ZodLiteral<true>;
|
|
318
319
|
}, z.core.$strict>;
|
|
@@ -322,18 +323,15 @@ export declare const ProxySecretUpdateControlsSchema: z.ZodObject<{
|
|
|
322
323
|
requireInPlace: z.ZodOptional<z.ZodBoolean>;
|
|
323
324
|
}, z.core.$strict>;
|
|
324
325
|
export type ProxySecretUpdateControls = z.infer<typeof ProxySecretUpdateControlsSchema>;
|
|
325
|
-
/**
|
|
326
|
-
* or authenticated lineage. The trusted lifecycle owner must cascade parent revocation.
|
|
327
|
-
*/
|
|
326
|
+
/** Comparison cannot prove authorization, installation, freshness or lineage; owners cascade revocation. */
|
|
328
327
|
export declare function isProxySecretGrantAttenuation(parent: ProxySecretGrant, child: ProxySecretGrant): boolean;
|
|
329
328
|
/** Early declaration guard only: matching public refs do not establish resolved authority. */
|
|
330
329
|
export declare function isProxySecretBindingAttenuation(parent: ProxySecretBinding, child: ProxySecretBinding): boolean;
|
|
331
|
-
/**
|
|
330
|
+
/** Invalid, disjoint or unrepresentable scopes yield undefined; omitted methods/paths are universal. */
|
|
331
|
+
export declare function intersectProxySecretScopes(left: ProxySecretScope, right: ProxySecretScope): ProxySecretScope | undefined;
|
|
332
332
|
export declare function isProxySecretScopeAttenuation(parent: ProxySecretScope, child: ProxySecretScope): boolean;
|
|
333
333
|
/** Header selectors compare case-insensitively; query selectors and Basic usernames are exact. */
|
|
334
334
|
export declare function proxySecretPresentationsEqual(left: ProxySecretPresentation, right: ProxySecretPresentation): boolean;
|
|
335
|
-
/** Merge
|
|
336
|
-
*
|
|
337
|
-
* The result is detached public metadata. Conflicts fail without exposing declaration contents.
|
|
338
|
-
*/
|
|
335
|
+
/** Merge detached declarations; identical names require full agreement. Omission remains distinct
|
|
336
|
+
* from explicit empty selection. Conflicts never expose declaration contents. */
|
|
339
337
|
export declare function mergeProxySecretBindings(...collections: readonly (readonly ProxySecretBinding[] | undefined)[]): ProxySecretBinding[];
|
package/dist/proxy-secrets.js
CHANGED
|
@@ -3,24 +3,22 @@ import { ownPropertyRecordSchema } from "./own-property-record.js";
|
|
|
3
3
|
import { agentCandidateSecretRefSchema } from "./agent-candidate-schema-common.js";
|
|
4
4
|
import { boundedIdentifierSchema, CONTRACT_MAX_ARRAY_LENGTH } from "./contract-limits.js";
|
|
5
5
|
/**
|
|
6
|
-
* Declarations request authority
|
|
7
|
-
* and
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* public sub/aud/exp compatibility claims, no upstream claims, account identity or authority.
|
|
12
|
-
* The sandbox is the isolation boundary; these schemas cannot authenticate guest processes.
|
|
6
|
+
* Declarations request authority. The issuer intersects scope/expiry with authenticated tenant,
|
|
7
|
+
* issuer policy and lineage, without personal/team fallback, pinning immutable secret ID/revision.
|
|
8
|
+
* Trusted lifecycle owners mint unpredictable per-epoch placeholders, never from secret/public
|
|
9
|
+
* refs. JWT claims are synthetic public sub/aud/exp, without upstream identity or authority.
|
|
10
|
+
* The sandbox is the isolation boundary; schemas cannot authenticate guest processes.
|
|
13
11
|
*/
|
|
14
12
|
const unique = (values) => new Set(values).size === values.length;
|
|
15
13
|
const hostSchema = z.string().max(253).regex(/^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$/, "host must be an exact lowercase FQDN without scheme, port, wildcard or trailing dot");
|
|
16
14
|
const methodSchema = z.string().max(32).regex(/^[A-Z]+$/);
|
|
17
15
|
/** Paths are exact or terminal slash-star subtrees. /v1/* includes /v1/ and /v1/a, never /v1
|
|
18
16
|
* or /v10. V1 rejects all percent encoding, dot segments, repeated slashes, query, fragments,
|
|
19
|
-
* backslashes, non-ASCII and controls, rather than normalizing ambiguous spellings.
|
|
17
|
+
* semicolons, backslashes, non-ASCII and controls, rather than normalizing ambiguous spellings.
|
|
20
18
|
*/
|
|
21
19
|
const pathSchema = z.string().max(2048).refine((path) => {
|
|
22
20
|
const exact = path.endsWith("/*") ? path.slice(0, -1) : path;
|
|
23
|
-
return /^\/[A-Za-z0-9._~!$&'()
|
|
21
|
+
return /^\/[A-Za-z0-9._~!$&'()+,=:@/-]*$/.test(exact) && !exact.includes("//") &&
|
|
24
22
|
!exact.split("/").some((part) => part === "." || part === "..");
|
|
25
23
|
}, "path must be canonical ASCII, exact or a terminal /* subtree");
|
|
26
24
|
const list = (schema) => z.array(schema).min(1).max(CONTRACT_MAX_ARRAY_LENGTH).refine(unique, "selectors must be unique");
|
|
@@ -32,7 +30,7 @@ const headerSchema = z.string().max(256).regex(/^[!#$%&'*+.^_\x60|~0-9A-Za-z-]+$
|
|
|
32
30
|
* Never scan other query fields. Basic is one strict base64 value decoding to exactly public
|
|
33
31
|
* username:placeholder; the username is printable ASCII without colon. Bearer is exactly
|
|
34
32
|
* "Bearer SP placeholder". Embedded placeholders never match. Authority, TLS SNI and validated
|
|
35
|
-
* destination must agree on the declared FQDN
|
|
33
|
+
* destination must agree on the declared FQDN and effective port over HTTPS.
|
|
36
34
|
*/
|
|
37
35
|
export const ProxySecretPresentationSchema = z.discriminatedUnion("type", [
|
|
38
36
|
z.strictObject({ type: z.literal("bearer") }),
|
|
@@ -53,9 +51,8 @@ export const ProxySecretBindingSchema = ProxySecretScopeSchema.extend({
|
|
|
53
51
|
});
|
|
54
52
|
export const ProxySecretsSchema = z.array(ProxySecretBindingSchema).max(CONTRACT_MAX_ARRAY_LENGTH)
|
|
55
53
|
.refine((bindings) => unique(bindings.map((binding) => binding.envName)), "proxy secret env names must be unique");
|
|
56
|
-
/** Host
|
|
57
|
-
*
|
|
58
|
-
* When present, every destination in the final effective selection must have exactly one key.
|
|
54
|
+
/** Host control, outside profile identity: strings pin API-verified parents; null is independent.
|
|
55
|
+
* When present, keys must exactly cover the final selection.
|
|
59
56
|
*/
|
|
60
57
|
export const ProxySecretParentsSchema = ownPropertyRecordSchema(boundedIdentifierSchema.nullable(), { maxEntries: CONTRACT_MAX_ARRAY_LENGTH })
|
|
61
58
|
.refine((parents) => Object.keys(parents).every((name) => envNameSchema.safeParse(name).success), "invalid parent selection keys");
|
|
@@ -87,9 +84,8 @@ const receiptShape = {
|
|
|
87
84
|
bindings: z.array(z.strictObject({ envName: envNameSchema, secretRef: agentCandidateSecretRefSchema.omit({ format: true }), grant: ProxySecretGrantSchema })).max(CONTRACT_MAX_ARRAY_LENGTH),
|
|
88
85
|
proxyAcknowledged: z.literal(true),
|
|
89
86
|
};
|
|
90
|
-
/** proxy-installed is
|
|
91
|
-
*
|
|
92
|
-
* credential revocation. Receipts contain metadata only, never secret or placeholder bytes.
|
|
87
|
+
/** proxy-installed is phase-two input, not dispatch authority; installed acknowledges both phases.
|
|
88
|
+
* revoked confirms binding revocation, not upstream revocation. Receipts contain metadata only.
|
|
93
89
|
*/
|
|
94
90
|
export const ProxySecretReceiptSchema = z.discriminatedUnion("status", [
|
|
95
91
|
z.strictObject({ ...receiptShape, status: z.literal("proxy-installed"), materializationAcknowledged: z.literal(false) }),
|
|
@@ -117,19 +113,16 @@ export const ProxySecretCapabilitiesSchema = z.strictObject({
|
|
|
117
113
|
protocolVersion: z.literal(1), supportedDrivers: list(boundedIdentifierSchema),
|
|
118
114
|
presentations: list(z.enum(["bearer", "basic", "header", "query"])),
|
|
119
115
|
placeholderFormats: list(z.enum(["opaque", "jwt"])),
|
|
120
|
-
enforcement: z.literal("exact"), transports: z.tuple([z.
|
|
116
|
+
enforcement: z.literal("exact"), transports: z.tuple([z.enum(["https:443", "https"])]),
|
|
121
117
|
lifecycle: z.literal(true), placementReceiptRequired: z.literal(true),
|
|
122
118
|
});
|
|
123
119
|
export const ProxySecretUpdateControlsSchema = z.strictObject({
|
|
124
120
|
expectedProxySecretGeneration: z.number().int().nonnegative().max(Number.MAX_SAFE_INTEGER).optional(),
|
|
125
121
|
requireInPlace: z.boolean().optional(),
|
|
126
122
|
});
|
|
127
|
-
/**
|
|
128
|
-
* or authenticated lineage. The trusted lifecycle owner must cascade parent revocation.
|
|
129
|
-
*/
|
|
123
|
+
/** Comparison cannot prove authorization, installation, freshness or lineage; owners cascade revocation. */
|
|
130
124
|
export function isProxySecretGrantAttenuation(parent, child) {
|
|
131
|
-
const p = ProxySecretGrantSchema.safeParse(parent);
|
|
132
|
-
const c = ProxySecretGrantSchema.safeParse(child);
|
|
125
|
+
const p = ProxySecretGrantSchema.safeParse(parent), c = ProxySecretGrantSchema.safeParse(child);
|
|
133
126
|
if (!p.success || !c.success)
|
|
134
127
|
return false;
|
|
135
128
|
const from = p.data, to = c.data;
|
|
@@ -151,13 +144,24 @@ export function isProxySecretBindingAttenuation(parent, child) {
|
|
|
151
144
|
(from.ttlSeconds === undefined || (to.ttlSeconds !== undefined && to.ttlSeconds <= from.ttlSeconds)) &&
|
|
152
145
|
isProxySecretScopeAttenuation(from, to);
|
|
153
146
|
}
|
|
154
|
-
/**
|
|
147
|
+
/** Invalid, disjoint or unrepresentable scopes yield undefined; omitted methods/paths are universal. */
|
|
148
|
+
export function intersectProxySecretScopes(left, right) {
|
|
149
|
+
const p = comparableScopeSchema.safeParse(left), c = comparableScopeSchema.safeParse(right);
|
|
150
|
+
if (!p.success || !c.success)
|
|
151
|
+
return undefined;
|
|
152
|
+
const from = p.data, to = c.data;
|
|
153
|
+
const common = (a, b) => a === undefined ? b : b === undefined ? a : a.filter((value) => b.includes(value));
|
|
154
|
+
const paths = from.paths === undefined ? to.paths : to.paths === undefined ? from.paths : [...new Set(from.paths.flatMap((a) => to.paths.flatMap((b) => pathContains(a, b) ? [b] : pathContains(b, a) ? [a] : [])))];
|
|
155
|
+
const parsed = ProxySecretScopeSchema.safeParse({ hosts: common(from.hosts, to.hosts), methods: common(from.methods, to.methods), paths: paths?.filter((path) => !paths.some((other) => other !== path && pathContains(other, path))) });
|
|
156
|
+
return parsed.success ? parsed.data : undefined;
|
|
157
|
+
}
|
|
158
|
+
const pathContains = (parent, child) => parent === child || (parent.endsWith("/*") && child.startsWith(parent.slice(0, -1)));
|
|
155
159
|
export function isProxySecretScopeAttenuation(parent, child) {
|
|
156
160
|
const p = comparableScopeSchema.safeParse(parent), c = comparableScopeSchema.safeParse(child);
|
|
157
161
|
if (!p.success || !c.success)
|
|
158
162
|
return false;
|
|
159
163
|
return subset(p.data.hosts, c.data.hosts) && subset(p.data.methods, c.data.methods) &&
|
|
160
|
-
(p.data.paths === undefined || (c.data.paths !== undefined && c.data.paths.every((path) => p.data.paths.some((allowed) =>
|
|
164
|
+
(p.data.paths === undefined || (c.data.paths !== undefined && c.data.paths.every((path) => p.data.paths.some((allowed) => pathContains(allowed, path)))));
|
|
161
165
|
}
|
|
162
166
|
/** Header selectors compare case-insensitively; query selectors and Basic usernames are exact. */
|
|
163
167
|
export function proxySecretPresentationsEqual(left, right) {
|
|
@@ -178,22 +182,16 @@ export function proxySecretPresentationsEqual(left, right) {
|
|
|
178
182
|
function subset(parent, child) {
|
|
179
183
|
return parent === undefined || (child !== undefined && child.every((value) => parent.includes(value)));
|
|
180
184
|
}
|
|
181
|
-
/** Merge
|
|
182
|
-
*
|
|
183
|
-
* The result is detached public metadata. Conflicts fail without exposing declaration contents.
|
|
184
|
-
*/
|
|
185
|
+
/** Merge detached declarations; identical names require full agreement. Omission remains distinct
|
|
186
|
+
* from explicit empty selection. Conflicts never expose declaration contents. */
|
|
185
187
|
export function mergeProxySecretBindings(...collections) {
|
|
186
188
|
const merged = new Map();
|
|
187
|
-
for (const
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
const existing = merged.get(binding.envName);
|
|
192
|
-
if (existing !== undefined && JSON.stringify(existing) !== JSON.stringify(binding)) {
|
|
193
|
-
throw new Error("proxy-secret declarations disagree for the same environment name");
|
|
194
|
-
}
|
|
195
|
-
merged.set(binding.envName, binding);
|
|
189
|
+
for (const binding of collections.flatMap((collection) => collection === undefined ? [] : ProxySecretsSchema.parse(collection))) {
|
|
190
|
+
const existing = merged.get(binding.envName);
|
|
191
|
+
if (existing !== undefined && JSON.stringify(existing) !== JSON.stringify(binding)) {
|
|
192
|
+
throw new Error("proxy-secret declarations disagree for the same environment name");
|
|
196
193
|
}
|
|
194
|
+
merged.set(binding.envName, binding);
|
|
197
195
|
}
|
|
198
196
|
return ProxySecretsSchema.parse([...merged.values()]);
|
|
199
197
|
}
|
|
@@ -9,12 +9,8 @@
|
|
|
9
9
|
"kind": "secret-ref",
|
|
10
10
|
"key": "reporting-api"
|
|
11
11
|
},
|
|
12
|
-
"hosts": [
|
|
13
|
-
|
|
14
|
-
],
|
|
15
|
-
"presentation": {
|
|
16
|
-
"type": "bearer"
|
|
17
|
-
}
|
|
12
|
+
"hosts": ["reports.example.com"],
|
|
13
|
+
"presentation": {"type": "bearer"}
|
|
18
14
|
},
|
|
19
15
|
"valid": true
|
|
20
16
|
},
|
|
@@ -26,9 +22,7 @@
|
|
|
26
22
|
"kind": "secret-ref",
|
|
27
23
|
"key": "reporting-api"
|
|
28
24
|
},
|
|
29
|
-
"hosts": [
|
|
30
|
-
"Reports.example.com"
|
|
31
|
-
],
|
|
25
|
+
"hosts": ["Reports.example.com"],
|
|
32
26
|
"presentation": {
|
|
33
27
|
"type": "bearer"
|
|
34
28
|
}
|
|
@@ -43,9 +37,7 @@
|
|
|
43
37
|
"kind": "secret-ref",
|
|
44
38
|
"key": "reporting-api"
|
|
45
39
|
},
|
|
46
|
-
"hosts": [
|
|
47
|
-
"reports.example.com:8443"
|
|
48
|
-
],
|
|
40
|
+
"hosts": ["reports.example.com:8443"],
|
|
49
41
|
"presentation": {
|
|
50
42
|
"type": "bearer"
|
|
51
43
|
}
|
|
@@ -60,9 +52,7 @@
|
|
|
60
52
|
"kind": "secret-ref",
|
|
61
53
|
"key": "reporting-api"
|
|
62
54
|
},
|
|
63
|
-
"hosts": [
|
|
64
|
-
"*.example.com"
|
|
65
|
-
],
|
|
55
|
+
"hosts": ["*.example.com"],
|
|
66
56
|
"presentation": {
|
|
67
57
|
"type": "bearer"
|
|
68
58
|
}
|
|
@@ -77,9 +67,7 @@
|
|
|
77
67
|
"kind": "secret-ref",
|
|
78
68
|
"key": "reporting-api"
|
|
79
69
|
},
|
|
80
|
-
"hosts": [
|
|
81
|
-
"127.0.0.1"
|
|
82
|
-
],
|
|
70
|
+
"hosts": ["127.0.0.1"],
|
|
83
71
|
"presentation": {
|
|
84
72
|
"type": "bearer"
|
|
85
73
|
}
|
|
@@ -94,15 +82,11 @@
|
|
|
94
82
|
"kind": "secret-ref",
|
|
95
83
|
"key": "reporting-api"
|
|
96
84
|
},
|
|
97
|
-
"hosts": [
|
|
98
|
-
"reports.example.com"
|
|
99
|
-
],
|
|
85
|
+
"hosts": ["reports.example.com"],
|
|
100
86
|
"presentation": {
|
|
101
87
|
"type": "bearer"
|
|
102
88
|
},
|
|
103
|
-
"paths": [
|
|
104
|
-
"/v1/../admin"
|
|
105
|
-
]
|
|
89
|
+
"paths": ["/v1/../admin"]
|
|
106
90
|
},
|
|
107
91
|
"valid": false
|
|
108
92
|
},
|
|
@@ -114,15 +98,11 @@
|
|
|
114
98
|
"kind": "secret-ref",
|
|
115
99
|
"key": "reporting-api"
|
|
116
100
|
},
|
|
117
|
-
"hosts": [
|
|
118
|
-
"reports.example.com"
|
|
119
|
-
],
|
|
101
|
+
"hosts": ["reports.example.com"],
|
|
120
102
|
"presentation": {
|
|
121
103
|
"type": "bearer"
|
|
122
104
|
},
|
|
123
|
-
"paths": [
|
|
124
|
-
"/v1/%2fadmin"
|
|
125
|
-
]
|
|
105
|
+
"paths": ["/v1/%2fadmin"]
|
|
126
106
|
},
|
|
127
107
|
"valid": false
|
|
128
108
|
},
|
|
@@ -134,15 +114,11 @@
|
|
|
134
114
|
"kind": "secret-ref",
|
|
135
115
|
"key": "reporting-api"
|
|
136
116
|
},
|
|
137
|
-
"hosts": [
|
|
138
|
-
"reports.example.com"
|
|
139
|
-
],
|
|
117
|
+
"hosts": ["reports.example.com"],
|
|
140
118
|
"presentation": {
|
|
141
119
|
"type": "bearer"
|
|
142
120
|
},
|
|
143
|
-
"paths": [
|
|
144
|
-
"/v1?x=y"
|
|
145
|
-
]
|
|
121
|
+
"paths": ["/v1?x=y"]
|
|
146
122
|
},
|
|
147
123
|
"valid": false
|
|
148
124
|
},
|
|
@@ -154,15 +130,11 @@
|
|
|
154
130
|
"kind": "secret-ref",
|
|
155
131
|
"key": "reporting-api"
|
|
156
132
|
},
|
|
157
|
-
"hosts": [
|
|
158
|
-
"reports.example.com"
|
|
159
|
-
],
|
|
133
|
+
"hosts": ["reports.example.com"],
|
|
160
134
|
"presentation": {
|
|
161
135
|
"type": "bearer"
|
|
162
136
|
},
|
|
163
|
-
"paths": [
|
|
164
|
-
"//v1"
|
|
165
|
-
]
|
|
137
|
+
"paths": ["//v1"]
|
|
166
138
|
},
|
|
167
139
|
"valid": false
|
|
168
140
|
},
|
|
@@ -174,9 +146,7 @@
|
|
|
174
146
|
"kind": "secret-ref",
|
|
175
147
|
"key": "reporting-api"
|
|
176
148
|
},
|
|
177
|
-
"hosts": [
|
|
178
|
-
"reports.example.com"
|
|
179
|
-
],
|
|
149
|
+
"hosts": ["reports.example.com"],
|
|
180
150
|
"presentation": {
|
|
181
151
|
"type": "basic",
|
|
182
152
|
"username": "user:name"
|
|
@@ -192,9 +162,7 @@
|
|
|
192
162
|
"kind": "secret-ref",
|
|
193
163
|
"key": "reporting-api"
|
|
194
164
|
},
|
|
195
|
-
"hosts": [
|
|
196
|
-
"reports.example.com"
|
|
197
|
-
],
|
|
165
|
+
"hosts": ["reports.example.com"],
|
|
198
166
|
"presentation": {
|
|
199
167
|
"type": "header",
|
|
200
168
|
"name": "bad name"
|
|
@@ -210,9 +178,7 @@
|
|
|
210
178
|
"kind": "secret-ref",
|
|
211
179
|
"key": "reporting-api"
|
|
212
180
|
},
|
|
213
|
-
"hosts": [
|
|
214
|
-
"reports.example.com"
|
|
215
|
-
],
|
|
181
|
+
"hosts": ["reports.example.com"],
|
|
216
182
|
"presentation": {
|
|
217
183
|
"type": "basic",
|
|
218
184
|
"username": "public-user"
|
|
@@ -228,9 +194,7 @@
|
|
|
228
194
|
"kind": "secret-ref",
|
|
229
195
|
"key": "reporting-api"
|
|
230
196
|
},
|
|
231
|
-
"hosts": [
|
|
232
|
-
"reports.example.com"
|
|
233
|
-
],
|
|
197
|
+
"hosts": ["reports.example.com"],
|
|
234
198
|
"presentation": {
|
|
235
199
|
"type": "header",
|
|
236
200
|
"name": "X-Api-Key"
|
|
@@ -246,9 +210,7 @@
|
|
|
246
210
|
"kind": "secret-ref",
|
|
247
211
|
"key": "reporting-api"
|
|
248
212
|
},
|
|
249
|
-
"hosts": [
|
|
250
|
-
"reports.example.com"
|
|
251
|
-
],
|
|
213
|
+
"hosts": ["reports.example.com"],
|
|
252
214
|
"presentation": {
|
|
253
215
|
"type": "query",
|
|
254
216
|
"name": "api_key"
|
|
@@ -264,9 +226,7 @@
|
|
|
264
226
|
"kind": "secret-ref",
|
|
265
227
|
"key": "reporting-api"
|
|
266
228
|
},
|
|
267
|
-
"hosts": [
|
|
268
|
-
"reports.example.com"
|
|
269
|
-
],
|
|
229
|
+
"hosts": ["reports.example.com"],
|
|
270
230
|
"presentation": {
|
|
271
231
|
"type": "header",
|
|
272
232
|
"name": "Keep-Alive"
|
|
@@ -282,9 +242,7 @@
|
|
|
282
242
|
"kind": "secret-ref",
|
|
283
243
|
"key": "reporting-api"
|
|
284
244
|
},
|
|
285
|
-
"hosts": [
|
|
286
|
-
"reports.example.com"
|
|
287
|
-
],
|
|
245
|
+
"hosts": ["reports.example.com"],
|
|
288
246
|
"presentation": {
|
|
289
247
|
"type": "header",
|
|
290
248
|
"name": "pRoXy-CoNnEcTiOn"
|
|
@@ -300,15 +258,45 @@
|
|
|
300
258
|
"kind": "secret-ref",
|
|
301
259
|
"key": "reporting-api"
|
|
302
260
|
},
|
|
303
|
-
"hosts": [
|
|
304
|
-
"reports.example.com"
|
|
305
|
-
],
|
|
261
|
+
"hosts": ["reports.example.com"],
|
|
306
262
|
"presentation": {
|
|
307
263
|
"type": "header",
|
|
308
264
|
"name": "Proxy-Authenticate"
|
|
309
265
|
}
|
|
310
266
|
},
|
|
311
267
|
"valid": false
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"name": "semicolon matrix traversal",
|
|
271
|
+
"value": {
|
|
272
|
+
"envName": "REPORTS_TOKEN",
|
|
273
|
+
"secretRef": {
|
|
274
|
+
"kind": "secret-ref",
|
|
275
|
+
"key": "reporting-api"
|
|
276
|
+
},
|
|
277
|
+
"hosts": ["reports.example.com"],
|
|
278
|
+
"presentation": {
|
|
279
|
+
"type": "bearer"
|
|
280
|
+
},
|
|
281
|
+
"paths": ["/v1/..;/admin"]
|
|
282
|
+
},
|
|
283
|
+
"valid": false
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
"name": "semicolon matrix parameter",
|
|
287
|
+
"value": {
|
|
288
|
+
"envName": "REPORTS_TOKEN",
|
|
289
|
+
"secretRef": {
|
|
290
|
+
"kind": "secret-ref",
|
|
291
|
+
"key": "reporting-api"
|
|
292
|
+
},
|
|
293
|
+
"hosts": ["reports.example.com"],
|
|
294
|
+
"presentation": {
|
|
295
|
+
"type": "bearer"
|
|
296
|
+
},
|
|
297
|
+
"paths": ["/v1/events;format=json"]
|
|
298
|
+
},
|
|
299
|
+
"valid": false
|
|
312
300
|
}
|
|
313
301
|
],
|
|
314
302
|
"wireCases": [
|
|
@@ -321,10 +309,7 @@
|
|
|
321
309
|
"method": "POST",
|
|
322
310
|
"path": "/v1/events/one",
|
|
323
311
|
"headers": [
|
|
324
|
-
[
|
|
325
|
-
"Authorization",
|
|
326
|
-
"Bearer opaque-placeholder"
|
|
327
|
-
]
|
|
312
|
+
["Authorization", "Bearer opaque-placeholder"]
|
|
328
313
|
],
|
|
329
314
|
"query": ""
|
|
330
315
|
},
|
|
@@ -336,15 +321,9 @@
|
|
|
336
321
|
"kind": "secret-ref",
|
|
337
322
|
"key": "reporting-api"
|
|
338
323
|
},
|
|
339
|
-
"hosts": [
|
|
340
|
-
|
|
341
|
-
],
|
|
342
|
-
"methods": [
|
|
343
|
-
"POST"
|
|
344
|
-
],
|
|
345
|
-
"paths": [
|
|
346
|
-
"/v1/events/*"
|
|
347
|
-
],
|
|
324
|
+
"hosts": ["reports.example.com"],
|
|
325
|
+
"methods": ["POST"],
|
|
326
|
+
"paths": ["/v1/events/*"],
|
|
348
327
|
"presentation": {
|
|
349
328
|
"type": "bearer"
|
|
350
329
|
}
|
|
@@ -360,10 +339,7 @@
|
|
|
360
339
|
"method": "POST",
|
|
361
340
|
"path": "/v1/events/one",
|
|
362
341
|
"headers": [
|
|
363
|
-
[
|
|
364
|
-
"Authorization",
|
|
365
|
-
"Bearer prefixopaque-placeholder"
|
|
366
|
-
]
|
|
342
|
+
["Authorization", "Bearer prefixopaque-placeholder"]
|
|
367
343
|
],
|
|
368
344
|
"query": ""
|
|
369
345
|
},
|
|
@@ -375,15 +351,9 @@
|
|
|
375
351
|
"kind": "secret-ref",
|
|
376
352
|
"key": "reporting-api"
|
|
377
353
|
},
|
|
378
|
-
"hosts": [
|
|
379
|
-
|
|
380
|
-
],
|
|
381
|
-
"methods": [
|
|
382
|
-
"POST"
|
|
383
|
-
],
|
|
384
|
-
"paths": [
|
|
385
|
-
"/v1/events/*"
|
|
386
|
-
],
|
|
354
|
+
"hosts": ["reports.example.com"],
|
|
355
|
+
"methods": ["POST"],
|
|
356
|
+
"paths": ["/v1/events/*"],
|
|
387
357
|
"presentation": {
|
|
388
358
|
"type": "bearer"
|
|
389
359
|
}
|
|
@@ -399,14 +369,8 @@
|
|
|
399
369
|
"method": "POST",
|
|
400
370
|
"path": "/v1/events/one",
|
|
401
371
|
"headers": [
|
|
402
|
-
[
|
|
403
|
-
|
|
404
|
-
"Bearer opaque-placeholder"
|
|
405
|
-
],
|
|
406
|
-
[
|
|
407
|
-
"authorization",
|
|
408
|
-
"Bearer opaque-placeholder"
|
|
409
|
-
]
|
|
372
|
+
["Authorization", "Bearer opaque-placeholder"],
|
|
373
|
+
["authorization", "Bearer opaque-placeholder"]
|
|
410
374
|
],
|
|
411
375
|
"query": ""
|
|
412
376
|
},
|
|
@@ -418,15 +382,9 @@
|
|
|
418
382
|
"kind": "secret-ref",
|
|
419
383
|
"key": "reporting-api"
|
|
420
384
|
},
|
|
421
|
-
"hosts": [
|
|
422
|
-
|
|
423
|
-
],
|
|
424
|
-
"methods": [
|
|
425
|
-
"POST"
|
|
426
|
-
],
|
|
427
|
-
"paths": [
|
|
428
|
-
"/v1/events/*"
|
|
429
|
-
],
|
|
385
|
+
"hosts": ["reports.example.com"],
|
|
386
|
+
"methods": ["POST"],
|
|
387
|
+
"paths": ["/v1/events/*"],
|
|
430
388
|
"presentation": {
|
|
431
389
|
"type": "bearer"
|
|
432
390
|
}
|
|
@@ -452,15 +410,9 @@
|
|
|
452
410
|
"kind": "secret-ref",
|
|
453
411
|
"key": "reporting-api"
|
|
454
412
|
},
|
|
455
|
-
"hosts": [
|
|
456
|
-
|
|
457
|
-
],
|
|
458
|
-
"methods": [
|
|
459
|
-
"POST"
|
|
460
|
-
],
|
|
461
|
-
"paths": [
|
|
462
|
-
"/v1/events/*"
|
|
463
|
-
],
|
|
413
|
+
"hosts": ["reports.example.com"],
|
|
414
|
+
"methods": ["POST"],
|
|
415
|
+
"paths": ["/v1/events/*"],
|
|
464
416
|
"presentation": {
|
|
465
417
|
"type": "query",
|
|
466
418
|
"name": "api_key"
|
|
@@ -487,15 +439,9 @@
|
|
|
487
439
|
"kind": "secret-ref",
|
|
488
440
|
"key": "reporting-api"
|
|
489
441
|
},
|
|
490
|
-
"hosts": [
|
|
491
|
-
|
|
492
|
-
],
|
|
493
|
-
"methods": [
|
|
494
|
-
"POST"
|
|
495
|
-
],
|
|
496
|
-
"paths": [
|
|
497
|
-
"/v1/events/*"
|
|
498
|
-
],
|
|
442
|
+
"hosts": ["reports.example.com"],
|
|
443
|
+
"methods": ["POST"],
|
|
444
|
+
"paths": ["/v1/events/*"],
|
|
499
445
|
"presentation": {
|
|
500
446
|
"type": "query",
|
|
501
447
|
"name": "api_key"
|
|
@@ -522,15 +468,9 @@
|
|
|
522
468
|
"kind": "secret-ref",
|
|
523
469
|
"key": "reporting-api"
|
|
524
470
|
},
|
|
525
|
-
"hosts": [
|
|
526
|
-
|
|
527
|
-
],
|
|
528
|
-
"methods": [
|
|
529
|
-
"POST"
|
|
530
|
-
],
|
|
531
|
-
"paths": [
|
|
532
|
-
"/v1/events/*"
|
|
533
|
-
],
|
|
471
|
+
"hosts": ["reports.example.com"],
|
|
472
|
+
"methods": ["POST"],
|
|
473
|
+
"paths": ["/v1/events/*"],
|
|
534
474
|
"presentation": {
|
|
535
475
|
"type": "query",
|
|
536
476
|
"name": "api_key"
|
|
@@ -547,10 +487,7 @@
|
|
|
547
487
|
"method": "POST",
|
|
548
488
|
"path": "/v1/events%2fone",
|
|
549
489
|
"headers": [
|
|
550
|
-
[
|
|
551
|
-
"Authorization",
|
|
552
|
-
"Bearer opaque-placeholder"
|
|
553
|
-
]
|
|
490
|
+
["Authorization", "Bearer opaque-placeholder"]
|
|
554
491
|
],
|
|
555
492
|
"query": ""
|
|
556
493
|
},
|
|
@@ -562,15 +499,9 @@
|
|
|
562
499
|
"kind": "secret-ref",
|
|
563
500
|
"key": "reporting-api"
|
|
564
501
|
},
|
|
565
|
-
"hosts": [
|
|
566
|
-
|
|
567
|
-
],
|
|
568
|
-
"methods": [
|
|
569
|
-
"POST"
|
|
570
|
-
],
|
|
571
|
-
"paths": [
|
|
572
|
-
"/v1/events/*"
|
|
573
|
-
],
|
|
502
|
+
"hosts": ["reports.example.com"],
|
|
503
|
+
"methods": ["POST"],
|
|
504
|
+
"paths": ["/v1/events/*"],
|
|
574
505
|
"presentation": {
|
|
575
506
|
"type": "bearer"
|
|
576
507
|
}
|
|
@@ -586,10 +517,7 @@
|
|
|
586
517
|
"method": "POST",
|
|
587
518
|
"path": "/v1/events/one",
|
|
588
519
|
"headers": [
|
|
589
|
-
[
|
|
590
|
-
"Authorization",
|
|
591
|
-
"Bearer opaque-placeholder"
|
|
592
|
-
]
|
|
520
|
+
["Authorization", "Bearer opaque-placeholder"]
|
|
593
521
|
],
|
|
594
522
|
"query": ""
|
|
595
523
|
},
|
|
@@ -601,15 +529,9 @@
|
|
|
601
529
|
"kind": "secret-ref",
|
|
602
530
|
"key": "reporting-api"
|
|
603
531
|
},
|
|
604
|
-
"hosts": [
|
|
605
|
-
|
|
606
|
-
],
|
|
607
|
-
"methods": [
|
|
608
|
-
"POST"
|
|
609
|
-
],
|
|
610
|
-
"paths": [
|
|
611
|
-
"/v1/events/*"
|
|
612
|
-
],
|
|
532
|
+
"hosts": ["reports.example.com"],
|
|
533
|
+
"methods": ["POST"],
|
|
534
|
+
"paths": ["/v1/events/*"],
|
|
613
535
|
"presentation": {
|
|
614
536
|
"type": "bearer"
|
|
615
537
|
}
|
|
@@ -625,10 +547,7 @@
|
|
|
625
547
|
"method": "POST",
|
|
626
548
|
"path": "/v1/events/one",
|
|
627
549
|
"headers": [
|
|
628
|
-
[
|
|
629
|
-
"Authorization",
|
|
630
|
-
"Bearer opaque-placeholder"
|
|
631
|
-
]
|
|
550
|
+
["Authorization", "Bearer opaque-placeholder"]
|
|
632
551
|
],
|
|
633
552
|
"query": ""
|
|
634
553
|
},
|
|
@@ -640,15 +559,9 @@
|
|
|
640
559
|
"kind": "secret-ref",
|
|
641
560
|
"key": "reporting-api"
|
|
642
561
|
},
|
|
643
|
-
"hosts": [
|
|
644
|
-
|
|
645
|
-
],
|
|
646
|
-
"methods": [
|
|
647
|
-
"POST"
|
|
648
|
-
],
|
|
649
|
-
"paths": [
|
|
650
|
-
"/v1/events/*"
|
|
651
|
-
],
|
|
562
|
+
"hosts": ["reports.example.com"],
|
|
563
|
+
"methods": ["POST"],
|
|
564
|
+
"paths": ["/v1/events/*"],
|
|
652
565
|
"presentation": {
|
|
653
566
|
"type": "bearer"
|
|
654
567
|
}
|
|
@@ -664,10 +577,7 @@
|
|
|
664
577
|
"method": "POST",
|
|
665
578
|
"path": "/v1/events/one",
|
|
666
579
|
"headers": [
|
|
667
|
-
[
|
|
668
|
-
"Authorization",
|
|
669
|
-
"Bearer opaque-placeholder"
|
|
670
|
-
]
|
|
580
|
+
["Authorization", "Bearer opaque-placeholder"]
|
|
671
581
|
],
|
|
672
582
|
"query": ""
|
|
673
583
|
},
|
|
@@ -679,15 +589,9 @@
|
|
|
679
589
|
"kind": "secret-ref",
|
|
680
590
|
"key": "reporting-api"
|
|
681
591
|
},
|
|
682
|
-
"hosts": [
|
|
683
|
-
|
|
684
|
-
],
|
|
685
|
-
"methods": [
|
|
686
|
-
"POST"
|
|
687
|
-
],
|
|
688
|
-
"paths": [
|
|
689
|
-
"/v1/events/*"
|
|
690
|
-
],
|
|
592
|
+
"hosts": ["reports.example.com"],
|
|
593
|
+
"methods": ["POST"],
|
|
594
|
+
"paths": ["/v1/events/*"],
|
|
691
595
|
"presentation": {
|
|
692
596
|
"type": "bearer"
|
|
693
597
|
}
|
|
@@ -703,10 +607,7 @@
|
|
|
703
607
|
"method": "POST",
|
|
704
608
|
"path": "/v1/events/one",
|
|
705
609
|
"headers": [
|
|
706
|
-
[
|
|
707
|
-
"Authorization",
|
|
708
|
-
"Basic d3Jvbmc6b3BhcXVlLXBsYWNlaG9sZGVy"
|
|
709
|
-
]
|
|
610
|
+
["Authorization", "Basic d3Jvbmc6b3BhcXVlLXBsYWNlaG9sZGVy"]
|
|
710
611
|
],
|
|
711
612
|
"query": ""
|
|
712
613
|
},
|
|
@@ -718,15 +619,9 @@
|
|
|
718
619
|
"kind": "secret-ref",
|
|
719
620
|
"key": "reporting-api"
|
|
720
621
|
},
|
|
721
|
-
"hosts": [
|
|
722
|
-
|
|
723
|
-
],
|
|
724
|
-
"methods": [
|
|
725
|
-
"POST"
|
|
726
|
-
],
|
|
727
|
-
"paths": [
|
|
728
|
-
"/v1/events/*"
|
|
729
|
-
],
|
|
622
|
+
"hosts": ["reports.example.com"],
|
|
623
|
+
"methods": ["POST"],
|
|
624
|
+
"paths": ["/v1/events/*"],
|
|
730
625
|
"presentation": {
|
|
731
626
|
"type": "basic",
|
|
732
627
|
"username": "public-user"
|
|
@@ -742,15 +637,9 @@
|
|
|
742
637
|
"kind": "secret-ref",
|
|
743
638
|
"key": "reporting-api"
|
|
744
639
|
},
|
|
745
|
-
"hosts": [
|
|
746
|
-
|
|
747
|
-
],
|
|
748
|
-
"methods": [
|
|
749
|
-
"POST"
|
|
750
|
-
],
|
|
751
|
-
"paths": [
|
|
752
|
-
"/v1/events/*"
|
|
753
|
-
],
|
|
640
|
+
"hosts": ["reports.example.com"],
|
|
641
|
+
"methods": ["POST"],
|
|
642
|
+
"paths": ["/v1/events/*"],
|
|
754
643
|
"presentation": {
|
|
755
644
|
"type": "basic",
|
|
756
645
|
"username": "public-user"
|
|
@@ -764,15 +653,12 @@
|
|
|
764
653
|
"method": "POST",
|
|
765
654
|
"path": "/v1/events/one",
|
|
766
655
|
"headers": [
|
|
767
|
-
[
|
|
768
|
-
"Authorization",
|
|
769
|
-
"Basic cHVibGljLXVzZXI6b3BhcXVlLXBsYWNlaG9sZGVy"
|
|
770
|
-
]
|
|
656
|
+
["Authorization", "Basic cHVibGljLXVzZXI6b3BhcXVlLXBsYWNlaG9sZGVy"]
|
|
771
657
|
],
|
|
772
658
|
"query": ""
|
|
773
659
|
},
|
|
774
660
|
"authorized": true,
|
|
775
|
-
"reason": "exact selected component over HTTPS
|
|
661
|
+
"reason": "exact selected component over HTTPS with matching authority, SNI and destination port"
|
|
776
662
|
},
|
|
777
663
|
{
|
|
778
664
|
"name": "exact-header",
|
|
@@ -782,15 +668,9 @@
|
|
|
782
668
|
"kind": "secret-ref",
|
|
783
669
|
"key": "reporting-api"
|
|
784
670
|
},
|
|
785
|
-
"hosts": [
|
|
786
|
-
|
|
787
|
-
],
|
|
788
|
-
"methods": [
|
|
789
|
-
"POST"
|
|
790
|
-
],
|
|
791
|
-
"paths": [
|
|
792
|
-
"/v1/events/*"
|
|
793
|
-
],
|
|
671
|
+
"hosts": ["reports.example.com"],
|
|
672
|
+
"methods": ["POST"],
|
|
673
|
+
"paths": ["/v1/events/*"],
|
|
794
674
|
"presentation": {
|
|
795
675
|
"type": "header",
|
|
796
676
|
"name": "X-Api-Key"
|
|
@@ -804,15 +684,12 @@
|
|
|
804
684
|
"method": "POST",
|
|
805
685
|
"path": "/v1/events/one",
|
|
806
686
|
"headers": [
|
|
807
|
-
[
|
|
808
|
-
"x-api-key",
|
|
809
|
-
"opaque-placeholder"
|
|
810
|
-
]
|
|
687
|
+
["x-api-key", "opaque-placeholder"]
|
|
811
688
|
],
|
|
812
689
|
"query": ""
|
|
813
690
|
},
|
|
814
691
|
"authorized": true,
|
|
815
|
-
"reason": "exact selected component over HTTPS
|
|
692
|
+
"reason": "exact selected component over HTTPS with matching authority, SNI and destination port"
|
|
816
693
|
},
|
|
817
694
|
{
|
|
818
695
|
"name": "exact-query",
|
|
@@ -822,15 +699,9 @@
|
|
|
822
699
|
"kind": "secret-ref",
|
|
823
700
|
"key": "reporting-api"
|
|
824
701
|
},
|
|
825
|
-
"hosts": [
|
|
826
|
-
|
|
827
|
-
],
|
|
828
|
-
"methods": [
|
|
829
|
-
"POST"
|
|
830
|
-
],
|
|
831
|
-
"paths": [
|
|
832
|
-
"/v1/events/*"
|
|
833
|
-
],
|
|
702
|
+
"hosts": ["reports.example.com"],
|
|
703
|
+
"methods": ["POST"],
|
|
704
|
+
"paths": ["/v1/events/*"],
|
|
834
705
|
"presentation": {
|
|
835
706
|
"type": "query",
|
|
836
707
|
"name": "api_key"
|
|
@@ -847,7 +718,7 @@
|
|
|
847
718
|
"query": "api_key=opaque-placeholder"
|
|
848
719
|
},
|
|
849
720
|
"authorized": true,
|
|
850
|
-
"reason": "exact selected component over HTTPS
|
|
721
|
+
"reason": "exact selected component over HTTPS with matching authority, SNI and destination port"
|
|
851
722
|
},
|
|
852
723
|
{
|
|
853
724
|
"name": "explicit-443",
|
|
@@ -857,15 +728,9 @@
|
|
|
857
728
|
"kind": "secret-ref",
|
|
858
729
|
"key": "reporting-api"
|
|
859
730
|
},
|
|
860
|
-
"hosts": [
|
|
861
|
-
|
|
862
|
-
],
|
|
863
|
-
"methods": [
|
|
864
|
-
"POST"
|
|
865
|
-
],
|
|
866
|
-
"paths": [
|
|
867
|
-
"/v1/events/*"
|
|
868
|
-
],
|
|
731
|
+
"hosts": ["reports.example.com"],
|
|
732
|
+
"methods": ["POST"],
|
|
733
|
+
"paths": ["/v1/events/*"],
|
|
869
734
|
"presentation": {
|
|
870
735
|
"type": "bearer"
|
|
871
736
|
}
|
|
@@ -878,15 +743,12 @@
|
|
|
878
743
|
"method": "POST",
|
|
879
744
|
"path": "/v1/events/one",
|
|
880
745
|
"headers": [
|
|
881
|
-
[
|
|
882
|
-
"Authorization",
|
|
883
|
-
"Bearer opaque-placeholder"
|
|
884
|
-
]
|
|
746
|
+
["Authorization", "Bearer opaque-placeholder"]
|
|
885
747
|
],
|
|
886
748
|
"query": ""
|
|
887
749
|
},
|
|
888
750
|
"authorized": true,
|
|
889
|
-
"reason": "exact selected component over HTTPS
|
|
751
|
+
"reason": "exact selected component over HTTPS with matching authority, SNI and destination port"
|
|
890
752
|
},
|
|
891
753
|
{
|
|
892
754
|
"name": "wrong-host",
|
|
@@ -897,10 +759,7 @@
|
|
|
897
759
|
"method": "POST",
|
|
898
760
|
"path": "/v1/events/one",
|
|
899
761
|
"headers": [
|
|
900
|
-
[
|
|
901
|
-
"Authorization",
|
|
902
|
-
"Bearer opaque-placeholder"
|
|
903
|
-
]
|
|
762
|
+
["Authorization", "Bearer opaque-placeholder"]
|
|
904
763
|
],
|
|
905
764
|
"query": ""
|
|
906
765
|
},
|
|
@@ -912,15 +771,9 @@
|
|
|
912
771
|
"kind": "secret-ref",
|
|
913
772
|
"key": "reporting-api"
|
|
914
773
|
},
|
|
915
|
-
"hosts": [
|
|
916
|
-
|
|
917
|
-
],
|
|
918
|
-
"methods": [
|
|
919
|
-
"POST"
|
|
920
|
-
],
|
|
921
|
-
"paths": [
|
|
922
|
-
"/v1/events/*"
|
|
923
|
-
],
|
|
774
|
+
"hosts": ["reports.example.com"],
|
|
775
|
+
"methods": ["POST"],
|
|
776
|
+
"paths": ["/v1/events/*"],
|
|
924
777
|
"presentation": {
|
|
925
778
|
"type": "bearer"
|
|
926
779
|
}
|
|
@@ -936,10 +789,7 @@
|
|
|
936
789
|
"method": "GET",
|
|
937
790
|
"path": "/v1/events/one",
|
|
938
791
|
"headers": [
|
|
939
|
-
[
|
|
940
|
-
"Authorization",
|
|
941
|
-
"Bearer opaque-placeholder"
|
|
942
|
-
]
|
|
792
|
+
["Authorization", "Bearer opaque-placeholder"]
|
|
943
793
|
],
|
|
944
794
|
"query": ""
|
|
945
795
|
},
|
|
@@ -951,15 +801,9 @@
|
|
|
951
801
|
"kind": "secret-ref",
|
|
952
802
|
"key": "reporting-api"
|
|
953
803
|
},
|
|
954
|
-
"hosts": [
|
|
955
|
-
|
|
956
|
-
],
|
|
957
|
-
"methods": [
|
|
958
|
-
"POST"
|
|
959
|
-
],
|
|
960
|
-
"paths": [
|
|
961
|
-
"/v1/events/*"
|
|
962
|
-
],
|
|
804
|
+
"hosts": ["reports.example.com"],
|
|
805
|
+
"methods": ["POST"],
|
|
806
|
+
"paths": ["/v1/events/*"],
|
|
963
807
|
"presentation": {
|
|
964
808
|
"type": "bearer"
|
|
965
809
|
}
|
|
@@ -975,10 +819,7 @@
|
|
|
975
819
|
"method": "POST",
|
|
976
820
|
"path": "/v1/eventspill",
|
|
977
821
|
"headers": [
|
|
978
|
-
[
|
|
979
|
-
"Authorization",
|
|
980
|
-
"Bearer opaque-placeholder"
|
|
981
|
-
]
|
|
822
|
+
["Authorization", "Bearer opaque-placeholder"]
|
|
982
823
|
],
|
|
983
824
|
"query": ""
|
|
984
825
|
},
|
|
@@ -990,15 +831,9 @@
|
|
|
990
831
|
"kind": "secret-ref",
|
|
991
832
|
"key": "reporting-api"
|
|
992
833
|
},
|
|
993
|
-
"hosts": [
|
|
994
|
-
|
|
995
|
-
],
|
|
996
|
-
"methods": [
|
|
997
|
-
"POST"
|
|
998
|
-
],
|
|
999
|
-
"paths": [
|
|
1000
|
-
"/v1/events/*"
|
|
1001
|
-
],
|
|
834
|
+
"hosts": ["reports.example.com"],
|
|
835
|
+
"methods": ["POST"],
|
|
836
|
+
"paths": ["/v1/events/*"],
|
|
1002
837
|
"presentation": {
|
|
1003
838
|
"type": "bearer"
|
|
1004
839
|
}
|
|
@@ -1014,10 +849,7 @@
|
|
|
1014
849
|
"method": "POST",
|
|
1015
850
|
"path": "/v1/events",
|
|
1016
851
|
"headers": [
|
|
1017
|
-
[
|
|
1018
|
-
"Authorization",
|
|
1019
|
-
"Bearer opaque-placeholder"
|
|
1020
|
-
]
|
|
852
|
+
["Authorization", "Bearer opaque-placeholder"]
|
|
1021
853
|
],
|
|
1022
854
|
"query": ""
|
|
1023
855
|
},
|
|
@@ -1029,15 +861,9 @@
|
|
|
1029
861
|
"kind": "secret-ref",
|
|
1030
862
|
"key": "reporting-api"
|
|
1031
863
|
},
|
|
1032
|
-
"hosts": [
|
|
1033
|
-
|
|
1034
|
-
],
|
|
1035
|
-
"methods": [
|
|
1036
|
-
"POST"
|
|
1037
|
-
],
|
|
1038
|
-
"paths": [
|
|
1039
|
-
"/v1/events/*"
|
|
1040
|
-
],
|
|
864
|
+
"hosts": ["reports.example.com"],
|
|
865
|
+
"methods": ["POST"],
|
|
866
|
+
"paths": ["/v1/events/*"],
|
|
1041
867
|
"presentation": {
|
|
1042
868
|
"type": "bearer"
|
|
1043
869
|
}
|
|
@@ -1053,10 +879,7 @@
|
|
|
1053
879
|
"method": "POST",
|
|
1054
880
|
"path": "/v1/events/%2e%2e/admin",
|
|
1055
881
|
"headers": [
|
|
1056
|
-
[
|
|
1057
|
-
"Authorization",
|
|
1058
|
-
"Bearer opaque-placeholder"
|
|
1059
|
-
]
|
|
882
|
+
["Authorization", "Bearer opaque-placeholder"]
|
|
1060
883
|
],
|
|
1061
884
|
"query": ""
|
|
1062
885
|
},
|
|
@@ -1068,15 +891,9 @@
|
|
|
1068
891
|
"kind": "secret-ref",
|
|
1069
892
|
"key": "reporting-api"
|
|
1070
893
|
},
|
|
1071
|
-
"hosts": [
|
|
1072
|
-
|
|
1073
|
-
],
|
|
1074
|
-
"methods": [
|
|
1075
|
-
"POST"
|
|
1076
|
-
],
|
|
1077
|
-
"paths": [
|
|
1078
|
-
"/v1/events/*"
|
|
1079
|
-
],
|
|
894
|
+
"hosts": ["reports.example.com"],
|
|
895
|
+
"methods": ["POST"],
|
|
896
|
+
"paths": ["/v1/events/*"],
|
|
1080
897
|
"presentation": {
|
|
1081
898
|
"type": "bearer"
|
|
1082
899
|
}
|
|
@@ -1092,14 +909,8 @@
|
|
|
1092
909
|
"method": "POST",
|
|
1093
910
|
"path": "/v1/events/one",
|
|
1094
911
|
"headers": [
|
|
1095
|
-
[
|
|
1096
|
-
|
|
1097
|
-
"opaque-placeholder"
|
|
1098
|
-
],
|
|
1099
|
-
[
|
|
1100
|
-
"x-api-key",
|
|
1101
|
-
"opaque-placeholder"
|
|
1102
|
-
]
|
|
912
|
+
["X-Api-Key", "opaque-placeholder"],
|
|
913
|
+
["x-api-key", "opaque-placeholder"]
|
|
1103
914
|
],
|
|
1104
915
|
"query": ""
|
|
1105
916
|
},
|
|
@@ -1111,15 +922,9 @@
|
|
|
1111
922
|
"kind": "secret-ref",
|
|
1112
923
|
"key": "reporting-api"
|
|
1113
924
|
},
|
|
1114
|
-
"hosts": [
|
|
1115
|
-
|
|
1116
|
-
],
|
|
1117
|
-
"methods": [
|
|
1118
|
-
"POST"
|
|
1119
|
-
],
|
|
1120
|
-
"paths": [
|
|
1121
|
-
"/v1/events/*"
|
|
1122
|
-
],
|
|
925
|
+
"hosts": ["reports.example.com"],
|
|
926
|
+
"methods": ["POST"],
|
|
927
|
+
"paths": ["/v1/events/*"],
|
|
1123
928
|
"presentation": {
|
|
1124
929
|
"type": "header",
|
|
1125
930
|
"name": "X-Api-Key"
|
|
@@ -1146,15 +951,9 @@
|
|
|
1146
951
|
"kind": "secret-ref",
|
|
1147
952
|
"key": "reporting-api"
|
|
1148
953
|
},
|
|
1149
|
-
"hosts": [
|
|
1150
|
-
|
|
1151
|
-
],
|
|
1152
|
-
"methods": [
|
|
1153
|
-
"POST"
|
|
1154
|
-
],
|
|
1155
|
-
"paths": [
|
|
1156
|
-
"/v1/events/*"
|
|
1157
|
-
],
|
|
954
|
+
"hosts": ["reports.example.com"],
|
|
955
|
+
"methods": ["POST"],
|
|
956
|
+
"paths": ["/v1/events/*"],
|
|
1158
957
|
"presentation": {
|
|
1159
958
|
"type": "query",
|
|
1160
959
|
"name": "api_key"
|
|
@@ -1173,10 +972,7 @@
|
|
|
1173
972
|
"parents": [
|
|
1174
973
|
{
|
|
1175
974
|
"name": "mixed-authority",
|
|
1176
|
-
"envNames": [
|
|
1177
|
-
"RENAMED_TOKEN",
|
|
1178
|
-
"COORD"
|
|
1179
|
-
],
|
|
975
|
+
"envNames": ["RENAMED_TOKEN", "COORD"],
|
|
1180
976
|
"value": {
|
|
1181
977
|
"RENAMED_TOKEN": "parent-sandbox",
|
|
1182
978
|
"COORD": null
|
|
@@ -1185,10 +981,7 @@
|
|
|
1185
981
|
},
|
|
1186
982
|
{
|
|
1187
983
|
"name": "missing-destination",
|
|
1188
|
-
"envNames": [
|
|
1189
|
-
"RENAMED_TOKEN",
|
|
1190
|
-
"COORD"
|
|
1191
|
-
],
|
|
984
|
+
"envNames": ["RENAMED_TOKEN", "COORD"],
|
|
1192
985
|
"value": {
|
|
1193
986
|
"RENAMED_TOKEN": "parent-sandbox"
|
|
1194
987
|
},
|
|
@@ -1196,9 +989,7 @@
|
|
|
1196
989
|
},
|
|
1197
990
|
{
|
|
1198
991
|
"name": "extra-destination",
|
|
1199
|
-
"envNames": [
|
|
1200
|
-
"RENAMED_TOKEN"
|
|
1201
|
-
],
|
|
992
|
+
"envNames": ["RENAMED_TOKEN"],
|
|
1202
993
|
"value": {
|
|
1203
994
|
"RENAMED_TOKEN": "parent-sandbox",
|
|
1204
995
|
"COORD": null
|
|
@@ -1207,9 +998,7 @@
|
|
|
1207
998
|
},
|
|
1208
999
|
{
|
|
1209
1000
|
"name": "forbidden-env-selector",
|
|
1210
|
-
"envNames": [
|
|
1211
|
-
"RENAMED_TOKEN"
|
|
1212
|
-
],
|
|
1001
|
+
"envNames": ["RENAMED_TOKEN"],
|
|
1213
1002
|
"value": {
|
|
1214
1003
|
"RENAMED_TOKEN": {
|
|
1215
1004
|
"sandboxId": "parent-sandbox",
|
|
@@ -1220,9 +1009,7 @@
|
|
|
1220
1009
|
},
|
|
1221
1010
|
{
|
|
1222
1011
|
"name": "forbidden-grant-id",
|
|
1223
|
-
"envNames": [
|
|
1224
|
-
"RENAMED_TOKEN"
|
|
1225
|
-
],
|
|
1012
|
+
"envNames": ["RENAMED_TOKEN"],
|
|
1226
1013
|
"value": {
|
|
1227
1014
|
"RENAMED_TOKEN": {
|
|
1228
1015
|
"grantId": "grant-parent"
|
|
@@ -1236,5 +1023,32 @@
|
|
|
1236
1023
|
"value": {},
|
|
1237
1024
|
"valid": true
|
|
1238
1025
|
}
|
|
1026
|
+
],
|
|
1027
|
+
"scopeIntersections": [
|
|
1028
|
+
{"name":"universal-selectors","left":{"hosts":["reports.example.com","audit.example.com"]},"right":{"hosts":["audit.example.com","other.example.com"]},"result":{"hosts":["audit.example.com"]}},
|
|
1029
|
+
{"name":"requested-boundaries","left":{"hosts":["reports.example.com"]},"right":{"hosts":["reports.example.com"],"methods":["POST"],"paths":["/v1/*"]},"result":{"hosts":["reports.example.com"],"methods":["POST"],"paths":["/v1/*"]}},
|
|
1030
|
+
{"name":"stored-boundaries","left":{"hosts":["reports.example.com"],"methods":["POST"],"paths":["/v1/*"]},"right":{"hosts":["reports.example.com"]},"result":{"hosts":["reports.example.com"],"methods":["POST"],"paths":["/v1/*"]}},
|
|
1031
|
+
{"name":"methods-overlap","left":{"hosts":["reports.example.com"],"methods":["POST","GET"]},"right":{"hosts":["reports.example.com"],"methods":["GET","DELETE"]},"result":{"hosts":["reports.example.com"],"methods":["GET"]}},
|
|
1032
|
+
{"name":"exact-in-subtree","left":{"hosts":["reports.example.com"],"paths":["/v1/*"]},"right":{"hosts":["reports.example.com"],"paths":["/v1/events"]},"result":{"hosts":["reports.example.com"],"paths":["/v1/events"]}},
|
|
1033
|
+
{"name":"nested-subtree","left":{"hosts":["reports.example.com"],"paths":["/v1/*"]},"right":{"hosts":["reports.example.com"],"paths":["/v1/events/*"]},"result":{"hosts":["reports.example.com"],"paths":["/v1/events/*"]}},
|
|
1034
|
+
{"name":"reverse-nested-subtree","left":{"hosts":["reports.example.com"],"paths":["/v1/events/*"]},"right":{"hosts":["reports.example.com"],"paths":["/v1/*"]},"result":{"hosts":["reports.example.com"],"paths":["/v1/events/*"]}},
|
|
1035
|
+
{"name":"deduplicated-pairs","left":{"hosts":["reports.example.com"],"paths":["/v1/*","/v1/events"]},"right":{"hosts":["reports.example.com"],"paths":["/v1/events","/other"]},"result":{"hosts":["reports.example.com"],"paths":["/v1/events"]}},
|
|
1036
|
+
{"name":"component-boundary","left":{"hosts":["reports.example.com"],"paths":["/v1/*"]},"right":{"hosts":["reports.example.com"],"paths":["/v10/events"]},"result":null},
|
|
1037
|
+
{"name":"subtree-excludes-parent","left":{"hosts":["reports.example.com"],"paths":["/v1/*"]},"right":{"hosts":["reports.example.com"],"paths":["/v1"]},"result":null},
|
|
1038
|
+
{"name":"disjoint-hosts","left":{"hosts":["reports.example.com"]},"right":{"hosts":["other.example.com"]},"result":null},
|
|
1039
|
+
{"name":"disjoint-methods","left":{"hosts":["reports.example.com"],"methods":["GET"]},"right":{"hosts":["reports.example.com"],"methods":["POST"]},"result":null},
|
|
1040
|
+
{"name":"disjoint-paths","left":{"hosts":["reports.example.com"],"paths":["/v1/events"]},"right":{"hosts":["reports.example.com"],"paths":["/v1/other"]},"result":null},
|
|
1041
|
+
{"name":"invalid-stored-missing-hosts","left":{},"right":{"hosts":["reports.example.com"]},"result":null},
|
|
1042
|
+
{"name":"invalid-request-missing-hosts","left":{"hosts":["reports.example.com"]},"right":{},"result":null},
|
|
1043
|
+
{"name":"invalid-stored-host","left":{"hosts":["Reports.example.com"]},"right":{"hosts":["reports.example.com"]},"result":null},
|
|
1044
|
+
{"name":"invalid-request-host","left":{"hosts":["reports.example.com"]},"right":{"hosts":["Reports.example.com"]},"result":null},
|
|
1045
|
+
{"name":"invalid-stored-empty-methods","left":{"hosts":["reports.example.com"],"methods":[]},"right":{"hosts":["reports.example.com"]},"result":null},
|
|
1046
|
+
{"name":"invalid-request-empty-paths","left":{"hosts":["reports.example.com"]},"right":{"hosts":["reports.example.com"],"paths":[]},"result":null},
|
|
1047
|
+
{"name":"invalid-stored-semicolon","left":{"hosts":["reports.example.com"],"paths":["/v1/..;/admin"]},"right":{"hosts":["reports.example.com"]},"result":null},
|
|
1048
|
+
{"name":"invalid-request-encoded-traversal","left":{"hosts":["reports.example.com"]},"right":{"hosts":["reports.example.com"],"paths":["/v1/%2e%2e/admin"]},"result":null},
|
|
1049
|
+
{"name":"invalid-stored-backslash","left":{"hosts":["reports.example.com"],"paths":["/v1/\\admin"]},"right":{"hosts":["reports.example.com"]},"result":null},
|
|
1050
|
+
{"name":"invalid-stored-duplicates","left":{"hosts":["reports.example.com","reports.example.com"]},"right":{"hosts":["reports.example.com"]},"result":null},
|
|
1051
|
+
{"name":"structural-binding-grant-extras","left":{"hosts":["reports.example.com"],"envName":"REPORTS_TOKEN","secretRef":{"kind":"secret-ref","key":"reporting-api"},"presentation":{"type":"bearer"}},"right":{"hosts":["reports.example.com"],"methods":["GET"],"grantId":"public-grant"},"result":{"hosts":["reports.example.com"],"methods":["GET"]}},
|
|
1052
|
+
{"name":"remove-subsumed-pairs","left":{"hosts":["reports.example.com"],"paths":["/v1/*","/v1/a"]},"right":{"hosts":["reports.example.com"],"paths":["/v1/*","/v1/b"]},"result":{"hosts":["reports.example.com"],"paths":["/v1/*"]}}
|
|
1239
1053
|
]
|
|
1240
1054
|
}
|