@rad-security/mcp-server 0.0.47-2.gb9dd8b4 → 0.0.47

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.
@@ -6,41 +6,47 @@ export declare const source_types: readonly ["kubeobject", "k8s_audit_log", "con
6
6
  export declare const severities: readonly ["negligible", "low", "medium", "high", "critical"];
7
7
  export declare const listFindingsSchema: z.ZodObject<{
8
8
  limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
9
- types: z.ZodOptional<z.ZodArray<z.ZodEnum<{
10
- k8s_audit_logs_anomaly: "k8s_audit_logs_anomaly";
11
- k8s_misconfiguration: "k8s_misconfiguration";
12
- runtime_alert: "runtime_alert";
13
- }>>>;
14
- severities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
15
- negligible: "negligible";
16
- low: "low";
17
- medium: "medium";
18
- high: "high";
19
- critical: "critical";
20
- }>>>;
21
- source_kinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
22
- source_types: z.ZodOptional<z.ZodArray<z.ZodEnum<{
23
- kubeobject: "kubeobject";
24
- k8s_audit_log: "k8s_audit_log";
25
- container: "container";
26
- }>>>;
27
- source_names: z.ZodOptional<z.ZodArray<z.ZodString>>;
28
- source_namespaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
29
- status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
30
- open: "open";
31
- closed: "closed";
32
- ignored: "ignored";
33
- }>>>;
9
+ types: z.ZodOptional<z.ZodArray<z.ZodEnum<["k8s_misconfiguration", "runtime_alert", "k8s_audit_logs_anomaly"]>, "many">>;
10
+ severities: z.ZodOptional<z.ZodArray<z.ZodEnum<["negligible", "low", "medium", "high", "critical"]>, "many">>;
11
+ source_kinds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
12
+ source_types: z.ZodOptional<z.ZodArray<z.ZodEnum<["kubeobject", "k8s_audit_log", "container"]>, "many">>;
13
+ source_names: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
14
+ source_namespaces: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
15
+ status: z.ZodDefault<z.ZodOptional<z.ZodEnum<["open", "closed", "ignored"]>>>;
34
16
  from_time: z.ZodDefault<z.ZodOptional<z.ZodString>>;
35
17
  to_time: z.ZodOptional<z.ZodString>;
36
- }, z.core.$strip>;
18
+ }, "strip", z.ZodTypeAny, {
19
+ status: "open" | "closed" | "ignored";
20
+ limit: number;
21
+ from_time: string;
22
+ to_time?: string | undefined;
23
+ types?: ("k8s_audit_logs_anomaly" | "k8s_misconfiguration" | "runtime_alert")[] | undefined;
24
+ severities?: ("negligible" | "low" | "medium" | "high" | "critical")[] | undefined;
25
+ source_kinds?: string[] | undefined;
26
+ source_types?: ("kubeobject" | "k8s_audit_log" | "container")[] | undefined;
27
+ source_names?: string[] | undefined;
28
+ source_namespaces?: string[] | undefined;
29
+ }, {
30
+ status?: "open" | "closed" | "ignored" | undefined;
31
+ limit?: number | undefined;
32
+ from_time?: string | undefined;
33
+ to_time?: string | undefined;
34
+ types?: ("k8s_audit_logs_anomaly" | "k8s_misconfiguration" | "runtime_alert")[] | undefined;
35
+ severities?: ("negligible" | "low" | "medium" | "high" | "critical")[] | undefined;
36
+ source_kinds?: string[] | undefined;
37
+ source_types?: ("kubeobject" | "k8s_audit_log" | "container")[] | undefined;
38
+ source_names?: string[] | undefined;
39
+ source_namespaces?: string[] | undefined;
40
+ }>;
37
41
  export declare const updateFindingStatusSchema: z.ZodObject<{
38
42
  id: z.ZodString;
39
- status: z.ZodEnum<{
40
- open: "open";
41
- closed: "closed";
42
- ignored: "ignored";
43
- }>;
44
- }, z.core.$strip>;
43
+ status: z.ZodEnum<["open", "closed", "ignored"]>;
44
+ }, "strip", z.ZodTypeAny, {
45
+ status: "open" | "closed" | "ignored";
46
+ id: string;
47
+ }, {
48
+ status: "open" | "closed" | "ignored";
49
+ id: string;
50
+ }>;
45
51
  export declare function listFindings(client: RadSecurityClient, limit?: number, types?: string[], severities?: string[], source_types?: string[], source_kinds?: string[], source_names?: string[], source_namespaces?: string[], status?: string, from_time?: string, to_time?: string): Promise<any>;
