@stackone/olap 3.1.1 → 3.2.1
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 +28 -28
- package/dist/index.d.cts +16 -1
- package/dist/index.d.mts +16 -1
- package/dist/index.mjs +29 -29
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -246,6 +246,17 @@ type PolicyObservation = {
|
|
|
246
246
|
type FieldLabelProvenance = {
|
|
247
247
|
label: string;
|
|
248
248
|
definitionVersion?: string;
|
|
249
|
+
assumed?: true;
|
|
250
|
+
};
|
|
251
|
+
type WithheldReason = 'rule' | 'no-permit' | 'fault' | 'unchecked';
|
|
252
|
+
type UnenforcedRedaction = {
|
|
253
|
+
reason: 'no-engine' | 'streamed' | 'engine-skipped' | 'engine-failed';
|
|
254
|
+
classes?: string[];
|
|
255
|
+
};
|
|
256
|
+
type FaultedPolicySet = {
|
|
257
|
+
level: string;
|
|
258
|
+
mode: 'enforce' | 'monitor';
|
|
259
|
+
action: string;
|
|
249
260
|
};
|
|
250
261
|
type PolicyContext = {
|
|
251
262
|
result: PolicyResult;
|
|
@@ -263,6 +274,7 @@ type PolicyContext = {
|
|
|
263
274
|
path: string;
|
|
264
275
|
policyIds: string[];
|
|
265
276
|
level?: string;
|
|
277
|
+
reason?: WithheldReason;
|
|
266
278
|
labels?: FieldLabelProvenance[];
|
|
267
279
|
}>;
|
|
268
280
|
observedFields?: Array<{
|
|
@@ -275,7 +287,10 @@ type PolicyContext = {
|
|
|
275
287
|
class: string;
|
|
276
288
|
policyIds: string[];
|
|
277
289
|
level?: string;
|
|
290
|
+
reason?: Extract<WithheldReason, 'rule' | 'fault'>;
|
|
278
291
|
}>;
|
|
292
|
+
unenforcedRedaction?: UnenforcedRedaction;
|
|
293
|
+
faultedSets?: FaultedPolicySet[];
|
|
279
294
|
resolved?: PolicyResolution[];
|
|
280
295
|
level?: string;
|
|
281
296
|
observed?: PolicyObservation[];
|
|
@@ -1194,4 +1209,4 @@ declare class PolicySink implements IPolicySink {
|
|
|
1194
1209
|
//#region src/utils/stepErrors.d.ts
|
|
1195
1210
|
declare const hasErrorEntries: (errors: unknown) => boolean;
|
|
1196
1211
|
//#endregion
|
|
1197
|
-
export { type ActionAdvancedLog, type ActionInput, type ActionLog, type ActionResult, type ActionsCountQuery, type ActionsQuery, type ActionsQueryResult, type AdvancedLogMetadata, type AdvancedOptions, type AdvancedPiiScrubber, type AdvancedSinkConfig, type AggregateQuery, type AggregateResult, type AuthPair, AuthType, type AuthType as AuthTypeValue, type ClickHouseConfig, type CombinedLogType, DEFAULT_TOPIC_CLUSTER_MAP, type DatasetsOptions, type DatasetsSinkConfig, type DefenderContext, type DefenderLog, type DefenderOptions, type DefenderSinkConfig, Dimension, type Dimension as DimensionValues, type DimensionsQuery, type DimensionsResult, type FieldLabelProvenance, type ILog, type IOlapClient, type IPolicySink, type InternalKafkaClientBuilder, type InternalKafkaClientConfig, IntervalType, type IntervalType as IntervalTypeValues, InvalidAuthPairError, type KafkaClientBuilder, type KafkaClientConfig, type KafkaClusterName, type LogEntities, LogType, type LogType as LogTypeValues, type LogfireConfig, type LogsOptions, OlapClient, OlapClientManager, type OlapOptions, type OlapSinkConfig, OrderBy, type OrderBy as OrderByValues, OrderDirection, type OrderDirection as OrderDirectionValues, type PlatformAdvancedLog, PlatformDimension, type PlatformDimension as PlatformDimensionValues, type PlatformDimensionsQuery, type PlatformInput, type PlatformLog, type PlatformQuery, type PlatformQueryResult, type PlatformResult, type PolicyContext, type PolicyLog, type PolicyObservation, type PolicyOptions, type PolicyRecord, type PolicyResult, PolicySink, type PolicySinkConfig, type ProviderAdvancedLog, type ProviderInput, type ProviderLog, type ProviderQuery, type ProviderQueryResult, type ProviderResult, type Query, type QueryResult, type SASLMechanism, type Source, type SourceQuery, type SourceResult, SourceType, type SourceType as SourceTypeValue, type StepAdvancedLog, type StepInput, type StepLog, type StepResult, type StepsQuery, type StepsQueryResult, StreamType, type StreamType as StreamTypeValue, type TopicClusterMap, TransportType, type TransportType as TransportTypeValue, type TruncationMode, type UnifiedAdvancedLog, type UnifiedInput, type UnifiedLog, type UnifiedQuery, type UnifiedQueryResult, type UnifiedResult, getPolicySink, hasErrorEntries };
|
|
1212
|
+
export { type ActionAdvancedLog, type ActionInput, type ActionLog, type ActionResult, type ActionsCountQuery, type ActionsQuery, type ActionsQueryResult, type AdvancedLogMetadata, type AdvancedOptions, type AdvancedPiiScrubber, type AdvancedSinkConfig, type AggregateQuery, type AggregateResult, type AuthPair, AuthType, type AuthType as AuthTypeValue, type ClickHouseConfig, type CombinedLogType, DEFAULT_TOPIC_CLUSTER_MAP, type DatasetsOptions, type DatasetsSinkConfig, type DefenderContext, type DefenderLog, type DefenderOptions, type DefenderSinkConfig, Dimension, type Dimension as DimensionValues, type DimensionsQuery, type DimensionsResult, type FaultedPolicySet, type FieldLabelProvenance, type ILog, type IOlapClient, type IPolicySink, type InternalKafkaClientBuilder, type InternalKafkaClientConfig, IntervalType, type IntervalType as IntervalTypeValues, InvalidAuthPairError, type KafkaClientBuilder, type KafkaClientConfig, type KafkaClusterName, type LogEntities, LogType, type LogType as LogTypeValues, type LogfireConfig, type LogsOptions, OlapClient, OlapClientManager, type OlapOptions, type OlapSinkConfig, OrderBy, type OrderBy as OrderByValues, OrderDirection, type OrderDirection as OrderDirectionValues, type PlatformAdvancedLog, PlatformDimension, type PlatformDimension as PlatformDimensionValues, type PlatformDimensionsQuery, type PlatformInput, type PlatformLog, type PlatformQuery, type PlatformQueryResult, type PlatformResult, type PolicyContext, type PolicyLog, type PolicyObservation, type PolicyOptions, type PolicyRecord, type PolicyResult, PolicySink, type PolicySinkConfig, type ProviderAdvancedLog, type ProviderInput, type ProviderLog, type ProviderQuery, type ProviderQueryResult, type ProviderResult, type Query, type QueryResult, type SASLMechanism, type Source, type SourceQuery, type SourceResult, SourceType, type SourceType as SourceTypeValue, type StepAdvancedLog, type StepInput, type StepLog, type StepResult, type StepsQuery, type StepsQueryResult, StreamType, type StreamType as StreamTypeValue, type TopicClusterMap, TransportType, type TransportType as TransportTypeValue, type TruncationMode, type UnenforcedRedaction, type UnifiedAdvancedLog, type UnifiedInput, type UnifiedLog, type UnifiedQuery, type UnifiedQueryResult, type UnifiedResult, type WithheldReason, getPolicySink, hasErrorEntries };
|
package/dist/index.d.mts
CHANGED
|
@@ -245,6 +245,17 @@ type PolicyObservation = {
|
|
|
245
245
|
type FieldLabelProvenance = {
|
|
246
246
|
label: string;
|
|
247
247
|
definitionVersion?: string;
|
|
248
|
+
assumed?: true;
|
|
249
|
+
};
|
|
250
|
+
type WithheldReason = 'rule' | 'no-permit' | 'fault' | 'unchecked';
|
|
251
|
+
type UnenforcedRedaction = {
|
|
252
|
+
reason: 'no-engine' | 'streamed' | 'engine-skipped' | 'engine-failed';
|
|
253
|
+
classes?: string[];
|
|
254
|
+
};
|
|
255
|
+
type FaultedPolicySet = {
|
|
256
|
+
level: string;
|
|
257
|
+
mode: 'enforce' | 'monitor';
|
|
258
|
+
action: string;
|
|
248
259
|
};
|
|
249
260
|
type PolicyContext = {
|
|
250
261
|
result: PolicyResult;
|
|
@@ -262,6 +273,7 @@ type PolicyContext = {
|
|
|
262
273
|
path: string;
|
|
263
274
|
policyIds: string[];
|
|
264
275
|
level?: string;
|
|
276
|
+
reason?: WithheldReason;
|
|
265
277
|
labels?: FieldLabelProvenance[];
|
|
266
278
|
}>;
|
|
267
279
|
observedFields?: Array<{
|
|
@@ -274,7 +286,10 @@ type PolicyContext = {
|
|
|
274
286
|
class: string;
|
|
275
287
|
policyIds: string[];
|
|
276
288
|
level?: string;
|
|
289
|
+
reason?: Extract<WithheldReason, 'rule' | 'fault'>;
|
|
277
290
|
}>;
|
|
291
|
+
unenforcedRedaction?: UnenforcedRedaction;
|
|
292
|
+
faultedSets?: FaultedPolicySet[];
|
|
278
293
|
resolved?: PolicyResolution[];
|
|
279
294
|
level?: string;
|
|
280
295
|
observed?: PolicyObservation[];
|
|
@@ -1193,4 +1208,4 @@ declare class PolicySink implements IPolicySink {
|
|
|
1193
1208
|
//#region src/utils/stepErrors.d.ts
|
|
1194
1209
|
declare const hasErrorEntries: (errors: unknown) => boolean;
|
|
1195
1210
|
//#endregion
|
|
1196
|
-
export { type ActionAdvancedLog, type ActionInput, type ActionLog, type ActionResult, type ActionsCountQuery, type ActionsQuery, type ActionsQueryResult, type AdvancedLogMetadata, type AdvancedOptions, type AdvancedPiiScrubber, type AdvancedSinkConfig, type AggregateQuery, type AggregateResult, type AuthPair, AuthType, type AuthType as AuthTypeValue, type ClickHouseConfig, type CombinedLogType, DEFAULT_TOPIC_CLUSTER_MAP, type DatasetsOptions, type DatasetsSinkConfig, type DefenderContext, type DefenderLog, type DefenderOptions, type DefenderSinkConfig, Dimension, type Dimension as DimensionValues, type DimensionsQuery, type DimensionsResult, type FieldLabelProvenance, type ILog, type IOlapClient, type IPolicySink, type InternalKafkaClientBuilder, type InternalKafkaClientConfig, IntervalType, type IntervalType as IntervalTypeValues, InvalidAuthPairError, type KafkaClientBuilder, type KafkaClientConfig, type KafkaClusterName, type LogEntities, LogType, type LogType as LogTypeValues, type LogfireConfig, type LogsOptions, OlapClient, OlapClientManager, type OlapOptions, type OlapSinkConfig, OrderBy, type OrderBy as OrderByValues, OrderDirection, type OrderDirection as OrderDirectionValues, type PlatformAdvancedLog, PlatformDimension, type PlatformDimension as PlatformDimensionValues, type PlatformDimensionsQuery, type PlatformInput, type PlatformLog, type PlatformQuery, type PlatformQueryResult, type PlatformResult, type PolicyContext, type PolicyLog, type PolicyObservation, type PolicyOptions, type PolicyRecord, type PolicyResult, PolicySink, type PolicySinkConfig, type ProviderAdvancedLog, type ProviderInput, type ProviderLog, type ProviderQuery, type ProviderQueryResult, type ProviderResult, type Query, type QueryResult, type SASLMechanism, type Source, type SourceQuery, type SourceResult, SourceType, type SourceType as SourceTypeValue, type StepAdvancedLog, type StepInput, type StepLog, type StepResult, type StepsQuery, type StepsQueryResult, StreamType, type StreamType as StreamTypeValue, type TopicClusterMap, TransportType, type TransportType as TransportTypeValue, type TruncationMode, type UnifiedAdvancedLog, type UnifiedInput, type UnifiedLog, type UnifiedQuery, type UnifiedQueryResult, type UnifiedResult, getPolicySink, hasErrorEntries };
|
|
1211
|
+
export { type ActionAdvancedLog, type ActionInput, type ActionLog, type ActionResult, type ActionsCountQuery, type ActionsQuery, type ActionsQueryResult, type AdvancedLogMetadata, type AdvancedOptions, type AdvancedPiiScrubber, type AdvancedSinkConfig, type AggregateQuery, type AggregateResult, type AuthPair, AuthType, type AuthType as AuthTypeValue, type ClickHouseConfig, type CombinedLogType, DEFAULT_TOPIC_CLUSTER_MAP, type DatasetsOptions, type DatasetsSinkConfig, type DefenderContext, type DefenderLog, type DefenderOptions, type DefenderSinkConfig, Dimension, type Dimension as DimensionValues, type DimensionsQuery, type DimensionsResult, type FaultedPolicySet, type FieldLabelProvenance, type ILog, type IOlapClient, type IPolicySink, type InternalKafkaClientBuilder, type InternalKafkaClientConfig, IntervalType, type IntervalType as IntervalTypeValues, InvalidAuthPairError, type KafkaClientBuilder, type KafkaClientConfig, type KafkaClusterName, type LogEntities, LogType, type LogType as LogTypeValues, type LogfireConfig, type LogsOptions, OlapClient, OlapClientManager, type OlapOptions, type OlapSinkConfig, OrderBy, type OrderBy as OrderByValues, OrderDirection, type OrderDirection as OrderDirectionValues, type PlatformAdvancedLog, PlatformDimension, type PlatformDimension as PlatformDimensionValues, type PlatformDimensionsQuery, type PlatformInput, type PlatformLog, type PlatformQuery, type PlatformQueryResult, type PlatformResult, type PolicyContext, type PolicyLog, type PolicyObservation, type PolicyOptions, type PolicyRecord, type PolicyResult, PolicySink, type PolicySinkConfig, type ProviderAdvancedLog, type ProviderInput, type ProviderLog, type ProviderQuery, type ProviderQueryResult, type ProviderResult, type Query, type QueryResult, type SASLMechanism, type Source, type SourceQuery, type SourceResult, SourceType, type SourceType as SourceTypeValue, type StepAdvancedLog, type StepInput, type StepLog, type StepResult, type StepsQuery, type StepsQueryResult, StreamType, type StreamType as StreamTypeValue, type TopicClusterMap, TransportType, type TransportType as TransportTypeValue, type TruncationMode, type UnenforcedRedaction, type UnifiedAdvancedLog, type UnifiedInput, type UnifiedLog, type UnifiedQuery, type UnifiedQueryResult, type UnifiedResult, type WithheldReason, getPolicySink, hasErrorEntries };
|