@knowttl/artium-axi 0.0.39 → 0.0.41

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.
Files changed (2) hide show
  1. package/bin/artium-axi.mjs +39 -9
  2. package/package.json +1 -1
@@ -43,7 +43,7 @@ var init_package = __esm({
43
43
  "package.json"() {
44
44
  package_default = {
45
45
  name: "artium-axi",
46
- version: "0.0.39",
46
+ version: "0.0.41",
47
47
  private: true,
48
48
  license: "MIT",
49
49
  type: "module",
@@ -27469,12 +27469,12 @@ var init_falcon_axi = __esm({
27469
27469
  generatedBy: "scripts/falcon-inventory.ts",
27470
27470
  tool: "falcon-axi",
27471
27471
  package: "@knowttl/falcon-axi",
27472
- version: "1.0.0",
27473
- integrity: "sha512-rHVLT59C2bkYsRAPuajWFd8SNRFegBj0QGsiyuSJcNrOrzrjT6YiNoVQrGHBcJoYwL7MgouOwJtch9G+Z1lK3A==",
27472
+ version: "1.0.1",
27473
+ integrity: "sha512-XG1EI5FLS5w2CwaZ+MgJwNFV9TIRwAuuK+vzlQOSRpgAD6N3hxjYhIdXa+tEe6/tVp26aaNwEabaVMHdAJ6aNQ==",
27474
27474
  sources: [
27475
27475
  {
27476
27476
  path: "package.json",
27477
- sha256: "4c12d655c238db9a7d810e48cada2bcdcfcd89d12ff03030c503e1e066dd1a1b"
27477
+ sha256: "fff703a0d9831ef3fef1167b1139f1a08c36e9f8c5225af2a0d72c289acc0227"
27478
27478
  },
27479
27479
  {
27480
27480
  path: "artium-invocations.json",
@@ -27510,7 +27510,7 @@ var init_falcon_axi = __esm({
27510
27510
  },
27511
27511
  {
27512
27512
  path: ".typescript-build/src/credentials.js",
27513
- sha256: "3e5e9b650b0ede9c9102d91a9b043bcc768f2695f2190fa9e75f08fe4adbebb4"
27513
+ sha256: "ea0e57b3c671735de108d61c5917ed8d3740248cee28363e29663bc1c6c8aab2"
27514
27514
  },
27515
27515
  {
27516
27516
  path: ".typescript-build/src/cursor.js",
@@ -27650,11 +27650,11 @@ var init_falcon_axi = __esm({
27650
27650
  },
27651
27651
  {
27652
27652
  path: ".typescript-build/src/version.js",
27653
- sha256: "a12b0c6b8ead9495b7f81c4ee5ae4a51a1a3fe67c66c3274fa1a25cc2c4353fc"
27653
+ sha256: "c74c929111afb62230c4083d9645fe76aa477121367b30aae34e4e0e1dafd24c"
27654
27654
  },
27655
27655
  {
27656
27656
  path: ".typescript-build/src/windows-acl.js",
27657
- sha256: "b377dd66925049780540dd3ab4f2c539a6ba28e2e71aa15c6d806f34dfd7728b"
27657
+ sha256: "3bd31832901ce28f5d6cba8dbe1e22853fdc38bbef3b00b9eb262396f1ac2d58"
27658
27658
  },
27659
27659
  {
27660
27660
  path: "native/prebuilds/linux-x64.node",
@@ -46136,7 +46136,7 @@ function transferRoutesFor(tool) {
46136
46136
  function decodedFileBytes(value) {
46137
46137
  return value.length / 4 * 3 - (value.endsWith("==") ? 2 : value.endsWith("=") ? 1 : 0);
46138
46138
  }
46139
- var inputLimits, transferLimits, transferWarning, sha256Schema, sampleSha256Schema, reportIdSchema, transferOwnerIdSchema, mailSelectorSchema, transferSelectionSchema, transferPrepareSchema, transferPrepareRequestSchema, transferIdSchema, transferScopeSchema, transferPreviewSchema, transferExecuteSchema, transferRetrieveSchema, transferOutcomeSchema, transferSaveOutcomeSchema, transferArchiveSchema, transferReceiptSchema, transferEvidenceSchema, transferStatusSchema, transferRoutes, transferAuditSchema, byteLength, passwordSchema, passwordChangeSchema, loginSchema, refreshSchema, reauthSchema, reauthResponseSchema, loginResponseSchema, deviceUserCodeSchema, devicePollSchema, deviceStartResponseSchema, devicePollResponseSchema, ssoReauthSchema, ssoReauthResponseSchema, accountId, toolSchema, delegationScopeSchema, meResponseSchema, createDelegationSchema, delegatedExchangeSchema, createdDelegationSchema, skillsResponseSchema, adminUserSchema, adminPageQuerySchema, adminUsersQuerySchema, adminUsersResponseSchema, adminUserDetailSchema, adminUserCreateSchema, adminUserPatchSchema, adminUserUnlockSchema, adminUserResetSchema, adminUserParamsSchema, userSessionsSchema, sessionParamsSchema, emptyInputSchema, revokedSchema, adminUserRoutes, text, auditCursorSchema, auditFiltersSchema, orderedAuditRange, adminAuditQuerySchema, adminAuditExportRoute, adminAuditRecordSchema, adminAuditRoute, falconRtrSettingsSchema, ghWriteOperations, falconWriteOperations, unifiWriteOperations, proxmoxWriteOperations, technitiumWriteOperations, nativeSettingsSchemas, diagnosticSchema, healthSchema, toolWriteStateSchema, writeAccessInputSchema, adminToolSchema, adminCredentialSchema, adminToolParamsSchema, adminInstanceParamsSchema, adminInstanceSchema, certificateDetailsSchema, certificateInspectionSchema, trustedCredentialCertificateSchema, adminCertificateRoutes, githubConnectionInput, githubDeviceRoutes, adminToolRoutes, instanceBase, instanceRevisions, adminInstanceRoutes, oidcIssuerSchema, providerSettings, entraSettings, oidcSettings, providerSettingsSchema, providerFields, adminProviderSchema, adminProviderCredentialSchema, adminProviderRoutes, roleRuleSettingsSchema, adminRoleRuleSchema, adminRoleRuleRoutes, invitationLifetimeSchema, adminInvitationSchema, invitationLinkSchema, adminInvitationRoutes, adminRoleSchema, adminRolesResponseSchema, adminRoleRoutes, adminRoleToolParamsSchema, toolsResponseSchema, inputFileSchema, runInputSchema, runRequestSchema, counts, runSuccessSchema, errorResponseSchema, runResponseSchema;
46139
+ var inputLimits, transferLimits, transferWarning, sha256Schema, sampleSha256Schema, reportIdSchema, transferOwnerIdSchema, mailSelectorSchema, transferSelectionSchema, transferPrepareSchema, transferPrepareRequestSchema, transferIdSchema, transferScopeSchema, transferPreviewSchema, transferExecuteSchema, transferRetrieveSchema, transferOutcomeSchema, transferSaveOutcomeSchema, transferArchiveSchema, transferReceiptSchema, transferEvidenceSchema, transferStatusSchema, transferRoutes, transferAuditSchema, byteLength, passwordSchema, passwordChangeSchema, loginSchema, refreshSchema, reauthSchema, reauthResponseSchema, loginResponseSchema, deviceUserCodeSchema, devicePollSchema, deviceStartResponseSchema, devicePollResponseSchema, ssoReauthSchema, ssoReauthResponseSchema, accountId, toolSchema, delegationScopeSchema, meResponseSchema, createDelegationSchema, delegatedExchangeSchema, createdDelegationSchema, skillsResponseSchema, adminUserSchema, adminPageQuerySchema, adminUsersQuerySchema, adminUsersResponseSchema, adminUserDetailSchema, adminUserCreateSchema, adminUserPatchSchema, adminUserUnlockSchema, adminUserResetSchema, adminUserParamsSchema, userSessionsSchema, sessionParamsSchema, emptyInputSchema, revokedSchema, adminUserRoutes, text, auditCursorSchema, auditFiltersSchema, orderedAuditRange, adminAuditQuerySchema, adminAuditExportRoute, adminAuditRecordSchema, adminAuditRoute, falconRtrSettingsSchema, ghWriteOperations, falconWriteOperations, unifiWriteOperations, proxmoxWriteOperations, technitiumWriteOperations, nativeSettingsSchemas, diagnosticSchema, healthSchema, toolWriteStateSchema, writeAccessInputSchema, rawApiModeSchema, toolRawApiSchema, adminToolSchema, adminCredentialSchema, adminToolParamsSchema, adminInstanceParamsSchema, adminInstanceSchema, certificateDetailsSchema, certificateInspectionSchema, trustedCredentialCertificateSchema, adminCertificateRoutes, githubConnectionInput, githubDeviceRoutes, adminToolRoutes, instanceBase, instanceRevisions, adminInstanceRoutes, oidcIssuerSchema, providerSettings, entraSettings, oidcSettings, providerSettingsSchema, providerFields, adminProviderSchema, adminProviderCredentialSchema, adminProviderRoutes, roleRuleSettingsSchema, adminRoleRuleSchema, adminRoleRuleRoutes, invitationLifetimeSchema, adminInvitationSchema, invitationLinkSchema, adminInvitationRoutes, adminRoleSchema, adminRolesResponseSchema, adminRoleRoutes, adminRoleToolParamsSchema, toolsResponseSchema, inputFileSchema, runInputSchema, runRequestSchema, counts, runSuccessSchema, errorResponseSchema, runResponseSchema;
46140
46140
  var init_api2 = __esm({
46141
46141
  "src/shared/api.ts"() {
46142
46142
  "use strict";
@@ -46740,11 +46740,14 @@ var init_api2 = __esm({
46740
46740
  operations: external_exports.array(external_exports.string().min(1).max(256)).max(Math.max(126, giteaWriteOperations.length)).refine((operations) => new Set(operations).size === operations.length).optional(),
46741
46741
  expectedRevision: external_exports.number().int().positive()
46742
46742
  });
46743
+ rawApiModeSchema = external_exports.enum(["off", "read", "read-writes"]);
46744
+ toolRawApiSchema = external_exports.strictObject({ mode: rawApiModeSchema, modes: external_exports.array(rawApiModeSchema) });
46743
46745
  adminToolSchema = external_exports.strictObject({
46744
46746
  name: toolSchema,
46745
46747
  enabled: external_exports.boolean(),
46746
46748
  version: external_exports.string(),
46747
46749
  writeAccess: toolWriteStateSchema,
46750
+ rawApi: toolRawApiSchema,
46748
46751
  readOnly: external_exports.boolean().default(true),
46749
46752
  nativeSettings: external_exports.record(external_exports.string(), external_exports.unknown()),
46750
46753
  revision: external_exports.number().int().positive(),
@@ -46899,6 +46902,14 @@ var init_api2 = __esm({
46899
46902
  authorization: "administrator-and-recent-auth",
46900
46903
  auditEvent: "tool-write-access"
46901
46904
  },
46905
+ rawApi: {
46906
+ method: "PATCH",
46907
+ path: "/v1/admin/tools/:tool/raw-api",
46908
+ input: external_exports.strictObject({ mode: rawApiModeSchema, expectedRevision: external_exports.number().int().positive() }),
46909
+ response: adminToolSchema,
46910
+ authorization: "administrator-and-recent-auth",
46911
+ auditEvent: null
46912
+ },
46902
46913
  list: {
46903
46914
  method: "GET",
46904
46915
  path: "/v1/admin/tools",
@@ -47221,6 +47232,7 @@ var init_api2 = __esm({
47221
47232
  name: external_exports.string().min(1),
47222
47233
  tools: external_exports.array(toolSchema),
47223
47234
  instanceGrants: external_exports.array(external_exports.strictObject({ tool: toolSchema, instances: external_exports.array(instanceNameSchema) })),
47235
+ rawApiTools: external_exports.array(toolSchema),
47224
47236
  revision: external_exports.number().int().positive(),
47225
47237
  updatedAt: external_exports.number().int().nullable(),
47226
47238
  updatedBy: accountId.nullable()
@@ -47294,6 +47306,14 @@ var init_api2 = __esm({
47294
47306
  response: adminRoleSchema,
47295
47307
  authorization: "administrator-and-recent-auth",
47296
47308
  auditEvent: "replace-role-tool-instances"
47309
+ },
47310
+ rawApi: {
47311
+ method: "PUT",
47312
+ path: "/v1/admin/roles/:id/tools/:tool/raw-api",
47313
+ input: external_exports.strictObject({ enabled: external_exports.boolean(), expectedRevision: external_exports.number().int().positive() }),
47314
+ response: adminRoleSchema,
47315
+ authorization: "administrator-and-recent-auth",
47316
+ auditEvent: null
47297
47317
  }
47298
47318
  };
47299
47319
  adminRoleToolParamsSchema = adminUserParamsSchema.extend({ tool: toolSchema });
@@ -54809,6 +54829,10 @@ var init_mg_axi = __esm({
54809
54829
  "doctor",
54810
54830
  "entra",
54811
54831
  "api get",
54832
+ "api post",
54833
+ "api put",
54834
+ "api patch",
54835
+ "api delete",
54812
54836
  "security hunting query",
54813
54837
  "mail folder list",
54814
54838
  "mail folder show",
@@ -54931,6 +54955,10 @@ var init_mg_axi = __esm({
54931
54955
  "doctor",
54932
54956
  "entra",
54933
54957
  "api get",
54958
+ "api post",
54959
+ "api put",
54960
+ "api patch",
54961
+ "api delete",
54934
54962
  "security hunting query",
54935
54963
  "mail folder list",
54936
54964
  "mail folder show",
@@ -54988,7 +55016,7 @@ var init_mg_axi = __esm({
54988
55016
  stdin: "cursor - only",
54989
55017
  files: "security hunting query or mail rule create/update only: one UTF-8 query.kql or rule.json upload, at most 64 KiB; fixed runner leaf name",
54990
55018
  cursor: "opaque token or stdin; never a path",
54991
- api: "reviewed GET routes only; pinned Graph destination and operation gates retained"
55019
+ api: "reviewed GET routes, plus POST, PUT, PATCH and DELETE only in the Raw API read-writes mode; pinned Graph destination, built-in denials and native write gates retained"
54992
55020
  },
54993
55021
  sensitiveFlags: [
54994
55022
  "cursor",
@@ -55007,6 +55035,8 @@ var init_mg_axi = __esm({
55007
55035
  "remove",
55008
55036
  "name",
55009
55037
  "odata",
55038
+ "body",
55039
+ "query",
55010
55040
  "conditions",
55011
55041
  "grant-controls",
55012
55042
  "session-controls",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knowttl/artium-axi",
3
- "version": "0.0.39",
3
+ "version": "0.0.41",
4
4
  "description": "Client CLI and embedded skill for the Artium managed tools server.",
5
5
  "license": "MIT",
6
6
  "type": "module",