46
52
  export declare function updateFindingGroupStatus(client: RadSecurityClient, id: string, status: string): Promise<void>;
@@ -6,16 +6,42 @@ export declare const ListImagesSchema: z.ZodObject<{
6
6
  sort: z.ZodDefault<z.ZodOptional<z.ZodString>>;
7
7
  filters: z.ZodOptional<z.ZodString>;
8
8
  q: z.ZodOptional<z.ZodString>;
9
- }, z.core.$strip>;
9
+ }, "strip", z.ZodTypeAny, {
10
+ offset: number;
11
+ limit: number;
12
+ sort: string;
13
+ filters?: string | undefined;
14
+ q?: string | undefined;
15
+ }, {
16
+ filters?: string | undefined;
17
+ offset?: number | undefined;
18
+ limit?: number | undefined;
19
+ q?: string | undefined;
20
+ sort?: string | undefined;
21
+ }>;
10
22
  export declare const ListImageVulnerabilitiesSchema: z.ZodObject<{
11
23
  digest: z.ZodString;
12
- severities: z.ZodOptional<z.ZodArray<z.ZodString>>;
24
+ severities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
13
25
  page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
14
26
  page_size: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
15
- }, z.core.$strip>;
27
+ }, "strip", z.ZodTypeAny, {
28
+ page: number;
29
+ page_size: number;
30
+ digest: string;
31
+ severities?: string[] | undefined;
32
+ }, {
33
+ digest: string;
34
+ page?: number | undefined;
35
+ page_size?: number | undefined;
36
+ severities?: string[] | undefined;
37
+ }>;
16
38
  export declare const GetImageSBOMSchema: z.ZodObject<{
17
39
  digest: z.ZodString;
18
- }, z.core.$strip>;
40
+ }, "strip", z.ZodTypeAny, {
41
+ digest: string;
42
+ }, {
43
+ digest: string;
44
+ }>;
19
45
  export declare function listImages(client: RadSecurityClient, limit?: number, offset?: number, sort?: string, filters?: string, q?: string): Promise<any>;
20
46
  export declare function listImageScans(client: RadSecurityClient, digest: string, page?: number, page_size?: number): Promise<any>;
21
47
  export declare function listImageVulnerabilities(client: RadSecurityClient, digest: string, severities?: string[], page?: number, page_size?: number): Promise<any>;
@@ -4,15 +4,35 @@ export declare const MarkInboxItemAsFalsePositiveSchema: z.ZodObject<{
4
4
  inbox_item_id: z.ZodString;
5
5
  value: z.ZodDefault<z.ZodBoolean>;
6
6
  reason: z.ZodString;
7
- }, z.core.$strip>;
7
+ }, "strip", z.ZodTypeAny, {
8
+ value: boolean;
9
+ reason: string;
10
+ inbox_item_id: string;
11
+ }, {
12
+ reason: string;
13
+ inbox_item_id: string;
14
+ value?: boolean | undefined;
15
+ }>;
8
16
  export declare const ListInboxItemsSchema: z.ZodObject<{
9
17
  limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
10
18
  offset: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
11
19
  filters_query: z.ZodOptional<z.ZodString>;
12
- }, z.core.$strip>;
20
+ }, "strip", z.ZodTypeAny, {
21
+ offset: number;
22
+ limit: number;
23
+ filters_query?: string | undefined;
24
+ }, {
25
+ offset?: number | undefined;
26
+ limit?: number | undefined;
27
+ filters_query?: string | undefined;
28
+ }>;
13
29
  export declare const GetInboxItemDetailsSchema: z.ZodObject<{
14
30
  inbox_item_id: z.ZodString;
15
- }, z.core.$strip>;
31
+ }, "strip", z.ZodTypeAny, {
32
+ inbox_item_id: string;
33
+ }, {
34
+ inbox_item_id: string;
35
+ }>;
16
36
  export declare function markInboxItemAsFalsePositive(client: RadSecurityClient, inboxItemId: string, value: boolean | undefined, reason: string): Promise<any>;
