@cdot65/prisma-airs-sdk 0.9.0 → 0.9.2
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/index.cjs +158 -158
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9506 -9470
- package/dist/index.d.ts +9506 -9470
- package/dist/index.js +158 -158
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -553,7 +553,7 @@ var MAX_NUMBER_OF_BATCH_SCAN_OBJECTS = 5;
|
|
|
553
553
|
var MAX_CONNECTION_POOL_SIZE = 100;
|
|
554
554
|
var MAX_NUMBER_OF_RETRIES = 5;
|
|
555
555
|
var HTTP_FORCE_RETRY_STATUS_CODES = [500, 502, 503, 504];
|
|
556
|
-
var SDK_VERSION = "0.9.
|
|
556
|
+
var SDK_VERSION = "0.9.2";
|
|
557
557
|
var USER_AGENT = `PAN-AIRS/${SDK_VERSION}-typescript-sdk`;
|
|
558
558
|
var DEFAULT_MGMT_ENDPOINT = "https://api.sase.paloaltonetworks.com/aisec";
|
|
559
559
|
var DEFAULT_TOKEN_ENDPOINT = "https://auth.apps.paloaltonetworks.com/oauth2/access_token";
|
|
@@ -1157,13 +1157,13 @@ var import_zod13 = require("zod");
|
|
|
1157
1157
|
// src/models/dlp-report.ts
|
|
1158
1158
|
var import_zod11 = require("zod");
|
|
1159
1159
|
var DlpReportSchema = import_zod11.z.object({
|
|
1160
|
-
dlp_report_id: import_zod11.z.string().
|
|
1161
|
-
dlp_profile_name: import_zod11.z.string().
|
|
1162
|
-
dlp_profile_id: import_zod11.z.string().
|
|
1163
|
-
dlp_profile_version: import_zod11.z.number().
|
|
1164
|
-
data_pattern_rule1_verdict: import_zod11.z.string().
|
|
1165
|
-
data_pattern_rule2_verdict: import_zod11.z.string().
|
|
1166
|
-
data_pattern_detection_offsets: import_zod11.z.array(DlpPatternDetectionSchema).
|
|
1160
|
+
dlp_report_id: import_zod11.z.string().nullish(),
|
|
1161
|
+
dlp_profile_name: import_zod11.z.string().nullish(),
|
|
1162
|
+
dlp_profile_id: import_zod11.z.string().nullish(),
|
|
1163
|
+
dlp_profile_version: import_zod11.z.number().nullish(),
|
|
1164
|
+
data_pattern_rule1_verdict: import_zod11.z.string().nullish(),
|
|
1165
|
+
data_pattern_rule2_verdict: import_zod11.z.string().nullish(),
|
|
1166
|
+
data_pattern_detection_offsets: import_zod11.z.array(DlpPatternDetectionSchema).nullish()
|
|
1167
1167
|
}).passthrough();
|
|
1168
1168
|
|
|
1169
1169
|
// src/models/urlf-report.ts
|
|
@@ -1960,10 +1960,10 @@ var Oauth2TokenSchema = import_zod24.z.object({
|
|
|
1960
1960
|
// src/models/dlp-audit.ts
|
|
1961
1961
|
var import_zod25 = require("zod");
|
|
1962
1962
|
var AuditResponseSchema = import_zod25.z.object({
|
|
1963
|
-
created_at: import_zod25.z.string().
|
|
1964
|
-
created_by: import_zod25.z.string().
|
|
1965
|
-
updated_at: import_zod25.z.string().
|
|
1966
|
-
updated_by: import_zod25.z.string().
|
|
1963
|
+
created_at: import_zod25.z.union([import_zod25.z.string(), import_zod25.z.number()]).nullish(),
|
|
1964
|
+
created_by: import_zod25.z.string().nullish(),
|
|
1965
|
+
updated_at: import_zod25.z.union([import_zod25.z.string(), import_zod25.z.number()]).nullish(),
|
|
1966
|
+
updated_by: import_zod25.z.string().nullish()
|
|
1967
1967
|
}).passthrough();
|
|
1968
1968
|
|
|
1969
1969
|
// src/models/dlp-page.ts
|
|
@@ -2043,16 +2043,16 @@ var DictionaryDetectionSubTechniqueSchema = import_zod27.z.enum([
|
|
|
2043
2043
|
"threshold"
|
|
2044
2044
|
]);
|
|
2045
2045
|
var DictionaryMetaDataDTOSchema = import_zod27.z.object({
|
|
2046
|
-
number_of_keywords: import_zod27.z.number().
|
|
2047
|
-
original_file_name: import_zod27.z.string().
|
|
2048
|
-
original_file_size_in_byte: import_zod27.z.number().
|
|
2046
|
+
number_of_keywords: import_zod27.z.number().nullish(),
|
|
2047
|
+
original_file_name: import_zod27.z.string().nullish(),
|
|
2048
|
+
original_file_size_in_byte: import_zod27.z.number().nullish()
|
|
2049
2049
|
}).passthrough();
|
|
2050
2050
|
var DictionaryTagsSchema = import_zod27.z.object({
|
|
2051
|
-
classification: import_zod27.z.array(DictionaryClassificationSchema).
|
|
2051
|
+
classification: import_zod27.z.array(DictionaryClassificationSchema).nullish()
|
|
2052
2052
|
}).passthrough();
|
|
2053
2053
|
var ResourceModelExtensionSchema = import_zod27.z.object({
|
|
2054
|
-
key: import_zod27.z.string().
|
|
2055
|
-
value: import_zod27.z.string().
|
|
2054
|
+
key: import_zod27.z.string().nullish(),
|
|
2055
|
+
value: import_zod27.z.string().nullish()
|
|
2056
2056
|
}).passthrough();
|
|
2057
2057
|
var DictionaryRequestSchema = import_zod27.z.object({
|
|
2058
2058
|
category: DictionaryCategorySchema,
|
|
@@ -2072,22 +2072,22 @@ var DictionaryPatchRequestSchema = import_zod27.z.object({
|
|
|
2072
2072
|
region_name: jsonNullable(import_zod27.z.string())
|
|
2073
2073
|
}).passthrough();
|
|
2074
2074
|
var DictionaryResponseSchema = import_zod27.z.object({
|
|
2075
|
-
id: import_zod27.z.string().
|
|
2076
|
-
name: import_zod27.z.string().
|
|
2077
|
-
description: import_zod27.z.string().
|
|
2078
|
-
category: import_zod27.z.string().
|
|
2079
|
-
region_name: import_zod27.z.string().
|
|
2080
|
-
type: DictionaryTypeSchema.
|
|
2081
|
-
is_case_sensitive: import_zod27.z.boolean().
|
|
2082
|
-
is_parent_managed: import_zod27.z.boolean().
|
|
2083
|
-
detection_technique: DictionaryDetectionTechniqueSchema.
|
|
2084
|
-
detection_sub_technique: DictionaryDetectionSubTechniqueSchema.
|
|
2085
|
-
dictionary_metadata: DictionaryMetaDataDTOSchema.
|
|
2075
|
+
id: import_zod27.z.string().nullish(),
|
|
2076
|
+
name: import_zod27.z.string().nullish(),
|
|
2077
|
+
description: import_zod27.z.string().nullish(),
|
|
2078
|
+
category: import_zod27.z.string().nullish(),
|
|
2079
|
+
region_name: import_zod27.z.string().nullish(),
|
|
2080
|
+
type: DictionaryTypeSchema.nullish(),
|
|
2081
|
+
is_case_sensitive: import_zod27.z.boolean().nullish(),
|
|
2082
|
+
is_parent_managed: import_zod27.z.boolean().nullish(),
|
|
2083
|
+
detection_technique: DictionaryDetectionTechniqueSchema.nullish(),
|
|
2084
|
+
detection_sub_technique: DictionaryDetectionSubTechniqueSchema.nullish(),
|
|
2085
|
+
dictionary_metadata: DictionaryMetaDataDTOSchema.nullish(),
|
|
2086
2086
|
/** Keyword list — populated only when `keywords=true` is passed as a query parameter. */
|
|
2087
|
-
keywords: import_zod27.z.array(import_zod27.z.string()).
|
|
2088
|
-
tags: DictionaryTagsSchema.
|
|
2089
|
-
attributes: import_zod27.z.array(ResourceModelExtensionSchema).
|
|
2090
|
-
audit_metadata: AuditResponseSchema.
|
|
2087
|
+
keywords: import_zod27.z.array(import_zod27.z.string()).nullish(),
|
|
2088
|
+
tags: DictionaryTagsSchema.nullish(),
|
|
2089
|
+
attributes: import_zod27.z.array(ResourceModelExtensionSchema).nullish(),
|
|
2090
|
+
audit_metadata: AuditResponseSchema.nullish()
|
|
2091
2091
|
}).passthrough();
|
|
2092
2092
|
var PageDictionaryResponseSchema = pageSchema(DictionaryResponseSchema);
|
|
2093
2093
|
|
|
@@ -2130,27 +2130,27 @@ var WeightedRegexSchema = import_zod28.z.object({
|
|
|
2130
2130
|
weight: import_zod28.z.number()
|
|
2131
2131
|
}).passthrough();
|
|
2132
2132
|
var MetadataCriterionSchema = import_zod28.z.object({
|
|
2133
|
-
comparisonOperatorType: ComparisonOperatorTypeSchema.
|
|
2134
|
-
name: import_zod28.z.string().
|
|
2135
|
-
type: import_zod28.z.string().
|
|
2136
|
-
value: import_zod28.z.string().
|
|
2133
|
+
comparisonOperatorType: ComparisonOperatorTypeSchema.nullish(),
|
|
2134
|
+
name: import_zod28.z.string().nullish(),
|
|
2135
|
+
type: import_zod28.z.string().nullish(),
|
|
2136
|
+
value: import_zod28.z.string().nullish()
|
|
2137
2137
|
}).passthrough();
|
|
2138
2138
|
var DataPatternDetectionConfigSchema = import_zod28.z.object({
|
|
2139
2139
|
technique: DataPatternTechniqueSchema,
|
|
2140
|
-
supported_confidence_levels: import_zod28.z.array(DataPatternConfidenceLevelSchema).
|
|
2140
|
+
supported_confidence_levels: import_zod28.z.array(DataPatternConfidenceLevelSchema).nullish()
|
|
2141
2141
|
}).passthrough();
|
|
2142
2142
|
var DataPatternMatchingRulesSchema = import_zod28.z.object({
|
|
2143
|
-
delimiter: import_zod28.z.string().
|
|
2143
|
+
delimiter: import_zod28.z.string().nullish(),
|
|
2144
2144
|
/** Proximity window for keyword matching — spec bounds 2..1000 inclusive. */
|
|
2145
|
-
proximity_distance: import_zod28.z.number().int().min(2).max(1e3).
|
|
2146
|
-
proximity_keywords: import_zod28.z.array(import_zod28.z.string()).
|
|
2147
|
-
regexes: import_zod28.z.array(WeightedRegexSchema).
|
|
2148
|
-
metadata_criteria: import_zod28.z.array(MetadataCriterionSchema).
|
|
2145
|
+
proximity_distance: import_zod28.z.number().int().min(2).max(1e3).nullish(),
|
|
2146
|
+
proximity_keywords: import_zod28.z.array(import_zod28.z.string()).nullish(),
|
|
2147
|
+
regexes: import_zod28.z.array(WeightedRegexSchema).nullish(),
|
|
2148
|
+
metadata_criteria: import_zod28.z.array(MetadataCriterionSchema).nullish()
|
|
2149
2149
|
}).passthrough();
|
|
2150
2150
|
var DataPatternTagsSchema = import_zod28.z.object({
|
|
2151
|
-
classification: import_zod28.z.array(import_zod28.z.string()).
|
|
2152
|
-
compliance: import_zod28.z.array(import_zod28.z.string()).
|
|
2153
|
-
geography: import_zod28.z.array(import_zod28.z.string()).
|
|
2151
|
+
classification: import_zod28.z.array(import_zod28.z.string()).nullish(),
|
|
2152
|
+
compliance: import_zod28.z.array(import_zod28.z.string()).nullish(),
|
|
2153
|
+
geography: import_zod28.z.array(import_zod28.z.string()).nullish()
|
|
2154
2154
|
}).passthrough();
|
|
2155
2155
|
var DataPatternRequestSchema = import_zod28.z.object({
|
|
2156
2156
|
name: import_zod28.z.string().min(1).max(64),
|
|
@@ -2169,19 +2169,19 @@ var DataPatternPatchRequestSchema = import_zod28.z.object({
|
|
|
2169
2169
|
tags: jsonNullable(DataPatternTagsSchema)
|
|
2170
2170
|
}).passthrough();
|
|
2171
2171
|
var DataPatternResponseSchema = import_zod28.z.object({
|
|
2172
|
-
id: import_zod28.z.string().
|
|
2173
|
-
name: import_zod28.z.string().
|
|
2174
|
-
description: import_zod28.z.string().
|
|
2175
|
-
tenant_id: import_zod28.z.string().
|
|
2176
|
-
type: DataPatternTypeSchema.
|
|
2177
|
-
status: DataPatternStatusSchema.
|
|
2178
|
-
license_type: DataPatternLicenseTypeSchema.
|
|
2179
|
-
is_parent_managed: import_zod28.z.boolean().
|
|
2180
|
-
version: import_zod28.z.number().
|
|
2181
|
-
detection_config: DataPatternDetectionConfigSchema.
|
|
2182
|
-
matching_rules: DataPatternMatchingRulesSchema.
|
|
2183
|
-
tags: DataPatternTagsSchema.
|
|
2184
|
-
audit_metadata: AuditResponseSchema.
|
|
2172
|
+
id: import_zod28.z.string().nullish(),
|
|
2173
|
+
name: import_zod28.z.string().nullish(),
|
|
2174
|
+
description: import_zod28.z.string().nullish(),
|
|
2175
|
+
tenant_id: import_zod28.z.string().nullish(),
|
|
2176
|
+
type: DataPatternTypeSchema.nullish(),
|
|
2177
|
+
status: DataPatternStatusSchema.nullish(),
|
|
2178
|
+
license_type: DataPatternLicenseTypeSchema.nullish(),
|
|
2179
|
+
is_parent_managed: import_zod28.z.boolean().nullish(),
|
|
2180
|
+
version: import_zod28.z.number().nullish(),
|
|
2181
|
+
detection_config: DataPatternDetectionConfigSchema.nullish(),
|
|
2182
|
+
matching_rules: DataPatternMatchingRulesSchema.nullish(),
|
|
2183
|
+
tags: DataPatternTagsSchema.nullish(),
|
|
2184
|
+
audit_metadata: AuditResponseSchema.nullish()
|
|
2185
2185
|
}).passthrough();
|
|
2186
2186
|
var PageDataPatternResponseSchema = pageSchema(DataPatternResponseSchema);
|
|
2187
2187
|
|
|
@@ -2217,49 +2217,49 @@ var DataProfileStatusSchema = import_zod29.z.enum(["active", "disabled", "delete
|
|
|
2217
2217
|
var DataProfileSubtypeSchema = import_zod29.z.enum(["custom", "predefined"]);
|
|
2218
2218
|
var DetectionRuleItemSchema = import_zod29.z.object({
|
|
2219
2219
|
detection_technique: RuleItemDetectionTechniqueSchema,
|
|
2220
|
-
id: import_zod29.z.string().
|
|
2221
|
-
name: import_zod29.z.string().
|
|
2222
|
-
description: import_zod29.z.string().
|
|
2223
|
-
version: import_zod29.z.number().int().
|
|
2224
|
-
match_type: RuleItemMatchTypeSchema.
|
|
2225
|
-
by_unique_count: import_zod29.z.boolean().
|
|
2226
|
-
confidence_level: RuleItemConfidenceLevelSchema.
|
|
2227
|
-
supported_confidence_levels: import_zod29.z.array(RuleItemConfidenceLevelSchema).
|
|
2228
|
-
occurrence_count: import_zod29.z.number().int().
|
|
2229
|
-
occurrence_high: import_zod29.z.number().int().
|
|
2230
|
-
occurrence_low: import_zod29.z.number().int().
|
|
2231
|
-
occurrence_operator_type: RuleItemOccurrenceOperatorTypeSchema.
|
|
2220
|
+
id: import_zod29.z.string().nullish(),
|
|
2221
|
+
name: import_zod29.z.string().nullish(),
|
|
2222
|
+
description: import_zod29.z.string().nullish(),
|
|
2223
|
+
version: import_zod29.z.number().int().nullish(),
|
|
2224
|
+
match_type: RuleItemMatchTypeSchema.nullish(),
|
|
2225
|
+
by_unique_count: import_zod29.z.boolean().nullish(),
|
|
2226
|
+
confidence_level: RuleItemConfidenceLevelSchema.nullish(),
|
|
2227
|
+
supported_confidence_levels: import_zod29.z.array(RuleItemConfidenceLevelSchema).nullish(),
|
|
2228
|
+
occurrence_count: import_zod29.z.number().int().nullish(),
|
|
2229
|
+
occurrence_high: import_zod29.z.number().int().nullish(),
|
|
2230
|
+
occurrence_low: import_zod29.z.number().int().nullish(),
|
|
2231
|
+
occurrence_operator_type: RuleItemOccurrenceOperatorTypeSchema.nullish(),
|
|
2232
2232
|
// dictionary + document-type fields
|
|
2233
|
-
score: import_zod29.z.number().int().
|
|
2234
|
-
score_high: import_zod29.z.number().int().
|
|
2235
|
-
score_low: import_zod29.z.number().int().
|
|
2233
|
+
score: import_zod29.z.number().int().nullish(),
|
|
2234
|
+
score_high: import_zod29.z.number().int().nullish(),
|
|
2235
|
+
score_low: import_zod29.z.number().int().nullish(),
|
|
2236
2236
|
// edm fields
|
|
2237
|
-
edm_dataset_id: import_zod29.z.string().
|
|
2238
|
-
primary_fields: import_zod29.z.array(import_zod29.z.string()).
|
|
2239
|
-
primary_match_criteria: RuleItemEdmMatchCriteriaSchema.
|
|
2240
|
-
primary_match_any_count: import_zod29.z.number().int().
|
|
2241
|
-
secondary_fields: import_zod29.z.array(import_zod29.z.string()).
|
|
2242
|
-
secondary_match_criteria: RuleItemEdmMatchCriteriaSchema.
|
|
2243
|
-
secondary_match_any_count: import_zod29.z.number().int().
|
|
2237
|
+
edm_dataset_id: import_zod29.z.string().nullish(),
|
|
2238
|
+
primary_fields: import_zod29.z.array(import_zod29.z.string()).nullish(),
|
|
2239
|
+
primary_match_criteria: RuleItemEdmMatchCriteriaSchema.nullish(),
|
|
2240
|
+
primary_match_any_count: import_zod29.z.number().int().nullish(),
|
|
2241
|
+
secondary_fields: import_zod29.z.array(import_zod29.z.string()).nullish(),
|
|
2242
|
+
secondary_match_criteria: RuleItemEdmMatchCriteriaSchema.nullish(),
|
|
2243
|
+
secondary_match_any_count: import_zod29.z.number().int().nullish()
|
|
2244
2244
|
}).passthrough();
|
|
2245
2245
|
var ExpressionTreeNodeSchema = import_zod29.z.lazy(
|
|
2246
2246
|
() => import_zod29.z.object({
|
|
2247
|
-
operator_type: ExpressionOperatorTypeSchema.
|
|
2248
|
-
rule_item: DetectionRuleItemSchema.
|
|
2249
|
-
sub_expressions: import_zod29.z.array(ExpressionTreeNodeSchema).
|
|
2247
|
+
operator_type: ExpressionOperatorTypeSchema.nullish(),
|
|
2248
|
+
rule_item: DetectionRuleItemSchema.nullish(),
|
|
2249
|
+
sub_expressions: import_zod29.z.array(ExpressionTreeNodeSchema).nullish()
|
|
2250
2250
|
}).passthrough()
|
|
2251
2251
|
);
|
|
2252
2252
|
var MultiProfileDataNodeSchema = import_zod29.z.object({
|
|
2253
|
-
data_profile_ids: import_zod29.z.array(import_zod29.z.number()).
|
|
2254
|
-
operator_type: ExpressionOperatorTypeSchema.
|
|
2253
|
+
data_profile_ids: import_zod29.z.array(import_zod29.z.number()).nullish(),
|
|
2254
|
+
operator_type: ExpressionOperatorTypeSchema.nullish()
|
|
2255
2255
|
}).passthrough();
|
|
2256
2256
|
var DefaultTreeDetectionRuleSchema = import_zod29.z.object({
|
|
2257
2257
|
rule_type: import_zod29.z.literal("expression_tree"),
|
|
2258
|
-
expression_tree: ExpressionTreeNodeSchema.
|
|
2258
|
+
expression_tree: ExpressionTreeNodeSchema.nullish()
|
|
2259
2259
|
}).passthrough();
|
|
2260
2260
|
var MultiProfileDetectionRuleSchema = import_zod29.z.object({
|
|
2261
2261
|
rule_type: import_zod29.z.literal("multi_profile"),
|
|
2262
|
-
multi_profile: MultiProfileDataNodeSchema.
|
|
2262
|
+
multi_profile: MultiProfileDataNodeSchema.nullish()
|
|
2263
2263
|
}).passthrough();
|
|
2264
2264
|
var DetectionRuleSchema = import_zod29.z.discriminatedUnion("rule_type", [
|
|
2265
2265
|
DefaultTreeDetectionRuleSchema,
|
|
@@ -2278,81 +2278,81 @@ var DataProfilePatchRequestSchema = import_zod29.z.object({
|
|
|
2278
2278
|
detection_rules: jsonNullable(import_zod29.z.array(DetectionRuleSchema))
|
|
2279
2279
|
}).passthrough();
|
|
2280
2280
|
var DataProfileResponseSchema = import_zod29.z.object({
|
|
2281
|
-
id: import_zod29.z.string().
|
|
2282
|
-
name: import_zod29.z.string().
|
|
2283
|
-
description: import_zod29.z.string().
|
|
2284
|
-
tenant_id: import_zod29.z.string().
|
|
2285
|
-
type: DataProfileSubtypeSchema.
|
|
2286
|
-
profile_status: DataProfileStatusSchema.
|
|
2287
|
-
profile_type: DataProfileTypeSchema.
|
|
2288
|
-
is_granular_data_profile: import_zod29.z.boolean().
|
|
2289
|
-
is_parent_managed: import_zod29.z.boolean().
|
|
2290
|
-
version: import_zod29.z.number().int().
|
|
2291
|
-
advance_data_patterns_rule_request: import_zod29.z.array(import_zod29.z.string()).
|
|
2292
|
-
detection_rules: import_zod29.z.array(DetectionRuleSchema).
|
|
2293
|
-
audit_metadata: AuditResponseSchema.
|
|
2281
|
+
id: import_zod29.z.string().nullish(),
|
|
2282
|
+
name: import_zod29.z.string().nullish(),
|
|
2283
|
+
description: import_zod29.z.string().nullish(),
|
|
2284
|
+
tenant_id: import_zod29.z.string().nullish(),
|
|
2285
|
+
type: DataProfileSubtypeSchema.nullish(),
|
|
2286
|
+
profile_status: DataProfileStatusSchema.nullish(),
|
|
2287
|
+
profile_type: DataProfileTypeSchema.nullish(),
|
|
2288
|
+
is_granular_data_profile: import_zod29.z.boolean().nullish(),
|
|
2289
|
+
is_parent_managed: import_zod29.z.boolean().nullish(),
|
|
2290
|
+
version: import_zod29.z.number().int().nullish(),
|
|
2291
|
+
advance_data_patterns_rule_request: import_zod29.z.array(import_zod29.z.string()).nullish(),
|
|
2292
|
+
detection_rules: import_zod29.z.array(DetectionRuleSchema).nullish(),
|
|
2293
|
+
audit_metadata: AuditResponseSchema.nullish()
|
|
2294
2294
|
}).passthrough();
|
|
2295
2295
|
var PageDataProfileResponseSchema = pageSchema(DataProfileResponseSchema);
|
|
2296
2296
|
|
|
2297
2297
|
// src/models/dlp-data-filtering-profile.ts
|
|
2298
2298
|
var import_zod30 = require("zod");
|
|
2299
2299
|
var AppExclusionSchema = import_zod30.z.object({
|
|
2300
|
-
app_id: import_zod30.z.string().
|
|
2301
|
-
app_name: import_zod30.z.string().
|
|
2302
|
-
type: import_zod30.z.string().
|
|
2300
|
+
app_id: import_zod30.z.string().nullish(),
|
|
2301
|
+
app_name: import_zod30.z.string().nullish(),
|
|
2302
|
+
type: import_zod30.z.string().nullish()
|
|
2303
2303
|
}).passthrough();
|
|
2304
2304
|
var URLExclusionSchema = import_zod30.z.object({
|
|
2305
|
-
type: import_zod30.z.string().
|
|
2306
|
-
url_id: import_zod30.z.string().
|
|
2307
|
-
url_name: import_zod30.z.string().
|
|
2305
|
+
type: import_zod30.z.string().nullish(),
|
|
2306
|
+
url_id: import_zod30.z.string().nullish(),
|
|
2307
|
+
url_name: import_zod30.z.string().nullish()
|
|
2308
2308
|
}).passthrough();
|
|
2309
2309
|
var ExclusionsSchema = import_zod30.z.object({
|
|
2310
|
-
app_exclusion_list: import_zod30.z.array(AppExclusionSchema).
|
|
2311
|
-
url_exclusion_list: import_zod30.z.array(URLExclusionSchema).
|
|
2310
|
+
app_exclusion_list: import_zod30.z.array(AppExclusionSchema).nullish(),
|
|
2311
|
+
url_exclusion_list: import_zod30.z.array(URLExclusionSchema).nullish(),
|
|
2312
2312
|
/**
|
|
2313
2313
|
* Map of category-name → string-array. `additionalProperties: { type: array of string }`
|
|
2314
2314
|
* in the OpenAPI spec; modeled here as `z.record(z.array(z.string()))`.
|
|
2315
2315
|
*/
|
|
2316
|
-
exclusion_list: import_zod30.z.record(import_zod30.z.array(import_zod30.z.string())).
|
|
2316
|
+
exclusion_list: import_zod30.z.record(import_zod30.z.array(import_zod30.z.string())).nullish()
|
|
2317
2317
|
}).passthrough();
|
|
2318
2318
|
var SourceAttributesSchema = import_zod30.z.object({
|
|
2319
|
-
match_any: import_zod30.z.boolean().
|
|
2320
|
-
user_group_ids: import_zod30.z.array(import_zod30.z.string()).
|
|
2321
|
-
user_ids: import_zod30.z.array(import_zod30.z.string()).
|
|
2319
|
+
match_any: import_zod30.z.boolean().nullish(),
|
|
2320
|
+
user_group_ids: import_zod30.z.array(import_zod30.z.string()).nullish(),
|
|
2321
|
+
user_ids: import_zod30.z.array(import_zod30.z.string()).nullish()
|
|
2322
2322
|
}).passthrough();
|
|
2323
2323
|
var DestinationAttributesSchema = import_zod30.z.object({
|
|
2324
|
-
match_any: import_zod30.z.boolean().
|
|
2325
|
-
app_ids: import_zod30.z.array(import_zod30.z.string()).
|
|
2326
|
-
url_patterns: import_zod30.z.array(import_zod30.z.string()).
|
|
2324
|
+
match_any: import_zod30.z.boolean().nullish(),
|
|
2325
|
+
app_ids: import_zod30.z.array(import_zod30.z.string()).nullish(),
|
|
2326
|
+
url_patterns: import_zod30.z.array(import_zod30.z.string()).nullish()
|
|
2327
2327
|
}).passthrough();
|
|
2328
2328
|
var ExceptionRuleDTOSchema = import_zod30.z.object({
|
|
2329
|
-
id: import_zod30.z.string().
|
|
2330
|
-
action: import_zod30.z.enum(["ALLOW", "ALERT", "BLOCK"]).
|
|
2331
|
-
log_severity: import_zod30.z.enum(["INFORMATIONAL", "LOW", "MEDIUM", "HIGH", "CRITICAL"]).
|
|
2329
|
+
id: import_zod30.z.string().nullish(),
|
|
2330
|
+
action: import_zod30.z.enum(["ALLOW", "ALERT", "BLOCK"]).nullish(),
|
|
2331
|
+
log_severity: import_zod30.z.enum(["INFORMATIONAL", "LOW", "MEDIUM", "HIGH", "CRITICAL"]).nullish(),
|
|
2332
2332
|
/**
|
|
2333
2333
|
* `int64` per spec; declared as `z.number()` since JS numbers cover any realistic
|
|
2334
2334
|
* data_profile_id and the SDK never round-trips these unmodified.
|
|
2335
2335
|
*/
|
|
2336
|
-
data_profile_ids: import_zod30.z.array(import_zod30.z.number()).
|
|
2337
|
-
destination_attributes: DestinationAttributesSchema.
|
|
2338
|
-
source_attributes: SourceAttributesSchema.
|
|
2336
|
+
data_profile_ids: import_zod30.z.array(import_zod30.z.number()).nullish(),
|
|
2337
|
+
destination_attributes: DestinationAttributesSchema.nullish(),
|
|
2338
|
+
source_attributes: SourceAttributesSchema.nullish()
|
|
2339
2339
|
}).passthrough();
|
|
2340
2340
|
var DataFilteringRuleDTOSchema = import_zod30.z.object({
|
|
2341
|
-
action: import_zod30.z.string().
|
|
2342
|
-
response_page: import_zod30.z.string().
|
|
2343
|
-
show_rsp_page: import_zod30.z.string().
|
|
2341
|
+
action: import_zod30.z.string().nullish(),
|
|
2342
|
+
response_page: import_zod30.z.string().nullish(),
|
|
2343
|
+
show_rsp_page: import_zod30.z.string().nullish()
|
|
2344
2344
|
}).passthrough();
|
|
2345
2345
|
var DataFilteringDetailsSchema = import_zod30.z.object({
|
|
2346
|
-
action: import_zod30.z.string().
|
|
2347
|
-
dataProfileId: import_zod30.z.number().
|
|
2348
|
-
direction: import_zod30.z.string().
|
|
2349
|
-
euc_template_id: import_zod30.z.string().
|
|
2350
|
-
fileBased: import_zod30.z.string().
|
|
2351
|
-
fileTypes: import_zod30.z.array(import_zod30.z.string()).
|
|
2352
|
-
is_end_user_coaching_enabled: import_zod30.z.boolean().
|
|
2353
|
-
logSeverity: import_zod30.z.string().
|
|
2354
|
-
nonFileBased: import_zod30.z.string().
|
|
2355
|
-
scanType: import_zod30.z.string().
|
|
2346
|
+
action: import_zod30.z.string().nullish(),
|
|
2347
|
+
dataProfileId: import_zod30.z.number().nullish(),
|
|
2348
|
+
direction: import_zod30.z.string().nullish(),
|
|
2349
|
+
euc_template_id: import_zod30.z.string().nullish(),
|
|
2350
|
+
fileBased: import_zod30.z.string().nullish(),
|
|
2351
|
+
fileTypes: import_zod30.z.array(import_zod30.z.string()).nullish(),
|
|
2352
|
+
is_end_user_coaching_enabled: import_zod30.z.boolean().nullish(),
|
|
2353
|
+
logSeverity: import_zod30.z.string().nullish(),
|
|
2354
|
+
nonFileBased: import_zod30.z.string().nullish(),
|
|
2355
|
+
scanType: import_zod30.z.string().nullish()
|
|
2356
2356
|
}).passthrough();
|
|
2357
2357
|
var DataFilteringProfileRequestSchema = import_zod30.z.object({
|
|
2358
2358
|
file_based: import_zod30.z.boolean(),
|
|
@@ -2377,29 +2377,29 @@ var DataFilteringProfileRequestSchema = import_zod30.z.object({
|
|
|
2377
2377
|
rule2: DataFilteringRuleDTOSchema.optional()
|
|
2378
2378
|
}).passthrough();
|
|
2379
2379
|
var DataFilteringProfileResponseSchema = import_zod30.z.object({
|
|
2380
|
-
id: import_zod30.z.string().
|
|
2381
|
-
name: import_zod30.z.string().
|
|
2382
|
-
description: import_zod30.z.string().
|
|
2383
|
-
tenant_id: import_zod30.z.string().
|
|
2384
|
-
type: import_zod30.z.string().
|
|
2385
|
-
data_profile_id: import_zod30.z.number().
|
|
2386
|
-
direction: import_zod30.z.string().
|
|
2387
|
-
file_based: import_zod30.z.boolean().
|
|
2388
|
-
non_file_based: import_zod30.z.boolean().
|
|
2389
|
-
log_severity: import_zod30.z.string().
|
|
2390
|
-
scan_type: import_zod30.z.enum(["include", "exclude"]).
|
|
2391
|
-
is_end_user_coaching_enabled: import_zod30.z.boolean().
|
|
2392
|
-
is_granular_profile: import_zod30.z.boolean().
|
|
2393
|
-
is_parent_managed: import_zod30.z.boolean().
|
|
2394
|
-
euc_template_id: import_zod30.z.string().
|
|
2395
|
-
version: import_zod30.z.number().
|
|
2396
|
-
file_type: import_zod30.z.array(import_zod30.z.string()).
|
|
2397
|
-
audit_metadata: AuditResponseSchema.
|
|
2398
|
-
criteria_details: import_zod30.z.array(DataFilteringDetailsSchema).
|
|
2399
|
-
exception_rules: import_zod30.z.array(ExceptionRuleDTOSchema).
|
|
2400
|
-
exclusions: ExclusionsSchema.
|
|
2401
|
-
rule1: DataFilteringRuleDTOSchema.
|
|
2402
|
-
rule2: DataFilteringRuleDTOSchema.
|
|
2380
|
+
id: import_zod30.z.string().nullish(),
|
|
2381
|
+
name: import_zod30.z.string().nullish(),
|
|
2382
|
+
description: import_zod30.z.string().nullish(),
|
|
2383
|
+
tenant_id: import_zod30.z.string().nullish(),
|
|
2384
|
+
type: import_zod30.z.string().nullish(),
|
|
2385
|
+
data_profile_id: import_zod30.z.number().nullish(),
|
|
2386
|
+
direction: import_zod30.z.string().nullish(),
|
|
2387
|
+
file_based: import_zod30.z.boolean().nullish(),
|
|
2388
|
+
non_file_based: import_zod30.z.boolean().nullish(),
|
|
2389
|
+
log_severity: import_zod30.z.string().nullish(),
|
|
2390
|
+
scan_type: import_zod30.z.enum(["include", "exclude"]).nullish(),
|
|
2391
|
+
is_end_user_coaching_enabled: import_zod30.z.boolean().nullish(),
|
|
2392
|
+
is_granular_profile: import_zod30.z.boolean().nullish(),
|
|
2393
|
+
is_parent_managed: import_zod30.z.boolean().nullish(),
|
|
2394
|
+
euc_template_id: import_zod30.z.string().nullish(),
|
|
2395
|
+
version: import_zod30.z.number().nullish(),
|
|
2396
|
+
file_type: import_zod30.z.array(import_zod30.z.string()).nullish(),
|
|
2397
|
+
audit_metadata: AuditResponseSchema.nullish(),
|
|
2398
|
+
criteria_details: import_zod30.z.array(DataFilteringDetailsSchema).nullish(),
|
|
2399
|
+
exception_rules: import_zod30.z.array(ExceptionRuleDTOSchema).nullish(),
|
|
2400
|
+
exclusions: ExclusionsSchema.nullish(),
|
|
2401
|
+
rule1: DataFilteringRuleDTOSchema.nullish(),
|
|
2402
|
+
rule2: DataFilteringRuleDTOSchema.nullish()
|
|
2403
2403
|
}).passthrough();
|
|
2404
2404
|
var PageDataFilteringProfileResponseSchema = pageSchema(
|
|
2405
2405
|
DataFilteringProfileResponseSchema
|