@stackone/olap 1.74.1 → 1.75.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.cts +11 -3
- package/dist/index.d.mts +11 -3
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -222,9 +222,18 @@ type PolicyResolution = {
|
|
|
222
222
|
mode: 'enforce' | 'monitor';
|
|
223
223
|
decision: 'allow' | 'deny';
|
|
224
224
|
determining: string[];
|
|
225
|
+
checked?: readonly string[];
|
|
225
226
|
setId: string;
|
|
226
227
|
faulted?: boolean;
|
|
227
228
|
};
|
|
229
|
+
type PolicyRecord = {
|
|
230
|
+
id: string;
|
|
231
|
+
name?: string;
|
|
232
|
+
version?: number;
|
|
233
|
+
level: string;
|
|
234
|
+
mode: 'enforce' | 'monitor';
|
|
235
|
+
effect?: 'refused' | 'masked' | 'would-have-refused' | 'permitted';
|
|
236
|
+
};
|
|
228
237
|
type PolicyObservation = {
|
|
229
238
|
level: string;
|
|
230
239
|
decision: 'allow' | 'deny';
|
|
@@ -242,7 +251,7 @@ type PolicyContext = {
|
|
|
242
251
|
};
|
|
243
252
|
decidedAt: string;
|
|
244
253
|
policyIds: string[];
|
|
245
|
-
|
|
254
|
+
policies?: PolicyRecord[];
|
|
246
255
|
maskedFields?: Array<{
|
|
247
256
|
path: string;
|
|
248
257
|
policyIds: string[];
|
|
@@ -250,7 +259,6 @@ type PolicyContext = {
|
|
|
250
259
|
}>;
|
|
251
260
|
resolved?: PolicyResolution[];
|
|
252
261
|
level?: string;
|
|
253
|
-
versions?: Record<string, number>;
|
|
254
262
|
observed?: PolicyObservation[];
|
|
255
263
|
};
|
|
256
264
|
type DefenderDecision = 'block' | 'allow' | 'count';
|
|
@@ -1191,4 +1199,4 @@ declare class PolicySink implements IPolicySink {
|
|
|
1191
1199
|
//#region src/utils/stepErrors.d.ts
|
|
1192
1200
|
declare const hasErrorEntries: (errors: unknown) => boolean;
|
|
1193
1201
|
//#endregion
|
|
1194
|
-
export { type ActionAdvancedLog, type ActionInput, type ActionLog, type ActionResult, type ActionsQuery, type ActionsQueryResult, type AdvancedLogMetadata, type AdvancedOptions, type AdvancedSinkConfig, type AggregateQuery, type AggregateResult, AuthType, type AuthType as AuthTypeValue, ClickHouseClient, 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 ILog, type IOlapClient, type IPolicySink, type IQueryClient, type InternalKafkaClientBuilder, type InternalKafkaClientConfig, IntervalType, type IntervalType as IntervalTypeValues, type KafkaClientBuilder, type KafkaClientConfig, type KafkaClusterName, type LogEntities, LogType, type LogType as LogTypeValues, type LogfireConfig, type LogsOptions, OlapClient, OlapClientManager, type OlapOptions, type OlapQueryClientConfig, type OlapSinkConfig, OrderBy, type OrderBy as OrderByValues, OrderDirection, type OrderDirection as OrderDirectionValues, type PlatformAdvancedLog, type PlatformInput, type PlatformLog, type PlatformQuery, type PlatformQueryResult, type PlatformResult, type PolicyContext, type PolicyLog, type PolicyObservation, type PolicyOptions, type PolicyResult, PolicySink, type PolicySinkConfig, type ProviderAdvancedLog, type ProviderInput, type ProviderLog, type ProviderQuery, type ProviderQueryResult, type ProviderResult, type Query, type QueryOptions, type QueryResponse, 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, createConfigFromEnv, createOlapQueryClient, getPolicySink, hasErrorEntries };
|
|
1202
|
+
export { type ActionAdvancedLog, type ActionInput, type ActionLog, type ActionResult, type ActionsQuery, type ActionsQueryResult, type AdvancedLogMetadata, type AdvancedOptions, type AdvancedSinkConfig, type AggregateQuery, type AggregateResult, AuthType, type AuthType as AuthTypeValue, ClickHouseClient, 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 ILog, type IOlapClient, type IPolicySink, type IQueryClient, type InternalKafkaClientBuilder, type InternalKafkaClientConfig, IntervalType, type IntervalType as IntervalTypeValues, type KafkaClientBuilder, type KafkaClientConfig, type KafkaClusterName, type LogEntities, LogType, type LogType as LogTypeValues, type LogfireConfig, type LogsOptions, OlapClient, OlapClientManager, type OlapOptions, type OlapQueryClientConfig, type OlapSinkConfig, OrderBy, type OrderBy as OrderByValues, OrderDirection, type OrderDirection as OrderDirectionValues, type PlatformAdvancedLog, 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 QueryOptions, type QueryResponse, 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, createConfigFromEnv, createOlapQueryClient, getPolicySink, hasErrorEntries };
|
package/dist/index.d.mts
CHANGED
|
@@ -221,9 +221,18 @@ type PolicyResolution = {
|
|
|
221
221
|
mode: 'enforce' | 'monitor';
|
|
222
222
|
decision: 'allow' | 'deny';
|
|
223
223
|
determining: string[];
|
|
224
|
+
checked?: readonly string[];
|
|
224
225
|
setId: string;
|
|
225
226
|
faulted?: boolean;
|
|
226
227
|
};
|
|
228
|
+
type PolicyRecord = {
|
|
229
|
+
id: string;
|
|
230
|
+
name?: string;
|
|
231
|
+
version?: number;
|
|
232
|
+
level: string;
|
|
233
|
+
mode: 'enforce' | 'monitor';
|
|
234
|
+
effect?: 'refused' | 'masked' | 'would-have-refused' | 'permitted';
|
|
235
|
+
};
|
|
227
236
|
type PolicyObservation = {
|
|
228
237
|
level: string;
|
|
229
238
|
decision: 'allow' | 'deny';
|
|
@@ -241,7 +250,7 @@ type PolicyContext = {
|
|
|
241
250
|
};
|
|
242
251
|
decidedAt: string;
|
|
243
252
|
policyIds: string[];
|
|
244
|
-
|
|
253
|
+
policies?: PolicyRecord[];
|
|
245
254
|
maskedFields?: Array<{
|
|
246
255
|
path: string;
|
|
247
256
|
policyIds: string[];
|
|
@@ -249,7 +258,6 @@ type PolicyContext = {
|
|
|
249
258
|
}>;
|
|
250
259
|
resolved?: PolicyResolution[];
|
|
251
260
|
level?: string;
|
|
252
|
-
versions?: Record<string, number>;
|
|
253
261
|
observed?: PolicyObservation[];
|
|
254
262
|
};
|
|
255
263
|
type DefenderDecision = 'block' | 'allow' | 'count';
|
|
@@ -1190,4 +1198,4 @@ declare class PolicySink implements IPolicySink {
|
|
|
1190
1198
|
//#region src/utils/stepErrors.d.ts
|
|
1191
1199
|
declare const hasErrorEntries: (errors: unknown) => boolean;
|
|
1192
1200
|
//#endregion
|
|
1193
|
-
export { type ActionAdvancedLog, type ActionInput, type ActionLog, type ActionResult, type ActionsQuery, type ActionsQueryResult, type AdvancedLogMetadata, type AdvancedOptions, type AdvancedSinkConfig, type AggregateQuery, type AggregateResult, AuthType, type AuthType as AuthTypeValue, ClickHouseClient, 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 ILog, type IOlapClient, type IPolicySink, type IQueryClient, type InternalKafkaClientBuilder, type InternalKafkaClientConfig, IntervalType, type IntervalType as IntervalTypeValues, type KafkaClientBuilder, type KafkaClientConfig, type KafkaClusterName, type LogEntities, LogType, type LogType as LogTypeValues, type LogfireConfig, type LogsOptions, OlapClient, OlapClientManager, type OlapOptions, type OlapQueryClientConfig, type OlapSinkConfig, OrderBy, type OrderBy as OrderByValues, OrderDirection, type OrderDirection as OrderDirectionValues, type PlatformAdvancedLog, type PlatformInput, type PlatformLog, type PlatformQuery, type PlatformQueryResult, type PlatformResult, type PolicyContext, type PolicyLog, type PolicyObservation, type PolicyOptions, type PolicyResult, PolicySink, type PolicySinkConfig, type ProviderAdvancedLog, type ProviderInput, type ProviderLog, type ProviderQuery, type ProviderQueryResult, type ProviderResult, type Query, type QueryOptions, type QueryResponse, 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, createConfigFromEnv, createOlapQueryClient, getPolicySink, hasErrorEntries };
|
|
1201
|
+
export { type ActionAdvancedLog, type ActionInput, type ActionLog, type ActionResult, type ActionsQuery, type ActionsQueryResult, type AdvancedLogMetadata, type AdvancedOptions, type AdvancedSinkConfig, type AggregateQuery, type AggregateResult, AuthType, type AuthType as AuthTypeValue, ClickHouseClient, 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 ILog, type IOlapClient, type IPolicySink, type IQueryClient, type InternalKafkaClientBuilder, type InternalKafkaClientConfig, IntervalType, type IntervalType as IntervalTypeValues, type KafkaClientBuilder, type KafkaClientConfig, type KafkaClusterName, type LogEntities, LogType, type LogType as LogTypeValues, type LogfireConfig, type LogsOptions, OlapClient, OlapClientManager, type OlapOptions, type OlapQueryClientConfig, type OlapSinkConfig, OrderBy, type OrderBy as OrderByValues, OrderDirection, type OrderDirection as OrderDirectionValues, type PlatformAdvancedLog, 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 QueryOptions, type QueryResponse, 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, createConfigFromEnv, createOlapQueryClient, getPolicySink, hasErrorEntries };
|