17
37
  export declare function listInboxItems(client: RadSecurityClient, limit?: number, offset?: number, filters_query?: string): Promise<any>;
18
38
  export declare function getInboxItemDetails(client: RadSecurityClient, inboxItemId: string): Promise<any>;
@@ -3,7 +3,13 @@ import { RadSecurityClient } from "../client.js";
3
3
  export declare const ListExternalIntegrationsSchema: z.ZodObject<{
4
4
  offset: z.ZodOptional<z.ZodNumber>;
5
5
  limit: z.ZodOptional<z.ZodNumber>;
6
- }, z.core.$strip>;
6
+ }, "strip", z.ZodTypeAny, {
7
+ offset?: number | undefined;
8
+ limit?: number | undefined;
9
+ }, {
10
+ offset?: number | undefined;
11
+ limit?: number | undefined;
12
+ }>;
7
13
  /**
8
14
  * List external integrations configured for the tenant
9
15
  */
@@ -5,28 +5,70 @@ export declare const SearchKnowledgeBaseSchema: z.ZodObject<{
5
5
  top_k: z.ZodOptional<z.ZodNumber>;
6
6
  min_score: z.ZodOptional<z.ZodNumber>;
7
7
  thread_id: z.ZodOptional<z.ZodString>;
8
- collections: z.ZodOptional<z.ZodArray<z.ZodString>>;
9
- document_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
10
- }, z.core.$strip>;
8
+ collections: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
9
+ document_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
10
+ }, "strip", z.ZodTypeAny, {
11
+ query: string;
12
+ thread_id?: string | undefined;
13
+ top_k?: number | undefined;
14
+ min_score?: number | undefined;
15
+ collections?: string[] | undefined;
16
+ document_ids?: string[] | undefined;
17
+ }, {
18
+ query: string;
19
+ thread_id?: string | undefined;
20
+ top_k?: number | undefined;
21
+ min_score?: number | undefined;
22
+ collections?: string[] | undefined;
23
+ document_ids?: string[] | undefined;
24
+ }>;
11
25
  export declare const ListCollectionsSchema: z.ZodObject<{
12
26
  limit: z.ZodOptional<z.ZodNumber>;
13
27
  offset: z.ZodOptional<z.ZodNumber>;
14
- }, z.core.$strip>;
28
+ }, "strip", z.ZodTypeAny, {
29
+ offset?: number | undefined;
30
+ limit?: number | undefined;
31
+ }, {
32
+ offset?: number | undefined;
33
+ limit?: number | undefined;
34
+ }>;
15
35
  export declare const ListDocumentsSchema: z.ZodObject<{
16
36
  limit: z.ZodOptional<z.ZodNumber>;
17
37
  offset: z.ZodOptional<z.ZodNumber>;
18
38
  filters: z.ZodOptional<z.ZodString>;
19
- }, z.core.$strip>;
39
+ }, "strip", z.ZodTypeAny, {
40
+ filters?: string | undefined;
41
+ offset?: number | undefined;
42
+ limit?: number | undefined;
43
+ }, {
44
+ filters?: string | undefined;
45
+ offset?: number | undefined;
46
+ limit?: number | undefined;
47
+ }>;
20
48
  export declare const GetDocumentContentSchema: z.ZodObject<{
21
49
  document_id: z.ZodString;
22
- }, z.core.$strip>;
50
+ }, "strip", z.ZodTypeAny, {
51
+ document_id: string;
52
+ }, {
53
+ document_id: string;
54
+ }>;
23
55
  export declare const GetDocumentDownloadUrlSchema: z.ZodObject<{
24
56
  document_id: z.ZodString;
25
- }, z.core.$strip>;
57
+ }, "strip", z.ZodTypeAny, {
58
+ document_id: string;
59
+ }, {
60
+ document_id: string;
61
+ }>;
26
62
  export declare const StructuredQueryDocumentSchema: z.ZodObject<{
27
63
  document_id: z.ZodString;
28
64
  query: z.ZodString;
29
- }, z.core.$strip>;
65
+ }, "strip", z.ZodTypeAny, {
66
+ query: string;
67
+ document_id: string;
68
+ }, {
69
+ query: string;
70
+ document_id: string;
71
+ }>;
30
72
  export declare function searchKnowledgeBase(client: RadSecurityClient, query: string, topK?: number, minScore?: number, threadId?: string, collections?: string[], documentIds?: string[]): Promise<any>;
31
73
  export declare function listCollections(client: RadSecurityClient, limit?: number, offset?: number): Promise<any>;
32
74
  export declare function listDocuments(client: RadSecurityClient, limit?: number, offset?: number, filters?: string): Promise<any>;
@@ -3,13 +3,31 @@ import { RadSecurityClient } from "../client.js";
3
3
  export declare const GetKubernetesResourceDetailsSchema: z.ZodObject<{
4
4
  cluster_id: z.ZodString;
5
5
  resource_uid: z.ZodString;
6
- }, z.core.$strip>;
6
+ }, "strip", z.ZodTypeAny, {
7
+ cluster_id: string;
8
+ resource_uid: string;
9
+ }, {
10
+ cluster_id: string;
11
+ resource_uid: string;
12
+ }>;
7
13
  export declare const ListKubernetesResourcesSchema: z.ZodObject<{
8
14
  namespace: z.ZodOptional<z.ZodString>;
9
- kinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
15
+ kinds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
10
16
  cluster_id: z.ZodOptional<z.ZodString>;
11
17
  page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
12
18
  page_size: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
13
- }, z.core.$strip>;
19
+ }, "strip", z.ZodTypeAny, {
20
+ page: number;
21
+ page_size: number;
22
+ namespace?: string | undefined;
23
+ cluster_id?: string | undefined;
24
+ kinds?: string[] | undefined;
25
+ }, {
26
+ namespace?: string | undefined;
27
+ cluster_id?: string | undefined;
28
+ page?: number | undefined;
29
+ page_size?: number | undefined;
30
+ kinds?: string[] | undefined;
31
+ }>;
14
32
  export declare function getKubernetesResourceDetails(client: RadSecurityClient, clusterId: string, resourceUid: string): Promise<any>;
15
33
  export declare function listKubernetesResources(client: RadSecurityClient, kinds: string[] | undefined, namespace?: string, clusterId?: string, page?: number, pageSize?: number): Promise<any>;
@@ -3,37 +3,61 @@ import { RadSecurityClient } from "../client.js";
3
3
  /**
4
4
  * Schema for listing available data types (discovery)
5
5
  */
6
- export declare const RadQLListDataTypesSchema: z.ZodObject<{}, z.core.$strip>;
6
+ export declare const RadQLListDataTypesSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
7
7
  /**
8
8
  * Schema for getting metadata about a specific data type (schema discovery)
9
9
  */
10
10
  export declare const RadQLGetTypeMetadataSchema: z.ZodObject<{
11
11
  data_type: z.ZodString;
12
- }, z.core.$strip>;
12
+ }, "strip", z.ZodTypeAny, {
13
+ data_type: string;
14
+ }, {
15
+ data_type: string;
16
+ }>;
13
17
  /**
14
18
  * Schema for listing filter values for a field (enum discovery)
15
19
  */
16
20
  export declare const RadQLListFilterValuesSchema: z.ZodObject<{
17
21
  data_type: z.ZodString;
18
22
  filter_name: z.ZodString;
19
- }, z.core.$strip>;
23
+ }, "strip", z.ZodTypeAny, {
24
+ data_type: string;
25
+ filter_name: string;
26
+ }, {
27
+ data_type: string;
28
+ filter_name: string;
29
+ }>;
20
30
  /**
21
31
  * Main RadQL query schema for executing queries against the Data API
22
32
  */
23
33
  export declare const RadQLQuerySchema: z.ZodObject<{
24
34
  data_type: z.ZodString;
25
- operation: z.ZodEnum<{
26
- list: "list";
27
- get_by_id: "get_by_id";
28
- stats: "stats";
29
- }>;
35
+ operation: z.ZodEnum<["list", "get_by_id", "stats"]>;
30
36
  filters_query: z.ZodOptional<z.ZodString>;
31
37
  stats_query: z.ZodOptional<z.ZodString>;
32
38
  id: z.ZodOptional<z.ZodString>;
33
39
  limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
34
40
  offset: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
35
- include_relations: z.ZodOptional<z.ZodArray<z.ZodString>>;
36
- }, z.core.$strip>;
41
+ include_relations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
42
+ }, "strip", z.ZodTypeAny, {
43
+ offset: number;
44
+ limit: number;
45
+ data_type: string;
46
+ operation: "list" | "get_by_id" | "stats";
47
+ id?: string | undefined;
48
+ filters_query?: string | undefined;
49
+ stats_query?: string | undefined;
50
+ include_relations?: string[] | undefined;
51
+ }, {
52
+ data_type: string;
53
+ operation: "list" | "get_by_id" | "stats";
54
+ offset?: number | undefined;
55
+ limit?: number | undefined;
56
+ id?: string | undefined;
57
+ filters_query?: string | undefined;
58
+ stats_query?: string | undefined;
59
+ include_relations?: string[] | undefined;
60
+ }>;
37
61
  /**
38
62
  * Helper schema for building RadQL queries programmatically
39
63
  */
@@ -41,65 +65,107 @@ export declare const RadQLQueryBuilderSchema: z.ZodObject<{
41
65
  data_type: z.ZodString;
42
66
  conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
43
67
  field: z.ZodString;
44
- operator: z.ZodEnum<{
45
- ":": ":";
46
- "=": "=";
47
- "!=": "!=";
48
- "!:": "!:";
49
- "<>": "<>";
50
- ">": ">";
51
- ">=": ">=";
52
- "<": "<";
53
- "<=": "<=";
54
- contains: "contains";
55
- starts_with: "starts_with";
56
- ends_with: "ends_with";
57
- }>;
58
- value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
68
+ operator: z.ZodEnum<[":", "=", "!=", "!:", "<>", ">", ">=", "<", "<=", "contains", "starts_with", "ends_with"]>;
69
+ value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>;
59
70
  negate: z.ZodOptional<z.ZodBoolean>;
60
- }, z.core.$strip>>>;
61
- logic: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
62
- AND: "AND";
63
- OR: "OR";
64
- }>>>;
65
- aggregation: z.ZodOptional<z.ZodEnum<{
66
- count: "count";
67
- sum: "sum";
68
- avg: "avg";
69
- min: "min";
70
- max: "max";
71
- median: "median";
72
- }>>;
71
+ }, "strip", z.ZodTypeAny, {
72
+ value: string | number | boolean;
73
+ field: string;
74
+ operator: ":" | "=" | "!=" | "!:" | "<>" | ">" | ">=" | "<" | "<=" | "contains" | "starts_with" | "ends_with";
75
+ negate?: boolean | undefined;
76
+ }, {
77
+ value: string | number | boolean;
78
+ field: string;
79
+ operator: ":" | "=" | "!=" | "!:" | "<>" | ">" | ">=" | "<" | "<=" | "contains" | "starts_with" | "ends_with";
80
+ negate?: boolean | undefined;
81
+ }>, "many">>;
82
+ logic: z.ZodDefault<z.ZodOptional<z.ZodEnum<["AND", "OR"]>>>;
83
+ aggregation: z.ZodOptional<z.ZodEnum<["count", "sum", "avg", "min", "max", "median"]>>;
73
84
  aggregate_field: z.ZodOptional<z.ZodString>;
74
- group_by: z.ZodOptional<z.ZodArray<z.ZodString>>;
75
- time_group: z.ZodOptional<z.ZodEnum<{
76
- second: "second";
77
- minute: "minute";
78
- hour: "hour";
79
- day: "day";
80
- month: "month";
81
- year: "year";
82
- }>>;
83
- }, z.core.$strip>;
85
+ group_by: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
86
+ time_group: z.ZodOptional<z.ZodEnum<["second", "minute", "hour", "day", "month", "year"]>>;
87
+ }, "strip", z.ZodTypeAny, {
88
+ data_type: string;
89
+ logic: "AND" | "OR";
90
+ conditions?: {
91
+ value: string | number | boolean;
92
+ field: string;
93
+ operator: ":" | "=" | "!=" | "!:" | "<>" | ">" | ">=" | "<" | "<=" | "contains" | "starts_with" | "ends_with";
94
+ negate?: boolean | undefined;
95
+ }[] | undefined;
96
+ aggregation?: "count" | "sum" | "avg" | "min" | "max" | "median" | undefined;
97
+ aggregate_field?: string | undefined;
98
+ group_by?: string[] | undefined;
99
+ time_group?: "second" | "minute" | "hour" | "day" | "month" | "year" | undefined;
100
+ }, {
101
+ data_type: string;
102
+ conditions?: {
103
+ value: string | number | boolean;
104
+ field: string;
105
+ operator: ":" | "=" | "!=" | "!:" | "<>" | ">" | ">=" | "<" | "<=" | "contains" | "starts_with" | "ends_with";
106
+ negate?: boolean | undefined;
107
+ }[] | undefined;
108
+ logic?: "AND" | "OR" | undefined;
109
+ aggregation?: "count" | "sum" | "avg" | "min" | "max" | "median" | undefined;
110
+ aggregate_field?: string | undefined;
111
+ group_by?: string[] | undefined;
112
+ time_group?: "second" | "minute" | "hour" | "day" | "month" | "year" | undefined;
113
+ }>;
84
114
  /**
85
115
  * Batch query schema for executing multiple queries in parallel
86
116
  */
87
117
  export declare const RadQLBatchQuerySchema: z.ZodObject<{
88
118
  queries: z.ZodArray<z.ZodObject<{
89
119
  data_type: z.ZodString;
90
- operation: z.ZodEnum<{
91
- list: "list";
92
- get_by_id: "get_by_id";
93
- stats: "stats";
94
- }>;
120
+ operation: z.ZodEnum<["list", "get_by_id", "stats"]>;
95
121
  filters_query: z.ZodOptional<z.ZodString>;
96
122
  stats_query: z.ZodOptional<z.ZodString>;
97
123
  id: z.ZodOptional<z.ZodString>;
98
124
  limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
99
125
  offset: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
100
- include_relations: z.ZodOptional<z.ZodArray<z.ZodString>>;
101
- }, z.core.$strip>>;
102
- }, z.core.$strip>;
126
+ include_relations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
127
+ }, "strip", z.ZodTypeAny, {
128
+ offset: number;
129
+ limit: number;
130
+ data_type: string;
131
+ operation: "list" | "get_by_id" | "stats";
132
+ id?: string | undefined;
133
+ filters_query?: string | undefined;
134
+ stats_query?: string | undefined;
135
+ include_relations?: string[] | undefined;
136
+ }, {
137
+ data_type: string;
138
+ operation: "list" | "get_by_id" | "stats";
139
+ offset?: number | undefined;
140
+ limit?: number | undefined;
141
+ id?: string | undefined;
142
+ filters_query?: string | undefined;
143
+ stats_query?: string | undefined;
144
+ include_relations?: string[] | undefined;
145
+ }>, "many">;
146
+ }, "strip", z.ZodTypeAny, {
147
+ queries: {
148
+ offset: number;
149
+ limit: number;
150
+ data_type: string;
151
+ operation: "list" | "get_by_id" | "stats";
152
+ id?: string | undefined;
153
+ filters_query?: string | undefined;
154
+ stats_query?: string | undefined;
155
+ include_relations?: string[] | undefined;
156
+ }[];
157
+ }, {
158
+ queries: {
159
+ data_type: string;
160
+ operation: "list" | "get_by_id" | "stats";
161
+ offset?: number | undefined;
162
+ limit?: number | undefined;
163
+ id?: string | undefined;
164
+ filters_query?: string | undefined;
165
+ stats_query?: string | undefined;
166
+ include_relations?: string[] | undefined;
167
+ }[];
168
+ }>;
103
169
  /**
104
170
  * List all available data types that can be queried
105
171
  */
@@ -1,15 +1,29 @@
1
1
  import { z } from "zod";
2
2
  import { RadSecurityClient } from "../client.js";
3
3
  export declare const GetContainersProcessTreesSchema: z.ZodObject<{
4
- container_ids: z.ZodArray<z.ZodString>;
4
+ container_ids: z.ZodArray<z.ZodString, "many">;
5
5
  processes_limit: z.ZodDefault<z.ZodNumber>;
6
- }, z.core.$strip>;
6
+ }, "strip", z.ZodTypeAny, {
7
+ container_ids: string[];
8
+ processes_limit: number;
9
+ }, {
10
+ container_ids: string[];
11
+ processes_limit?: number | undefined;
12
+ }>;
7
13
  export declare const GetContainersBaselinesSchema: z.ZodObject<{
8
- container_ids: z.ZodArray<z.ZodString>;
9
- }, z.core.$strip>;
14
+ container_ids: z.ZodArray<z.ZodString, "many">;
15
+ }, "strip", z.ZodTypeAny, {
16
+ container_ids: string[];
17
+ }, {
18
+ container_ids: string[];
19
+ }>;
10
20
  export declare const GetContainerLLMAnalysisSchema: z.ZodObject<{
11
21
  container_id: z.ZodString;
12
- }, z.core.$strip>;
22
+ }, "strip", z.ZodTypeAny, {
23
+ container_id: string;
24
+ }, {
25
+ container_id: string;
26
+ }>;
13
27
  export declare function getContainersBaselines(client: RadSecurityClient, containerIds: string[]): Promise<any>;
14
28
  export declare function getContainersProcessTrees(client: RadSecurityClient, containerIds: string[], processesLimit?: number): Promise<any>;
15
29
  export declare function getContainerLLMAnalysis(client: RadSecurityClient, containerId: string): Promise<any>;
@@ -2,23 +2,49 @@ import { z } from "zod";
2
2
  import { RadSecurityClient } from "../client.js";
3
3
  export declare const ListWorkflowRunsSchema: z.ZodObject<{
4
4
  workflow_id: z.ZodString;
5
- }, z.core.$strip>;
5
+ }, "strip", z.ZodTypeAny, {
6
+ workflow_id: string;
7
+ }, {
8
+ workflow_id: string;
9
+ }>;
6
10
  export declare const GetWorkflowRunSchema: z.ZodObject<{
7
11
  workflow_id: z.ZodString;
8
12
  run_id: z.ZodString;
9
- }, z.core.$strip>;
13
+ }, "strip", z.ZodTypeAny, {
14
+ workflow_id: string;
15
+ run_id: string;
16
+ }, {
17
+ workflow_id: string;
18
+ run_id: string;
19
+ }>;
10
20
  export declare const RunWorkflowSchema: z.ZodObject<{
11
21
  workflow_id: z.ZodString;
12
22
  async: z.ZodDefault<z.ZodBoolean>;
13
23
  args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
14
- }, z.core.$strip>;
24
+ }, "strip", z.ZodTypeAny, {
25
+ workflow_id: string;
26
+ async: boolean;
27
+ args?: Record<string, any> | undefined;
28
+ }, {
29
+ workflow_id: string;
30
+ async?: boolean | undefined;
31
+ args?: Record<string, any> | undefined;
32
+ }>;
15
33
  export declare const GetWorkflowSchema: z.ZodObject<{
16
34
  workflow_id: z.ZodString;
17
- }, z.core.$strip>;
35
+ }, "strip", z.ZodTypeAny, {
36
+ workflow_id: string;
37
+ }, {
38
+ workflow_id: string;
39
+ }>;
18
40
  export declare const ListWorkflowSchedulesSchema: z.ZodObject<{
19
41
  workflow_id: z.ZodString;
20
- }, z.core.$strip>;
21
- export declare const ListWorkflowsSchema: z.ZodObject<{}, z.core.$strip>;
42
+ }, "strip", z.ZodTypeAny, {
43
+ workflow_id: string;
44
+ }, {
45
+ workflow_id: string;
46
+ }>;
47
+ export declare const ListWorkflowsSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
22
48
  /**
23
49
  * List workflow runs
24
50
  */
@@ -10,7 +10,7 @@ export const GetWorkflowRunSchema = z.object({
10
10
  export const RunWorkflowSchema = z.object({
11
11
  workflow_id: z.string().describe("ID of the workflow to run"),
12
12
  async: z.boolean().default(true).describe("If true, run asynchronously and return immediately. If false, wait for the workflow to finish."),
13
- args: z.record(z.string(), z.any()).optional().describe("Optional arguments to override when running the workflow"),
13
+ args: z.record(z.any()).optional().describe("Optional arguments to override when running the workflow"),
14
14
  });
15
15
  export const GetWorkflowSchema = z.object({
16
16
  workflow_id: z.string().describe("ID of the workflow to get"),
@@ -1 +1 @@
1
- {"version":3,"file":"workflows.js","sourceRoot":"","sources":["../../src/operations/workflows.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAExC,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC7C,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,qCAAqC,CAAC;CACxE,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3C,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,oBAAoB,CAAC;IACtD,M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GAAG,WAAW,EAAE,CAAC;YACzC,MAAM,IAAI,KAAK,CACb,YAAY,UAAU,QAAQ,KAAK,0BAA0B,WAAW,GAAG,IAAI,wBAAwB,UAAU,CAAC,IAAI,EAAE,CACzH,CAAC;QACJ,CAAC;QAED,4BAA4B;QAC5B,MAAM,IAAI,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC,UAAU,CAAC,OAAO,EAAE,YAAY,CAAC,CAAC,CAAC;IAClE,CAAC;AACH,CAAC;AAED;;GAEG;AACH,MAAM,CAAC,KAAK,UAAU,qBAAqB,CACzC,MAAyB,EACzB,UAAkB;IAElB,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,WAAW,CACvC,OAAO,CAAA,aAAa,MAAM,CAAC,YAAY,EAAE,cAAc,UAAU,YAAY,CAC9E,CAAC;IAEF,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED;;GAEG;AACH,MAAM,CAAC,KAAK,UAAU,aAAa,CACjC,MAAyB;IAEzB,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,WAAW,CACvC,OAAO,CAAA,aAAa,MAAM,CAAC,YAAY,EAAE,YAAY,CACtD,CAAC;IAEF,OAAO,QAAQ,CAAC;AAClB,CAAC"}
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const VERSION = "0.0.47-2.gb9dd8b4";
1
+ export declare const VERSION = "0.0.47";
package/dist/version.js CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = "0.0.47-2.gb9dd8b4";
1
+ export const VERSION = "0.0.47";
2
2
  //# sourceMappingURL=version.js.map