@binalyze/air-sdk 5.25.2 → 5.26.3
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/README.md +1 -1
- package/dist/domains/acquisitions.js +1 -1
- package/dist/domains/acquisitions.js.map +1 -1
- package/dist/domains/assets.js +10 -10
- package/dist/domains/assets.js.map +1 -1
- package/dist/domains/cases.js +1 -1
- package/dist/domains/cases.js.map +1 -1
- package/dist/sdk/typescript-axios/sdk.gen.d.ts +179 -74
- package/dist/sdk/typescript-axios/sdk.gen.js +663 -127
- package/dist/sdk/typescript-axios/sdk.gen.js.map +1 -1
- package/dist/sdk/typescript-axios/types.gen.d.ts +9073 -1341
- package/dist/sdk/typescript-axios-v2/sdk.gen.d.ts +101 -1
- package/dist/sdk/typescript-axios-v2/sdk.gen.js +513 -4
- package/dist/sdk/typescript-axios-v2/sdk.gen.js.map +1 -1
- package/dist/sdk/typescript-axios-v2/types.gen.d.ts +5220 -700
- package/dist/types/assets.d.ts +13 -13
- package/dist/types/interact.d.ts +1 -1
- package/dist/types/organization.d.ts +1 -1
- package/dist/utils/builders.d.ts +4 -4
- package/dist/utils/builders.js.map +1 -1
- package/package.json +1 -1
|
@@ -2,21 +2,22 @@
|
|
|
2
2
|
// @ts-nocheck
|
|
3
3
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.endpointSearch1 = exports.endpointSearch0 = exports.endpointFilterByPolicyFilter1 = exports.endpointFilterByPolicyFilter0 = exports.endpointFilterDisks1 = exports.endpointFilterDisks0 = exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.settingsValidateIpRestriction = exports.settingsSaveCaseAutoClose = exports.settingsSaveFleetAi = exports.settingsSaveInterAct = exports.settingsSaveAutoAssetTagging = exports.settingsSaveEnforceTfa = exports.settingsSaveAgent = exports.settingsValidateS3 = exports.settingsValidateSftp = exports.settingsSaveBackupRestore = exports.settingsSavePolicy = exports.settingsValidateSsl = exports.settingsSaveSsl = exports.settingsValidateSmtp = exports.settingsSaveSmtp = exports.settingsValidateSyslog = exports.settingsSaveSyslog = exports.settingsGetSyslogEventTypes = exports.settingsValidateActiveDirectory = exports.settingsSaveActiveDirectory = exports.settingsValidateTrustedCertificate = exports.settingsDeleteTrustedCertificate = exports.settingsAddTrustedCertificateWithoutValidation = exports.settingsAddTrustedCertificate = exports.settingsGetTrustedCertificates = exports.settingsTestProxy1 = exports.settingsTestProxy0 = exports.settingsSaveProxy = exports.settingsSaveGeneralSettings = exports.settingsGetSettings = exports.tasksTriageV2ApiControllerDeleteOne = exports.tasksTriageV2ApiControllerCancelOne = exports.tasksTriageV2ApiControllerDelete = exports.tasksTriageV2ApiControllerCancel = exports.tasksTriageV2ApiControllerListHuntTasks = exports.tasksV2ApiControllerListTaskAssignments = exports.tasksV2ApiControllerListTaskAssets = exports.tasksV2ApiControllerUpdateTask = exports.tasksV2ApiControllerGetTaskById = exports.taskAssignmentGenerateTaskAssignmentReport = exports.taskAssignmentGet = exports.taskAssignmentDelete = exports.taskAssignmentCancel = exports.tasksAssignmentsGetMany = exports.endpointTaskGetComparableTasksByVendorDeviceId = exports.endpointTaskRetryUpload1 = exports.endpointTaskRetryUpload0 = exports.endpointTaskPurgeLocalData1 = exports.endpointTaskPurgeLocalData0 = exports.
|
|
5
|
+
exports.endpointSearch1 = exports.endpointSearch0 = exports.endpointFilterByPolicyFilter1 = exports.endpointFilterByPolicyFilter0 = exports.endpointFilterDisks1 = exports.endpointFilterDisks0 = exports.assetsSetMitreAttackDatabaseVersionPostAssetsMitreAttackDatabaseVersion = exports.assetsSetMitreAttackDatabaseVersionPostEndpointsMitreAttackDatabaseVersion = exports.assetsAddTagsPostAssetsTags = exports.assetsRemoveTagsDeleteAssetsTags = exports.assetsAddTagsPostEndpointsTags = exports.assetsRemoveTagsDeleteEndpointsTags = exports.endpointPurgeAssetDataByFilter1 = exports.endpointPurgeAssetDataByFilter0 = exports.endpointUninstallEndpointsByFilter1 = exports.endpointUninstallEndpointsByFilter0 = exports.endpointUninstallAgentsAndPurgeByFilter2 = exports.endpointUninstallAgentsAndPurgeByFilter1 = exports.endpointUninstallAgentsAndPurgeByFilter0 = exports.endpointImportPpcToExistedEndpoint1 = exports.endpointImportPpcToExistedEndpoint0 = exports.endpointImportPpcAsEndpoint1 = exports.endpointImportPpcAsEndpoint0 = exports.assetsGetManyGetAssetsById = exports.assetsGetManyGetEndpointsById = exports.endpointGetDeviceNameConflicts1 = exports.endpointGetDeviceNameConflicts0 = exports.endpointGetEndpointsWithTaskCount = exports.assetsGetManyByFilterExpressionPostAssetsFilterQuery = exports.assetsGetManyByFilterExpressionPostEndpointsFilterQuery = exports.assetsGetManyByFilterPostAssetsFilter = exports.assetsGetManyByFilterPostEndpointsFilter = exports.assetsGetManyGetAssets = exports.assetsGetManyGetEndpoints = exports.assetsUpdateLabelPatchAssetsByIdLabel = exports.assetsUpdateLabelPatchEndpointsByIdLabel = exports.assetsUpdateTagsPatchAssetsByIdTag = exports.assetsUpdateTagsPatchEndpointsByIdTag = exports.endpointExportEndpoints1 = exports.endpointExportEndpoints0 = exports.openApiAliasV2ApiControllerGet = exports.capabilitiesV2ApiControllerGet = exports.paramsGetMitreAttackTactics = exports.paramsEvidenceList = exports.paramsEventLogRecordTypes = exports.paramsEDiscoveryPatterns = exports.paramsGetDroneDefaultsV2 = exports.paramsGetDroneAnalyzers = exports.loggerDownloadLogsDir = exports.appGetBasicInfo = void 0;
|
|
6
|
+
exports.assetsGetTasksGetEndpointsByIdTasks = exports.assetsAssignIsolationTaskPostAssetsTasksIsolation = exports.assetsAssignIsolationTaskPostEndpointsTasksIsolation = exports.assetsAssignVersionUpdateTaskPostAssetsTasksVersionUpdate = exports.assetsAssignVersionUpdateTaskPostEndpointsTasksVersionUpdate = exports.endpointTaskAssignRetrieveLogTask1 = exports.endpointTaskAssignRetrieveLogTask0 = exports.assetsAssignShutdownTaskPostAssetsTasksShutdown = exports.assetsAssignShutdownTaskPostEndpointsTasksShutdown = exports.assetsAssignRebootTaskPostAssetsTasksReboot = exports.assetsAssignRebootTaskPostEndpointsTasksReboot = exports.taskGenerateOffNetworkZipPassword = exports.taskDownloadOffNetworkTask = exports.taskImportOffNetworkCollectionToTask = exports.taskCreateOffNetworkTask = exports.taskCancel = exports.taskCancelByFilter = exports.taskDeleteAndPurgeByFilter = exports.taskDeleteByFilter = exports.tasksGetData = exports.taskRenameTask = exports.tasksGetMany = exports.tasksGetById = exports.taskDelete = exports.getTaskDisplayTypes = exports.endpointGroupGetRootGroups = exports.endpointGroupGetChildGroupsOfGroup = exports.endpointTagRenameAssetTag = exports.endpointTagDeleteAssetTag = exports.endpointTagDeleteAllAssetTags = exports.endpointTagCreateAssetTag = exports.endpointTagFilterAssetTags = exports.endpointSetMaintenanceMode1 = exports.endpointSetMaintenanceMode0 = exports.endpointUpdateEndpointConnectionRoute1 = exports.endpointUpdateEndpointConnectionRoute0 = exports.endpointDeployCloudAssetsByFilter1 = exports.endpointDeployCloudAssetsByFilter0 = exports.endpointGetCloudAssetDetails1 = exports.endpointGetCloudAssetDetails0 = exports.endpointSyncLdap1 = exports.endpointSyncLdap0 = exports.endpointDownloadLogFile1 = exports.endpointDownloadLogFile0 = exports.endpointSetExcludeFromUpdatesToEndpointsByFilter1 = exports.endpointSetExcludeFromUpdatesToEndpointsByFilter0 = exports.endpointExportCasesByEndpointId1 = exports.endpointExportCasesByEndpointId0 = exports.endpointGetCasesById1 = exports.endpointGetCasesById0 = void 0;
|
|
7
|
+
exports.settingsValidateIpRestriction = exports.settingsSaveCaseAutoClose = exports.settingsSaveFleetAi = exports.settingsSaveInterAct = exports.settingsSaveAutoAssetTagging = exports.settingsSaveEnforceTfa = exports.settingsSaveAgent = exports.settingsValidateS3 = exports.settingsValidateSftp = exports.settingsSaveBackupRestore = exports.settingsSavePolicy = exports.settingsValidateSsl = exports.settingsSaveSsl = exports.settingsValidateSmtp = exports.settingsSaveSmtp = exports.settingsValidateSyslog = exports.settingsSaveSyslog = exports.settingsGetSyslogEventTypes = exports.settingsValidateActiveDirectory = exports.settingsSaveActiveDirectory = exports.settingsValidateTrustedCertificate = exports.settingsDeleteTrustedCertificate = exports.settingsAddTrustedCertificateWithoutValidation = exports.settingsAddTrustedCertificate = exports.settingsGetTrustedCertificates = exports.settingsTestProxy1 = exports.settingsTestProxy0 = exports.settingsSaveProxy = exports.settingsSaveGeneralSettings = exports.settingsGetSettings = exports.tasksTriageV2ApiControllerDeleteOne = exports.tasksTriageV2ApiControllerCancelOne = exports.tasksTriageV2ApiControllerDelete = exports.tasksTriageV2ApiControllerCancel = exports.tasksTriageV2ApiControllerListHuntTasks = exports.tasksV2ApiControllerListTaskAssignments = exports.tasksV2ApiControllerListTaskAssets = exports.tasksV2ApiControllerUpdateTask = exports.tasksV2ApiControllerGetTaskById = exports.taskAssignmentGenerateTaskAssignmentReport = exports.taskAssignmentGet = exports.taskAssignmentDelete = exports.taskAssignmentCancel = exports.tasksAssignmentsGetMany = exports.endpointTaskGetComparableTasksByVendorDeviceId = exports.endpointTaskRetryUpload1 = exports.endpointTaskRetryUpload0 = exports.endpointTaskPurgeLocalData1 = exports.endpointTaskPurgeLocalData0 = exports.assetsGetTasksGetAssetsByIdTasks = void 0;
|
|
8
8
|
exports.userGroupGetGroup = exports.userGroupDeleteGroup = exports.userGroupCreateGroup = exports.userGroupFilterGroups = exports.userRolesUpdateRole = exports.userRolesGetRole = exports.userRolesDeleteRole = exports.userRolesCreateRole = exports.userRolesGetRoles = exports.userRolesGetPrivileges = exports.userCreateApiUser = exports.userResetUserPassword = exports.userChangePassword = exports.userResetTfa = exports.userManagementUsersPurgeAndDelete = exports.userUpdateUser = exports.userPatchUser = exports.userManagementUsersGet = exports.userDelete = exports.userCreate = exports.userManagementUsersGetMany = exports.authGetUserSessionHistory = exports.authRegeneratePatToken = exports.authRenewOneClickLoginUrl = exports.authGenerateOneClickLoginUrl = exports.authLogin = exports.authOneClickLogin = exports.authUpdateProfile = exports.authCheckAuth = exports.settingsUpdateSsoProvider = exports.settingsDeleteSsoProvider = exports.settingsCreateSsoProvider = exports.settingsGetSsoProviders = exports.settingsSingleSignOnCallback = exports.settingsSaveMandatoryCaseSelection = exports.settingsGetMitreAttackDatabaseReleaseNotes = exports.settingsGetMitreAttackDatabaseVersions = exports.settingsSaveMitreAttackDatabaseSettings = exports.settingsGetAutoUpdateWindows = exports.settingsSaveAutoUpdateSettings = exports.settingsGetAutoUpdateSettings = exports.settingsRotateUninstallAuthorizationKey = exports.settingsGenerateUninstallCode = exports.settingsSaveUninstallationPasswordProtection = exports.settingsSaveBanner = exports.settingsSaveConsoleAddress = exports.settingsValidateConsoleAddress = exports.settingsSaveRfc3161 = exports.settingsSaveLocard = exports.settingsSaveIpRestriction = void 0;
|
|
9
|
-
exports.taxiiFeedsGetIndicators = exports.taxiiFeedsCreate = exports.taxiiFeedsGetMany = exports.gitRepositoriesGetRepositoryBranches = exports.gitRepositoriesTestConnection = exports.gitRepositoriesBrowseTree = exports.gitRepositoriesGetSyncLogs = exports.gitRepositoriesCancelSync = exports.gitRepositoriesTriggerSync = exports.gitRepositoriesBulkDelete = exports.gitRepositoriesUpdate = exports.gitRepositoriesGetOne = exports.gitRepositoriesDelete = exports.gitRepositoriesCreate = exports.gitRepositoriesGetMany = exports.publicDroneAnalyzerProfilesDeleteBulk = exports.publicDroneAnalyzerProfilesUpdate = exports.publicDroneAnalyzerProfilesGetOne = exports.publicDroneAnalyzerProfilesDelete = exports.publicDroneAnalyzerProfilesCreate = exports.publicDroneAnalyzerProfilesGetMany = exports.acquisitionLibraryDeviceV2ApiControllerUpdate = exports.acquisitionLibraryDeviceV2ApiControllerGet = exports.acquisitionLibraryDeviceV2ApiControllerDelete = exports.acquisitionLibraryDeviceV2ApiControllerBulkDelete = exports.acquisitionLibraryDeviceV2ApiControllerCreate = exports.acquisitionLibraryDeviceV2ApiControllerList = exports.acquisitionValidateOsQueries = exports.acquisitionUpdateScheduledImageAcquisition = exports.acquisitionUpdateScheduledEvidenceAcquisition = exports.acquisitionAcquireImage = exports.createOffNetworkAcquisitionTaskFile = exports.
|
|
9
|
+
exports.taxiiFeedsGetIndicators = exports.taxiiFeedsCreate = exports.taxiiFeedsGetMany = exports.gitRepositoriesGetRepositoryBranches = exports.gitRepositoriesTestConnection = exports.gitRepositoriesBrowseTree = exports.gitRepositoriesGetSyncLogs = exports.gitRepositoriesCancelSync = exports.gitRepositoriesTriggerSync = exports.gitRepositoriesBulkDelete = exports.gitRepositoriesUpdate = exports.gitRepositoriesGetOne = exports.gitRepositoriesDelete = exports.gitRepositoriesCreate = exports.gitRepositoriesGetMany = exports.publicDroneAnalyzerProfilesDeleteBulk = exports.publicDroneAnalyzerProfilesUpdate = exports.publicDroneAnalyzerProfilesGetOne = exports.publicDroneAnalyzerProfilesDelete = exports.publicDroneAnalyzerProfilesCreate = exports.publicDroneAnalyzerProfilesGetMany = exports.acquisitionLibraryDeviceV2ApiControllerUpdate = exports.acquisitionLibraryDeviceV2ApiControllerGet = exports.acquisitionLibraryDeviceV2ApiControllerDelete = exports.acquisitionLibraryDeviceV2ApiControllerBulkDelete = exports.acquisitionLibraryDeviceV2ApiControllerCreate = exports.acquisitionLibraryDeviceV2ApiControllerList = exports.acquisitionValidateOsQueries = exports.acquisitionUpdateScheduledImageAcquisition = exports.acquisitionUpdateScheduledEvidenceAcquisition = exports.acquisitionAcquireImage = exports.createOffNetworkAcquisitionTaskFile = exports.acquisitionAssignEvidenceTaskPostAcquisitionsAcquireEvidence = exports.acquisitionAssignEvidenceTaskPostAcquisitionsAcquire = exports.acquisitionDeleteBulk = exports.acquisitionUpdate = exports.acquisitionGet = exports.acquisitionDelete = exports.acquisitionCreate = exports.acquisitionProfilesGetOne = exports.licenseGetQuota = exports.licenseGetSubscriptionDetails = exports.licenseRefreshLicense = exports.licenseSetLicense = exports.licenseGetLicense = exports.userPatTokensDelete = exports.userPatTokensRotate = exports.userPatTokensCreate = exports.userPatTokensGetMany = exports.userGroupUpdateGroup = void 0;
|
|
10
10
|
exports.evidenceRepositoryDelete = exports.evidenceRepositoryUpdateS3Compatible = exports.evidenceRepositoryCreateS3Compatible = exports.evidenceRepositoryUpdateAmazonS3 = exports.evidenceRepositoryCreateAmazonS3 = exports.evidenceRepositoryUpdateAzureStorage = exports.evidenceRepositoryCreateAzureStorage = exports.evidenceRepositoryUpdateFtps = exports.evidenceRepositoryCreateFtps = exports.evidenceRepositoryUpdateSftp = exports.evidenceRepositoryCreateSftp = exports.evidenceRepositoryUpdateSmb = exports.evidenceRepositoryCreateSmb = exports.evidenceGetCasePpcFile = exports.evidenceGetCaseReportFileInfo = exports.evidenceDownloadExternalEvidence = exports.evidenceGetCaseReport1 = exports.evidenceGetCaseReport0 = exports.triageLibraryExportV2ApiControllerDownload = exports.triageLibraryExportV2ApiControllerExport = exports.triageLibraryV2ApiControllerUpdate = exports.triageLibraryV2ApiControllerGet = exports.triageLibraryV2ApiControllerDelete = exports.triageLibraryV2ApiControllerValidate = exports.triageLibraryV2ApiControllerBulkDelete = exports.triageLibraryV2ApiControllerCreate = exports.triageLibraryV2ApiControllerList = exports.deleteTriageRuleTag = exports.createTriageRuleTag = exports.filterTriageRuleTags = exports.createOffNetworkTriageTaskFile = exports.updateScheduledTriageTask = exports.assignTriageTask = exports.validateTriageRule = exports.deleteBulkTriageRules = exports.updateTriageRule = exports.getTriageRule = exports.deleteTriageRule = exports.createTriageRule = exports.getManyTriageRules = exports.taxiiFeedsBulkDelete = exports.taxiiFeedsUpdateStatus = exports.taxiiFeedsCancelSync = exports.taxiiFeedsTriggerSync = exports.taxiiFeedsDiscoverCollections = exports.taxiiFeedsGetSyncLogs = exports.taxiiFeedsUpdate = exports.taxiiFeedsGetOne = exports.taxiiFeedsDelete = exports.taxiiFeedsGetIndicatorSummary = void 0;
|
|
11
11
|
exports.organizationV2ApiControllerListOrganizations = exports.organizationUserV2ApiControllerListOrganizationUsers = exports.organizationGetUsers = exports.organizationAddTags = exports.organizationRemoveTags = exports.organizationUpdateDeploymentToken = exports.organizationUpdateShareableDeploymentStatus = exports.organizationGetOrganizationIdByToken = exports.organizationAssignGroups = exports.organizationRemoveGroups = exports.organizationAssignUsers = exports.organizationRemoveUsers = exports.organizationUpdate = exports.organizationGet = exports.organizationDelete = exports.organizationCheckNameExists = exports.organizationCreate = exports.organizationsGetMany = exports.policyCheckNameExists = exports.policyUpdateStatus = exports.policyUpdate = exports.policyGet = exports.policyDelete = exports.policyUpdatePriorities = exports.policyCreate = exports.policyFilter = exports.policyGetMatchStats = exports.auditLogsUpdateEventFilter = exports.auditLogsGetEventFilter = exports.auditLogsGetEventTypes = exports.auditLogExport = exports.auditLogsGetMany = exports.notificationMarkAsRead = exports.notificationMarkAllAsRead = exports.notificationFilter = exports.notificationDeleteAll = exports.evidenceRepositoryUpdateBox = exports.evidenceRepositoryCreateBox = exports.evidenceRepositoryValidateBox = exports.evidenceRepositoryUpdateGoogleCloudStorage = exports.evidenceRepositoryCreateGoogleCloudStorage = exports.evidenceRepositoryValidateGoogleCloudStorage = exports.evidenceRepositoryValidateSftpRepository = exports.evidenceRepositoryValidateFtpsRepository = exports.evidenceRepositoryValidateAzureStorage = exports.evidenceRepositoryValidateS3Compatible = exports.evidenceRepositoryValidateAmazonS3 = exports.evidenceRepositoryValidateById = exports.evidenceRepositoriesGetMany = exports.evidenceRepositoriesGet = void 0;
|
|
12
|
-
exports.casesCloseByFilter = exports.caseArchiveCase = exports.caseReopenCase = exports.casesClose = exports.casesCreate = exports.casesGetMany = exports.caseUpdateCase = exports.casesGet = exports.
|
|
13
|
-
exports.interactCommandSnippetsCreate = exports.interactCommandSnippetsGetMany = exports.interactLibraryDelete = exports.interactLibraryDeleteBulk = exports.interactLibraryDownload = exports.interactLibraryUpload = exports.interactLibraryCheckLibraryFileExists = exports.interactLibraryFilter = exports.interactSessionGetCommandMessage = exports.interactSessionClose = exports.interactSessionInterruptCommand = exports.interactSessionExecuteAsyncCommand = exports.interactSessionExecuteCommand = exports.interactGetInterActShellReport = exports.interactShellAssignTask = exports.interactCommandsDownloadResultFile = exports.interactCommandsGetMany = exports.exportClosureReportAssets = exports.exportClosureReportFlags = exports.exportClosureReportFindings = exports.
|
|
12
|
+
exports.casesCloseByFilter = exports.caseArchiveCase = exports.caseReopenCase = exports.casesClose = exports.casesCreate = exports.casesGetMany = exports.caseUpdateCase = exports.casesGet = exports.casesCreateAssetsExpressionExportPostCasesByIdAssetsExportQuery = exports.casesDownloadAssetsExpressionExportGetCasesByIdAssetsExportQuery = exports.casesCreateAssetsExpressionExportPostCasesByIdEndpointsExportQuery = exports.casesDownloadAssetsExpressionExportGetCasesByIdEndpointsExportQuery = exports.caseExportCaseEndpoints1 = exports.caseExportCaseEndpoints0 = exports.caseExportCaseNotes = exports.caseExportCases = exports.casesCheckName = exports.caseV2ApiControllerUpdateCase = exports.caseV2ApiControllerGetCaseByIdOrName = exports.caseV2ApiControllerCreateCase = exports.caseV2ApiControllerFilterCases = exports.caseActionV2ApiControllerRemoveAssets = exports.caseActionV2ApiControllerArchive = exports.caseActionV2ApiControllerReopen = exports.caseActionV2ApiControllerClose = exports.caseTaskAssignmentV2ApiControllerRemoveTaskAssignment = exports.caseTaskAssignmentV2ApiControllerImportTaskAssignments = exports.caseTaskAssignmentV2ApiControllerFilterTaskAssignments = exports.caseNoteV2ApiControllerUpdateNote = exports.caseNoteV2ApiControllerDeleteNote = exports.caseNoteV2ApiControllerCreateNote = exports.caseNoteV2ApiControllerFilterNotes = exports.caseTaskV2ApiControllerFilterTasks = exports.caseUserV2ApiControllerFilterUsers = exports.caseAssetV2ApiControllerFilterAssets = exports.caseBulkActionV2ApiControllerArchive = exports.caseBulkActionV2ApiControllerClose = exports.caseExportV2ApiControllerExportCases = exports.caseActivityV2ApiControllerFilterCaseActivities = exports.caseActivityV2ApiControllerFilterGlobalActivities = exports.autoAssetTagUpdateScheduledAatTask = exports.autoAssetTagAssignAutoAssetTaggingTask = exports.autoAssetTagDeleteBulk = exports.autoAssetTagUpdateStatus = exports.autoAssetTagUpdateAutoAssetTag = exports.autoAssetTagGetById = exports.autoAssetTagDelete = exports.autoAssetTagSaveAutoAssetTag = exports.autoAssetTagFilter = exports.organizationV2ApiControllerGetOrganizationByIdOrName = void 0;
|
|
13
|
+
exports.interactCommandSnippetsCreate = exports.interactCommandSnippetsGetMany = exports.interactLibraryDelete = exports.interactLibraryDeleteBulk = exports.interactLibraryDownload = exports.interactLibraryUpload = exports.interactLibraryCheckLibraryFileExists = exports.interactLibraryFilter = exports.interactSessionGetCommandMessage = exports.interactSessionClose = exports.interactSessionInterruptCommand = exports.interactSessionExecuteAsyncCommand = exports.interactSessionExecuteCommand = exports.interactGetInterActShellReport = exports.interactShellAssignTask = exports.interactCommandsDownloadResultFile = exports.interactCommandsGetMany = exports.exportClosureReportAssets = exports.exportClosureReportFlags = exports.exportClosureReportFindings = exports.updateCaseCloseReportPatchCasesByCaseIdReportsByVersion = exports.getCaseCloseReportGetCasesByCaseIdReportsByVersion = exports.updateCaseCloseReportPatchCasesByCaseIdReports = exports.getCaseCloseReportGetCasesByCaseIdReports = exports.getCaseCloseReportHistory = exports.getCaseDashboard = exports.caseCategoriesDelete = exports.caseCategoriesCreate = exports.caseCategoriesFilter = exports.caseTagsDelete = exports.caseTagsCreate = exports.caseTagsFilter = exports.caseRemoveTaskAssignmentFromCase = exports.caseRemoveEndpointsFromCaseByFilter1 = exports.caseRemoveEndpointsFromCaseByFilter0 = exports.casesGetUsers = exports.caseImportTaskAssignment = exports.caseEditCaseNote = exports.caseDeleteCaseNote = exports.caseAddCaseNote = exports.caseExportActivities = exports.casesGetActivities = exports.casesGetAssetsByFilterExpressionPostCasesByIdAssetsFilterQuery = exports.casesGetAssetsByFilterExpressionPostCasesByIdEndpointsFilterQuery = exports.casesGetEndpointsGetCasesByIdAssets = exports.casesGetEndpointsGetCasesByIdEndpoints = exports.caseFilterTaskAssignments = exports.casesGetTasks = exports.casesChangeOwner = exports.casesArchiveByFilter = void 0;
|
|
14
14
|
exports.cloudAccountsCreateCloudAccount = exports.cloudAccountsFilter = exports.systemApiTokensUpdate = exports.systemApiTokensGetOne = exports.systemApiTokensDelete = exports.systemApiTokensCreate = exports.systemApiTokensGetMany = exports.apiTokensBulkDelete = exports.apiTokensUpdate = exports.apiTokensGetOne = exports.apiTokensDelete = exports.apiTokensGetCurrent = exports.apiTokensCreate = exports.apiTokensGetMany = exports.baselineGetComparisonReportByVendorDeviceId = exports.baselineGetComparisonReport = exports.baselineAcquire = exports.baselineCompare = exports.multipartUploadUploadPart = exports.multipartUploadDeleteFileParts = exports.multipartUploadIsReady = exports.multipartUploadFinalize = exports.multipartUploadInitialize = exports.multipartUploadInitializeHead = exports.interactCommandV2ApiControllerList = exports.interactLibraryFileV2ApiControllerDownload = exports.interactLibraryFileV2ApiControllerDelete = exports.interactLibraryFileV2ApiControllerBulkDelete = exports.interactLibraryFileV2ApiControllerUpload = exports.interactLibraryFileV2ApiControllerList = exports.interactLibraryTagV2ApiControllerUpdate = exports.interactLibraryTagV2ApiControllerGet = exports.interactLibraryTagV2ApiControllerDelete = exports.interactLibraryTagV2ApiControllerBulkDelete = exports.interactLibraryTagV2ApiControllerCreate = exports.interactLibraryTagV2ApiControllerList = exports.interactLibrarySnippetV2ApiControllerUpdate = exports.interactLibrarySnippetV2ApiControllerGet = exports.interactLibrarySnippetV2ApiControllerDelete = exports.interactLibrarySnippetV2ApiControllerBulkDelete = exports.interactLibrarySnippetV2ApiControllerCreate = exports.interactLibrarySnippetV2ApiControllerList = exports.interactCommandSnippetTagsUpdate = exports.interactCommandSnippetTagsDelete = exports.interactCommandSnippetTagsCreate = exports.interactCommandSnippetTagsGetMany = exports.interactCommandSnippetsBulkDelete = exports.interactCommandSnippetsUpdate = exports.interactCommandSnippetsGetOne = exports.interactCommandSnippetsDelete = void 0;
|
|
15
|
-
exports.
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
15
|
+
exports.investigationFilterEndpointFindings = exports.investigationGetFindingDataStructure = exports.investigationGetSummary = exports.investigationGetSectionsByEndpoints = exports.investigationGetAssetsByInvestigationId = exports.investigationCreateExportRequestForSectionData = exports.investigationExportEvidenceData = exports.investigationCreateExportRequestForFlags = exports.investigationExportFlags = exports.investigationGetEvidenceRelationData = exports.investigationGetEvidenceData = exports.investigationGetEvidenceDataStructure = exports.investigationGetInvestigationMigrationsSummary = exports.investigationUpdateInvestigation = exports.investigationGetInvestigationById = exports.investigationsDirectoryV2ApiControllerRetryFailedImports = exports.investigationsDirectoryV2ApiControllerMigrationsSummary = exports.investigationsDirectoryV2ApiControllerImportProgress = exports.investigationsDirectoryV2ApiControllerGet = exports.investigationsDirectoryV2ApiControllerList = exports.investigationSqlV2ApiControllerExecuteSqlQuery = exports.investigationSqlV2ApiControllerGetSchema = exports.investigationFindingV2ApiControllerUpdateFinding = exports.investigationFindingV2ApiControllerUnmarkFinding = exports.investigationFindingV2ApiControllerMarkAsFinding = exports.investigationEvidenceFlagV2ApiControllerUnflagEvidence = exports.investigationEvidenceFlagV2ApiControllerFlagEvidence = exports.investigationAnnotationV2ApiControllerDeleteComment = exports.investigationAnnotationV2ApiControllerCommentEvidence = exports.investigationAnnotationV2ApiControllerListComments = exports.investigationAnnotationV2ApiControllerUpdateNote = exports.flagsLibraryV2ApiControllerUpdate = exports.flagsLibraryV2ApiControllerGet = exports.flagsLibraryV2ApiControllerDelete = exports.flagsLibraryV2ApiControllerCreate = exports.flagsLibraryV2ApiControllerList = exports.exclusionRulesLibraryV2ApiControllerDeleteIndividual = exports.exclusionRulesLibraryV2ApiControllerApply = exports.exclusionRulesLibraryV2ApiControllerMatches = exports.exclusionRulesLibraryV2ApiControllerListReasons = exports.exclusionRulesLibraryV2ApiControllerCreate = exports.exclusionRulesLibraryV2ApiControllerList = exports.exclusionRulesLibraryV2ApiControllerDelete = exports.cloudAccountsSyncAllCloudAccount = exports.cloudAccountsSyncCloudAccount = exports.cloudAccountsUpdateCloudAccount = exports.cloudAccountsGetCloudAccountById = exports.cloudAccountsDelete = exports.cloudAccountsExport = exports.cloudAccountsGetConfig = void 0;
|
|
16
|
+
exports.investigationCommentDeleteComment = exports.investigationCommentCommentEvidence = exports.investigationCommentFilterComments = exports.investigationActivityMarkAsRead = exports.investigationActivityFilter = exports.investigationFlagUpdateFlag = exports.investigationFlagDeleteFlag = exports.investigationFlagCreateFlag = exports.investigationFlagFilterFlags = exports.investigationReportDownloadPdfReport = exports.investigationReportGeneratePdfReport = exports.investigationReportUpdateReport = exports.investigationReportGetReport = exports.investigationReportDeleteReport = exports.investigationReportCreateReport = exports.investigationReportFilterReports = exports.investigationReportExportReports = exports.investigationExclusionDeleteIndividualFindingExclusionRule = exports.investigationExclusionApplyFindingExclusionRuleForAllAssets = exports.investigationExclusionApplyFindingExclusionRuleForOrganization = exports.investigationExclusionGetExclusionReasons = exports.investigationExclusionFilterFindingExclusionRules = exports.investigationExclusionDeleteFindingExclusionRule = exports.investigationExclusionGetFindingExclusionRulesMatches = exports.investigationExclusionBulkAddFindingExclusionRules = exports.investigationExclusionAddFindingExclusionRule = exports.investigationImportTornadoEvidenceToInvestigation1 = exports.investigationImportTornadoEvidenceToInvestigation0 = exports.investigationCreateExportRequestForFindings = exports.investigationExportFindingsData = exports.investigationGetInvestigationHubDataImportProgress = exports.investigationGetInvestigationTaskAssignmentDataImportProgress = exports.investigationGetInvestigationTaskAssignmentForImportedEvidence = exports.investigationUpdateInvestigationFinding = exports.investigationMarkInvestigationEvidenceAsFinding = exports.investigationRetryImportTaskAssignment = exports.investigationImportPstEvidencesToInvestigation = exports.investigationGetImportErrors = exports.investigationDeleteImport = exports.investigationGetAllImports = exports.investigationImportDataToInvestigationEvidence = exports.investigationUpdateInvestigationEvidence = exports.investigationCreateInvestigationEvidence = exports.investigationUpdateEvidenceNote = exports.investigationFlagEvidence = exports.investigationRemoveEvidenceFlag = exports.investigationEvidenceCounts = exports.investigationGlobalSearch = exports.investigationGetMitreMatches = exports.investigationGetFindingsSummary = void 0;
|
|
17
|
+
exports.assetBulkMetadataV2ApiControllerSetMitreDatabaseVersion = exports.assetBulkMetadataV2ApiControllerSetConnectionRoute = exports.assetBulkMetadataV2ApiControllerSetUpdateExclusion = exports.assetBulkMetadataV2ApiControllerRemoveTags = exports.assetBulkMetadataV2ApiControllerAddTags = exports.assetBulkActionV2ApiControllerDisableMaintenance = exports.assetBulkActionV2ApiControllerEnableMaintenance = exports.assetBulkActionV2ApiControllerVersionUpdate = exports.assetBulkActionV2ApiControllerRetrieveLogs = exports.assetBulkActionV2ApiControllerUnisolate = exports.assetBulkActionV2ApiControllerIsolate = exports.assetBulkActionV2ApiControllerShutdown = exports.assetBulkActionV2ApiControllerReboot = exports.assetActionV2ApiControllerImportPpcToExistingAsset = exports.assetActionV2ApiControllerDisableMaintenance = exports.assetActionV2ApiControllerEnableMaintenance = exports.assetActionV2ApiControllerVersionUpdate = exports.assetActionV2ApiControllerRetrieveLogs = exports.assetActionV2ApiControllerUnisolate = exports.assetActionV2ApiControllerIsolate = exports.assetActionV2ApiControllerShutdown = exports.assetActionV2ApiControllerReboot = exports.processorGetProcessorTypeByAssetType = exports.processorGetProcessorsByAssetType = exports.processorGetAllProcessors = exports.recentActivitiesCreate = exports.recentActivitiesGetMany = exports.relayProUpdateRelayUrl = exports.relayProRemove = exports.relayServerUpdateAddress = exports.relayServerRemoveRelayServer = exports.relayServerAssignFixUpdateRequiredIssueTask = exports.relayServerAssignRetrieveLogTask = exports.relayServerAssignRebootTask = exports.relayServerFilter = exports.relayServerGetById = exports.relayServerUpdateLabel = exports.relayServerUpdateTags = exports.investigationTaskExecutionLogFilterTaskExecutionLogs = exports.investigationTaskExecutionLogGetTaskExecutionLogs = exports.investigationTimelineCreateExportRequestForTimeline = exports.investigationTimelineExportTimelineData = exports.investigationTimelineGetTotalTimelineCount = exports.investigationTimelineGetTimelineStructure = exports.investigationTimelineFilterTimelineEvents = exports.investigationTimelineGetTimelineEventCountByAdvancedFilter = exports.investigationAdvancedFilterUpdateFilter = exports.investigationAdvancedFilterDeleteFilter = exports.investigationAdvancedFilterCreateFilter = exports.investigationAdvancedFilterGetFilters = void 0;
|
|
18
|
+
exports.investigationDataUsageDeleteFilter = exports.investigationDataUsageGetFilters = exports.investigationDataUsageGetDataUsageFilters = exports.investigationDataUsageGetHistoricalDataUsageStatistics = exports.investigationDataUsageGetActualDataUsageStatistics = exports.investigationDataUsageCreateExportRequestForActualDataUsages = exports.investigationDataUsageExportActualDataUsages = exports.investigationDataUsageGetActualDataUsages = exports.eventSubscriptionTestEventSubscription = exports.eventSubscriptionDeleteBulkEventSubscriptions = exports.eventSubscriptionSubscriptionEventNames = exports.eventSubscriptionUpdateEventSubscription = exports.eventSubscriptionGetEventSubscription = exports.eventSubscriptionDeleteEventSubscription = exports.eventSubscriptionCreateEventSubscription = exports.eventSubscriptionFilterEventSubscriptions = exports.webhookDeleteBulk = exports.webhookUpdate = exports.webhookGet = exports.webhookDelete = exports.webhookCreate = exports.webhookFilter = exports.webhookFilterParsers = exports.assetInteractMessageV2ApiControllerGetSessionReport = exports.assetInteractMessageV2ApiControllerDownloadMessageOutput = exports.assetInteractMessageV2ApiControllerGetMessage = exports.assetInteractMessageV2ApiControllerListSessionsForAsset = exports.assetAcquisitionV2ApiControllerFilterAcquisitionTasks = exports.assetAcquisitionV2ApiControllerDeleteAcquisitionAssignment = exports.assetAcquisitionV2ApiControllerCancelAcquisition = exports.assetAcquisitionV2ApiControllerAcquire = exports.assetTriageV2ApiControllerDeleteTriageAssignment = exports.assetTriageV2ApiControllerCancelTriage = exports.assetTriageV2ApiControllerRunTriage = exports.assetTriageV2ApiControllerFilterTriageTasks = exports.assetV2ApiControllerUpdateLabel = exports.assetV2ApiControllerReplaceTags = exports.assetV2ApiControllerGetAsset = exports.assetV2ApiControllerDeleteAsset = exports.assetV2ApiControllerFilterAssets = exports.assetV2ApiControllerExportAssets = exports.assetV2ApiControllerGetStats = exports.assetInteractV2ApiControllerCloseSession = exports.assetInteractV2ApiControllerCancelCommand = exports.assetInteractV2ApiControllerRunCommand = exports.assetInteractMessageV2ApiControllerListForAsset = exports.assetDeploymentV2ApiControllerDeploy = exports.assetBulkTriageV2ApiControllerRunTriage = exports.assetBulkMetadataV2ApiControllerImportOffNetworkPpc = exports.assetBulkMetadataV2ApiControllerDeleteAssets = void 0;
|
|
19
|
+
exports.diskImageAcquisitionLibraryApiControllerList = exports.imageEvidenceAcquisitionProfilesDeleteBulk = exports.imageEvidenceAcquisitionProfilesUpdate = exports.imageEvidenceAcquisitionProfilesGetOne = exports.imageEvidenceAcquisitionProfilesDelete = exports.imageEvidenceAcquisitionProfilesCreate = exports.imageEvidenceAcquisitionProfilesGetMany = exports.cloudAcquisitionLibraryApiControllerUpdate = exports.cloudAcquisitionLibraryApiControllerGet = exports.cloudAcquisitionLibraryApiControllerDelete = exports.cloudAcquisitionLibraryApiControllerBulkDelete = exports.cloudAcquisitionLibraryApiControllerCreate = exports.cloudAcquisitionLibraryApiControllerList = exports.cloudAcquisitionProfilesUpdate = exports.cloudAcquisitionProfilesGetOne = exports.cloudAcquisitionProfilesDelete = exports.cloudAcquisitionProfilesCreate = exports.cloudAcquisitionProfilesGetMany = exports.fullTextSearchTaskUpdateScheduledFullTextSearchTask = exports.fullTextSearchTaskAssign = exports.fullTextSearchProfilesDeleteBulk = exports.fullTextSearchProfilesUpdate = exports.fullTextSearchProfilesGetOne = exports.fullTextSearchProfilesDelete = exports.fullTextSearchProfilesCreate = exports.fullTextSearchProfilesGetMany = exports.automationHubDisableAutomation = exports.automationHubEnableAutomation = exports.automationHubGenerateTriggerSecret = exports.automationHubGetAutomationChangeHistory = exports.automationHubGetAutomationExecutions = exports.automationHubGetAutomationExecution = exports.automationHubUpdateAutomation = exports.automationHubGetAutomation = exports.automationHubDeleteAutomation = exports.automationHubExecuteIntegration = exports.automationHubGetTags = exports.automationHubGetTriggerTypes = exports.automationHubTestAction = exports.automationHubGetActionTypes = exports.automationHubCreateAutomation = exports.automationHubFilterAutomations = exports.automationHubGetExecutionHistory = exports.presetFiltersUpdate = exports.presetFiltersDelete = exports.presetFiltersCreate = exports.presetFiltersGetMany = exports.investigationDataUsageCreateFilter = exports.investigationDataUsageUpdateFilter = exports.investigationDataUsageGetFilter = void 0;
|
|
20
|
+
exports.diskImageAcquisitionTasksDownload = exports.diskImageAcquisitionTasksCreate = exports.diskImageAcquisitionLibraryApiControllerUpdate = exports.diskImageAcquisitionLibraryApiControllerGet = exports.diskImageAcquisitionLibraryApiControllerDelete = exports.diskImageAcquisitionLibraryApiControllerBulkDelete = exports.diskImageAcquisitionLibraryApiControllerCreate = void 0;
|
|
20
21
|
const client_1 = require("./client");
|
|
21
22
|
const client_gen_1 = require("./client.gen");
|
|
22
23
|
/**
|
|
@@ -210,7 +211,7 @@ const paramsEvidenceList = (options) => {
|
|
|
210
211
|
exports.paramsEvidenceList = paramsEvidenceList;
|
|
211
212
|
/**
|
|
212
213
|
* Get MITRE ATT&CK catalog
|
|
213
|
-
* Returns tactics, techniques, and their relationships from the
|
|
214
|
+
* Returns tactics, techniques, and their relationships from the MITRE ATT&CK database. Omit version to use the active database. Pass version to load a specific ATT&CK release, for example a DRONE catalog fallback servedVersion.
|
|
214
215
|
*/
|
|
215
216
|
const paramsGetMitreAttackTactics = (options) => {
|
|
216
217
|
return (options?.client ?? client_gen_1.client).get({
|
|
@@ -253,7 +254,7 @@ const capabilitiesV2ApiControllerGet = (options) => {
|
|
|
253
254
|
type: 'http'
|
|
254
255
|
}
|
|
255
256
|
],
|
|
256
|
-
url: '/api/v2/
|
|
257
|
+
url: '/api/v2/token/capabilities',
|
|
257
258
|
...options
|
|
258
259
|
});
|
|
259
260
|
};
|
|
@@ -276,7 +277,7 @@ const openApiAliasV2ApiControllerGet = (options) => {
|
|
|
276
277
|
type: 'apiKey'
|
|
277
278
|
}
|
|
278
279
|
],
|
|
279
|
-
url: '/api/v2/
|
|
280
|
+
url: '/api/v2/openapi',
|
|
280
281
|
...options
|
|
281
282
|
});
|
|
282
283
|
};
|
|
@@ -339,7 +340,7 @@ exports.endpointExportEndpoints1 = endpointExportEndpoints1;
|
|
|
339
340
|
* Update tags for an asset
|
|
340
341
|
* Update the tags associated with a specific asset
|
|
341
342
|
*/
|
|
342
|
-
const
|
|
343
|
+
const assetsUpdateTagsPatchEndpointsByIdTag = (options) => {
|
|
343
344
|
return (options.client ?? client_gen_1.client).patch({
|
|
344
345
|
security: [
|
|
345
346
|
{
|
|
@@ -364,12 +365,12 @@ const assetsUpdateTags = (options) => {
|
|
|
364
365
|
}
|
|
365
366
|
});
|
|
366
367
|
};
|
|
367
|
-
exports.
|
|
368
|
+
exports.assetsUpdateTagsPatchEndpointsByIdTag = assetsUpdateTagsPatchEndpointsByIdTag;
|
|
368
369
|
/**
|
|
369
370
|
* Update tags for an asset
|
|
370
371
|
* Update the tags associated with a specific asset
|
|
371
372
|
*/
|
|
372
|
-
const
|
|
373
|
+
const assetsUpdateTagsPatchAssetsByIdTag = (options) => {
|
|
373
374
|
return (options.client ?? client_gen_1.client).patch({
|
|
374
375
|
security: [
|
|
375
376
|
{
|
|
@@ -394,12 +395,12 @@ const assetsUpdateTags2 = (options) => {
|
|
|
394
395
|
}
|
|
395
396
|
});
|
|
396
397
|
};
|
|
397
|
-
exports.
|
|
398
|
+
exports.assetsUpdateTagsPatchAssetsByIdTag = assetsUpdateTagsPatchAssetsByIdTag;
|
|
398
399
|
/**
|
|
399
400
|
* Update label for an asset
|
|
400
401
|
* Update the display label of a specific asset
|
|
401
402
|
*/
|
|
402
|
-
const
|
|
403
|
+
const assetsUpdateLabelPatchEndpointsByIdLabel = (options) => {
|
|
403
404
|
return (options.client ?? client_gen_1.client).patch({
|
|
404
405
|
security: [
|
|
405
406
|
{
|
|
@@ -424,12 +425,12 @@ const assetsUpdateLabel = (options) => {
|
|
|
424
425
|
}
|
|
425
426
|
});
|
|
426
427
|
};
|
|
427
|
-
exports.
|
|
428
|
+
exports.assetsUpdateLabelPatchEndpointsByIdLabel = assetsUpdateLabelPatchEndpointsByIdLabel;
|
|
428
429
|
/**
|
|
429
430
|
* Update label for an asset
|
|
430
431
|
* Update the display label of a specific asset
|
|
431
432
|
*/
|
|
432
|
-
const
|
|
433
|
+
const assetsUpdateLabelPatchAssetsByIdLabel = (options) => {
|
|
433
434
|
return (options.client ?? client_gen_1.client).patch({
|
|
434
435
|
security: [
|
|
435
436
|
{
|
|
@@ -454,12 +455,12 @@ const assetsUpdateLabel2 = (options) => {
|
|
|
454
455
|
}
|
|
455
456
|
});
|
|
456
457
|
};
|
|
457
|
-
exports.
|
|
458
|
+
exports.assetsUpdateLabelPatchAssetsByIdLabel = assetsUpdateLabelPatchAssetsByIdLabel;
|
|
458
459
|
/**
|
|
459
460
|
* Retrieve many assets
|
|
460
461
|
* Retrieve a paginated list of assets
|
|
461
462
|
*/
|
|
462
|
-
const
|
|
463
|
+
const assetsGetManyGetEndpoints = (options) => {
|
|
463
464
|
return (options.client ?? client_gen_1.client).get({
|
|
464
465
|
responseType: 'json',
|
|
465
466
|
security: [
|
|
@@ -481,12 +482,12 @@ const assetsGetMany = (options) => {
|
|
|
481
482
|
...options
|
|
482
483
|
});
|
|
483
484
|
};
|
|
484
|
-
exports.
|
|
485
|
+
exports.assetsGetManyGetEndpoints = assetsGetManyGetEndpoints;
|
|
485
486
|
/**
|
|
486
487
|
* Retrieve many assets
|
|
487
488
|
* Retrieve a paginated list of assets
|
|
488
489
|
*/
|
|
489
|
-
const
|
|
490
|
+
const assetsGetManyGetAssets = (options) => {
|
|
490
491
|
return (options.client ?? client_gen_1.client).get({
|
|
491
492
|
responseType: 'json',
|
|
492
493
|
security: [
|
|
@@ -508,12 +509,12 @@ const assetsGetMany2 = (options) => {
|
|
|
508
509
|
...options
|
|
509
510
|
});
|
|
510
511
|
};
|
|
511
|
-
exports.
|
|
512
|
+
exports.assetsGetManyGetAssets = assetsGetManyGetAssets;
|
|
512
513
|
/**
|
|
513
514
|
* Retrieve many assets
|
|
514
515
|
* Retrieve a paginated list of assets by filter
|
|
515
516
|
*/
|
|
516
|
-
const
|
|
517
|
+
const assetsGetManyByFilterPostEndpointsFilter = (options) => {
|
|
517
518
|
return (options.client ?? client_gen_1.client).post({
|
|
518
519
|
responseType: 'json',
|
|
519
520
|
security: [
|
|
@@ -539,12 +540,12 @@ const assetsGetManyByFilter = (options) => {
|
|
|
539
540
|
}
|
|
540
541
|
});
|
|
541
542
|
};
|
|
542
|
-
exports.
|
|
543
|
+
exports.assetsGetManyByFilterPostEndpointsFilter = assetsGetManyByFilterPostEndpointsFilter;
|
|
543
544
|
/**
|
|
544
545
|
* Retrieve many assets
|
|
545
546
|
* Retrieve a paginated list of assets by filter
|
|
546
547
|
*/
|
|
547
|
-
const
|
|
548
|
+
const assetsGetManyByFilterPostAssetsFilter = (options) => {
|
|
548
549
|
return (options.client ?? client_gen_1.client).post({
|
|
549
550
|
responseType: 'json',
|
|
550
551
|
security: [
|
|
@@ -570,12 +571,12 @@ const assetsGetManyByFilter2 = (options) => {
|
|
|
570
571
|
}
|
|
571
572
|
});
|
|
572
573
|
};
|
|
573
|
-
exports.
|
|
574
|
+
exports.assetsGetManyByFilterPostAssetsFilter = assetsGetManyByFilterPostAssetsFilter;
|
|
574
575
|
/**
|
|
575
576
|
* Retrieve many assets by expression filter
|
|
576
577
|
* Retrieve a paginated list of assets by a flexible filter expression
|
|
577
578
|
*/
|
|
578
|
-
const
|
|
579
|
+
const assetsGetManyByFilterExpressionPostEndpointsFilterQuery = (options) => {
|
|
579
580
|
return (options.client ?? client_gen_1.client).post({
|
|
580
581
|
responseType: 'json',
|
|
581
582
|
security: [
|
|
@@ -601,12 +602,12 @@ const assetsGetManyByFilterExpression = (options) => {
|
|
|
601
602
|
}
|
|
602
603
|
});
|
|
603
604
|
};
|
|
604
|
-
exports.
|
|
605
|
+
exports.assetsGetManyByFilterExpressionPostEndpointsFilterQuery = assetsGetManyByFilterExpressionPostEndpointsFilterQuery;
|
|
605
606
|
/**
|
|
606
607
|
* Retrieve many assets by expression filter
|
|
607
608
|
* Retrieve a paginated list of assets by a flexible filter expression
|
|
608
609
|
*/
|
|
609
|
-
const
|
|
610
|
+
const assetsGetManyByFilterExpressionPostAssetsFilterQuery = (options) => {
|
|
610
611
|
return (options.client ?? client_gen_1.client).post({
|
|
611
612
|
responseType: 'json',
|
|
612
613
|
security: [
|
|
@@ -632,7 +633,7 @@ const assetsGetManyByFilterExpression2 = (options) => {
|
|
|
632
633
|
}
|
|
633
634
|
});
|
|
634
635
|
};
|
|
635
|
-
exports.
|
|
636
|
+
exports.assetsGetManyByFilterExpressionPostAssetsFilterQuery = assetsGetManyByFilterExpressionPostAssetsFilterQuery;
|
|
636
637
|
/**
|
|
637
638
|
* List assets with task counts
|
|
638
639
|
* Returns filtered assets together with their associated task counts.
|
|
@@ -718,7 +719,7 @@ exports.endpointGetDeviceNameConflicts1 = endpointGetDeviceNameConflicts1;
|
|
|
718
719
|
* Retrieve many assets
|
|
719
720
|
* Retrieve detailed information about a specific asset
|
|
720
721
|
*/
|
|
721
|
-
const
|
|
722
|
+
const assetsGetManyGetEndpointsById = (options) => {
|
|
722
723
|
return (options.client ?? client_gen_1.client).get({
|
|
723
724
|
responseType: 'json',
|
|
724
725
|
security: [
|
|
@@ -740,12 +741,12 @@ const assetsGetMany3 = (options) => {
|
|
|
740
741
|
...options
|
|
741
742
|
});
|
|
742
743
|
};
|
|
743
|
-
exports.
|
|
744
|
+
exports.assetsGetManyGetEndpointsById = assetsGetManyGetEndpointsById;
|
|
744
745
|
/**
|
|
745
746
|
* Retrieve many assets
|
|
746
747
|
* Retrieve detailed information about a specific asset
|
|
747
748
|
*/
|
|
748
|
-
const
|
|
749
|
+
const assetsGetManyGetAssetsById = (options) => {
|
|
749
750
|
return (options.client ?? client_gen_1.client).get({
|
|
750
751
|
responseType: 'json',
|
|
751
752
|
security: [
|
|
@@ -767,7 +768,7 @@ const assetsGetMany4 = (options) => {
|
|
|
767
768
|
...options
|
|
768
769
|
});
|
|
769
770
|
};
|
|
770
|
-
exports.
|
|
771
|
+
exports.assetsGetManyGetAssetsById = assetsGetManyGetAssetsById;
|
|
771
772
|
/**
|
|
772
773
|
* Import PPC as asset
|
|
773
774
|
* Creates an asset from an uploaded portable collection package and ingests its forensic results.
|
|
@@ -1098,7 +1099,7 @@ exports.endpointPurgeAssetDataByFilter1 = endpointPurgeAssetDataByFilter1;
|
|
|
1098
1099
|
* Remove tags from assets by filter
|
|
1099
1100
|
* Remove specified tags from multiple assets
|
|
1100
1101
|
*/
|
|
1101
|
-
const
|
|
1102
|
+
const assetsRemoveTagsDeleteEndpointsTags = (options) => {
|
|
1102
1103
|
return (options.client ?? client_gen_1.client).delete({
|
|
1103
1104
|
security: [
|
|
1104
1105
|
{
|
|
@@ -1123,12 +1124,12 @@ const assetsRemoveTags = (options) => {
|
|
|
1123
1124
|
}
|
|
1124
1125
|
});
|
|
1125
1126
|
};
|
|
1126
|
-
exports.
|
|
1127
|
+
exports.assetsRemoveTagsDeleteEndpointsTags = assetsRemoveTagsDeleteEndpointsTags;
|
|
1127
1128
|
/**
|
|
1128
1129
|
* Add tags to assets by filter
|
|
1129
1130
|
* Add specified tags to multiple assets that match the provided filter criteria
|
|
1130
1131
|
*/
|
|
1131
|
-
const
|
|
1132
|
+
const assetsAddTagsPostEndpointsTags = (options) => {
|
|
1132
1133
|
return (options.client ?? client_gen_1.client).post({
|
|
1133
1134
|
security: [
|
|
1134
1135
|
{
|
|
@@ -1153,12 +1154,12 @@ const assetsAddTags = (options) => {
|
|
|
1153
1154
|
}
|
|
1154
1155
|
});
|
|
1155
1156
|
};
|
|
1156
|
-
exports.
|
|
1157
|
+
exports.assetsAddTagsPostEndpointsTags = assetsAddTagsPostEndpointsTags;
|
|
1157
1158
|
/**
|
|
1158
1159
|
* Remove tags from assets by filter
|
|
1159
1160
|
* Remove specified tags from multiple assets
|
|
1160
1161
|
*/
|
|
1161
|
-
const
|
|
1162
|
+
const assetsRemoveTagsDeleteAssetsTags = (options) => {
|
|
1162
1163
|
return (options.client ?? client_gen_1.client).delete({
|
|
1163
1164
|
security: [
|
|
1164
1165
|
{
|
|
@@ -1183,12 +1184,12 @@ const assetsRemoveTags2 = (options) => {
|
|
|
1183
1184
|
}
|
|
1184
1185
|
});
|
|
1185
1186
|
};
|
|
1186
|
-
exports.
|
|
1187
|
+
exports.assetsRemoveTagsDeleteAssetsTags = assetsRemoveTagsDeleteAssetsTags;
|
|
1187
1188
|
/**
|
|
1188
1189
|
* Add tags to assets by filter
|
|
1189
1190
|
* Add specified tags to multiple assets that match the provided filter criteria
|
|
1190
1191
|
*/
|
|
1191
|
-
const
|
|
1192
|
+
const assetsAddTagsPostAssetsTags = (options) => {
|
|
1192
1193
|
return (options.client ?? client_gen_1.client).post({
|
|
1193
1194
|
security: [
|
|
1194
1195
|
{
|
|
@@ -1213,12 +1214,12 @@ const assetsAddTags2 = (options) => {
|
|
|
1213
1214
|
}
|
|
1214
1215
|
});
|
|
1215
1216
|
};
|
|
1216
|
-
exports.
|
|
1217
|
+
exports.assetsAddTagsPostAssetsTags = assetsAddTagsPostAssetsTags;
|
|
1217
1218
|
/**
|
|
1218
1219
|
* Set MITRE ATT&CK database version by filter
|
|
1219
1220
|
* Updates demanded MITRE ATT&CK database version for matching assets that have an agent installed and a supported agent build
|
|
1220
1221
|
*/
|
|
1221
|
-
const
|
|
1222
|
+
const assetsSetMitreAttackDatabaseVersionPostEndpointsMitreAttackDatabaseVersion = (options) => {
|
|
1222
1223
|
return (options.client ?? client_gen_1.client).post({
|
|
1223
1224
|
security: [
|
|
1224
1225
|
{
|
|
@@ -1243,12 +1244,12 @@ const assetsSetMitreAttackDatabaseVersion = (options) => {
|
|
|
1243
1244
|
}
|
|
1244
1245
|
});
|
|
1245
1246
|
};
|
|
1246
|
-
exports.
|
|
1247
|
+
exports.assetsSetMitreAttackDatabaseVersionPostEndpointsMitreAttackDatabaseVersion = assetsSetMitreAttackDatabaseVersionPostEndpointsMitreAttackDatabaseVersion;
|
|
1247
1248
|
/**
|
|
1248
1249
|
* Set MITRE ATT&CK database version by filter
|
|
1249
1250
|
* Updates demanded MITRE ATT&CK database version for matching assets that have an agent installed and a supported agent build
|
|
1250
1251
|
*/
|
|
1251
|
-
const
|
|
1252
|
+
const assetsSetMitreAttackDatabaseVersionPostAssetsMitreAttackDatabaseVersion = (options) => {
|
|
1252
1253
|
return (options.client ?? client_gen_1.client).post({
|
|
1253
1254
|
security: [
|
|
1254
1255
|
{
|
|
@@ -1273,7 +1274,7 @@ const assetsSetMitreAttackDatabaseVersion2 = (options) => {
|
|
|
1273
1274
|
}
|
|
1274
1275
|
});
|
|
1275
1276
|
};
|
|
1276
|
-
exports.
|
|
1277
|
+
exports.assetsSetMitreAttackDatabaseVersionPostAssetsMitreAttackDatabaseVersion = assetsSetMitreAttackDatabaseVersionPostAssetsMitreAttackDatabaseVersion;
|
|
1277
1278
|
/**
|
|
1278
1279
|
* List asset disks
|
|
1279
1280
|
* Returns disks discovered on assets matching the supplied target filter.
|
|
@@ -1625,7 +1626,7 @@ exports.endpointSetExcludeFromUpdatesToEndpointsByFilter1 = endpointSetExcludeFr
|
|
|
1625
1626
|
* Streams the diagnostic log archive collected by the selected asset task.
|
|
1626
1627
|
*/
|
|
1627
1628
|
const endpointDownloadLogFile0 = (options) => {
|
|
1628
|
-
return (options
|
|
1629
|
+
return (options.client ?? client_gen_1.client).get({
|
|
1629
1630
|
responseType: 'blob',
|
|
1630
1631
|
security: [
|
|
1631
1632
|
{
|
|
@@ -1652,7 +1653,7 @@ exports.endpointDownloadLogFile0 = endpointDownloadLogFile0;
|
|
|
1652
1653
|
* Streams the diagnostic log archive collected by the selected asset task.
|
|
1653
1654
|
*/
|
|
1654
1655
|
const endpointDownloadLogFile1 = (options) => {
|
|
1655
|
-
return (options
|
|
1656
|
+
return (options.client ?? client_gen_1.client).get({
|
|
1656
1657
|
responseType: 'blob',
|
|
1657
1658
|
security: [
|
|
1658
1659
|
{
|
|
@@ -2023,7 +2024,7 @@ exports.endpointTagCreateAssetTag = endpointTagCreateAssetTag;
|
|
|
2023
2024
|
* Deletes every asset tag owned by the selected organization.
|
|
2024
2025
|
*/
|
|
2025
2026
|
const endpointTagDeleteAllAssetTags = (options) => {
|
|
2026
|
-
return (options
|
|
2027
|
+
return (options.client ?? client_gen_1.client).delete({
|
|
2027
2028
|
security: [
|
|
2028
2029
|
{
|
|
2029
2030
|
scheme: 'bearer',
|
|
@@ -2049,7 +2050,7 @@ exports.endpointTagDeleteAllAssetTags = endpointTagDeleteAllAssetTags;
|
|
|
2049
2050
|
* Deletes the selected organization-scoped asset tag.
|
|
2050
2051
|
*/
|
|
2051
2052
|
const endpointTagDeleteAssetTag = (options) => {
|
|
2052
|
-
return (options
|
|
2053
|
+
return (options.client ?? client_gen_1.client).delete({
|
|
2053
2054
|
security: [
|
|
2054
2055
|
{
|
|
2055
2056
|
scheme: 'bearer',
|
|
@@ -2105,7 +2106,7 @@ exports.endpointTagRenameAssetTag = endpointTagRenameAssetTag;
|
|
|
2105
2106
|
* Returns the immediate child groups of the selected asset group within the caller’s organization scope.
|
|
2106
2107
|
*/
|
|
2107
2108
|
const endpointGroupGetChildGroupsOfGroup = (options) => {
|
|
2108
|
-
return (options
|
|
2109
|
+
return (options.client ?? client_gen_1.client).get({
|
|
2109
2110
|
responseType: 'json',
|
|
2110
2111
|
security: [
|
|
2111
2112
|
{
|
|
@@ -2132,7 +2133,7 @@ exports.endpointGroupGetChildGroupsOfGroup = endpointGroupGetChildGroupsOfGroup;
|
|
|
2132
2133
|
* Returns top-level asset groups for the selected organization.
|
|
2133
2134
|
*/
|
|
2134
2135
|
const endpointGroupGetRootGroups = (options) => {
|
|
2135
|
-
return (options
|
|
2136
|
+
return (options.client ?? client_gen_1.client).get({
|
|
2136
2137
|
responseType: 'json',
|
|
2137
2138
|
security: [
|
|
2138
2139
|
{
|
|
@@ -2557,7 +2558,7 @@ exports.taskGenerateOffNetworkZipPassword = taskGenerateOffNetworkZipPassword;
|
|
|
2557
2558
|
* Assign reboot task to an asset
|
|
2558
2559
|
* Creates and assigns a reboot task to one or more assets
|
|
2559
2560
|
*/
|
|
2560
|
-
const
|
|
2561
|
+
const assetsAssignRebootTaskPostEndpointsTasksReboot = (options) => {
|
|
2561
2562
|
return (options.client ?? client_gen_1.client).post({
|
|
2562
2563
|
responseType: 'json',
|
|
2563
2564
|
security: [
|
|
@@ -2583,12 +2584,12 @@ const assetsAssignRebootTask = (options) => {
|
|
|
2583
2584
|
}
|
|
2584
2585
|
});
|
|
2585
2586
|
};
|
|
2586
|
-
exports.
|
|
2587
|
+
exports.assetsAssignRebootTaskPostEndpointsTasksReboot = assetsAssignRebootTaskPostEndpointsTasksReboot;
|
|
2587
2588
|
/**
|
|
2588
2589
|
* Assign reboot task to an asset
|
|
2589
2590
|
* Creates and assigns a reboot task to one or more assets
|
|
2590
2591
|
*/
|
|
2591
|
-
const
|
|
2592
|
+
const assetsAssignRebootTaskPostAssetsTasksReboot = (options) => {
|
|
2592
2593
|
return (options.client ?? client_gen_1.client).post({
|
|
2593
2594
|
responseType: 'json',
|
|
2594
2595
|
security: [
|
|
@@ -2614,12 +2615,12 @@ const assetsAssignRebootTask2 = (options) => {
|
|
|
2614
2615
|
}
|
|
2615
2616
|
});
|
|
2616
2617
|
};
|
|
2617
|
-
exports.
|
|
2618
|
+
exports.assetsAssignRebootTaskPostAssetsTasksReboot = assetsAssignRebootTaskPostAssetsTasksReboot;
|
|
2618
2619
|
/**
|
|
2619
2620
|
* Assign shutdown task to an asset
|
|
2620
2621
|
* Creates and assigns a shutdown task to one or more assets
|
|
2621
2622
|
*/
|
|
2622
|
-
const
|
|
2623
|
+
const assetsAssignShutdownTaskPostEndpointsTasksShutdown = (options) => {
|
|
2623
2624
|
return (options.client ?? client_gen_1.client).post({
|
|
2624
2625
|
responseType: 'json',
|
|
2625
2626
|
security: [
|
|
@@ -2645,12 +2646,12 @@ const assetsAssignShutdownTask = (options) => {
|
|
|
2645
2646
|
}
|
|
2646
2647
|
});
|
|
2647
2648
|
};
|
|
2648
|
-
exports.
|
|
2649
|
+
exports.assetsAssignShutdownTaskPostEndpointsTasksShutdown = assetsAssignShutdownTaskPostEndpointsTasksShutdown;
|
|
2649
2650
|
/**
|
|
2650
2651
|
* Assign shutdown task to an asset
|
|
2651
2652
|
* Creates and assigns a shutdown task to one or more assets
|
|
2652
2653
|
*/
|
|
2653
|
-
const
|
|
2654
|
+
const assetsAssignShutdownTaskPostAssetsTasksShutdown = (options) => {
|
|
2654
2655
|
return (options.client ?? client_gen_1.client).post({
|
|
2655
2656
|
responseType: 'json',
|
|
2656
2657
|
security: [
|
|
@@ -2676,7 +2677,7 @@ const assetsAssignShutdownTask2 = (options) => {
|
|
|
2676
2677
|
}
|
|
2677
2678
|
});
|
|
2678
2679
|
};
|
|
2679
|
-
exports.
|
|
2680
|
+
exports.assetsAssignShutdownTaskPostAssetsTasksShutdown = assetsAssignShutdownTaskPostAssetsTasksShutdown;
|
|
2680
2681
|
/**
|
|
2681
2682
|
* Assign retrieve-log task
|
|
2682
2683
|
* Assigns a task that collects diagnostic logs from assets matching the supplied target selection.
|
|
@@ -2743,7 +2744,7 @@ exports.endpointTaskAssignRetrieveLogTask1 = endpointTaskAssignRetrieveLogTask1;
|
|
|
2743
2744
|
* Assign version update task to an asset
|
|
2744
2745
|
* Creates and assigns a Responder version update task to one or more assets
|
|
2745
2746
|
*/
|
|
2746
|
-
const
|
|
2747
|
+
const assetsAssignVersionUpdateTaskPostEndpointsTasksVersionUpdate = (options) => {
|
|
2747
2748
|
return (options.client ?? client_gen_1.client).post({
|
|
2748
2749
|
responseType: 'json',
|
|
2749
2750
|
security: [
|
|
@@ -2769,12 +2770,12 @@ const assetsAssignVersionUpdateTask = (options) => {
|
|
|
2769
2770
|
}
|
|
2770
2771
|
});
|
|
2771
2772
|
};
|
|
2772
|
-
exports.
|
|
2773
|
+
exports.assetsAssignVersionUpdateTaskPostEndpointsTasksVersionUpdate = assetsAssignVersionUpdateTaskPostEndpointsTasksVersionUpdate;
|
|
2773
2774
|
/**
|
|
2774
2775
|
* Assign version update task to an asset
|
|
2775
2776
|
* Creates and assigns a Responder version update task to one or more assets
|
|
2776
2777
|
*/
|
|
2777
|
-
const
|
|
2778
|
+
const assetsAssignVersionUpdateTaskPostAssetsTasksVersionUpdate = (options) => {
|
|
2778
2779
|
return (options.client ?? client_gen_1.client).post({
|
|
2779
2780
|
responseType: 'json',
|
|
2780
2781
|
security: [
|
|
@@ -2800,12 +2801,12 @@ const assetsAssignVersionUpdateTask2 = (options) => {
|
|
|
2800
2801
|
}
|
|
2801
2802
|
});
|
|
2802
2803
|
};
|
|
2803
|
-
exports.
|
|
2804
|
+
exports.assetsAssignVersionUpdateTaskPostAssetsTasksVersionUpdate = assetsAssignVersionUpdateTaskPostAssetsTasksVersionUpdate;
|
|
2804
2805
|
/**
|
|
2805
2806
|
* Assign isolation task to an asset
|
|
2806
2807
|
* Creates and assigns an isolation task to one or more assets by filter
|
|
2807
2808
|
*/
|
|
2808
|
-
const
|
|
2809
|
+
const assetsAssignIsolationTaskPostEndpointsTasksIsolation = (options) => {
|
|
2809
2810
|
return (options.client ?? client_gen_1.client).post({
|
|
2810
2811
|
responseType: 'json',
|
|
2811
2812
|
security: [
|
|
@@ -2831,12 +2832,12 @@ const assetsAssignIsolationTask = (options) => {
|
|
|
2831
2832
|
}
|
|
2832
2833
|
});
|
|
2833
2834
|
};
|
|
2834
|
-
exports.
|
|
2835
|
+
exports.assetsAssignIsolationTaskPostEndpointsTasksIsolation = assetsAssignIsolationTaskPostEndpointsTasksIsolation;
|
|
2835
2836
|
/**
|
|
2836
2837
|
* Assign isolation task to an asset
|
|
2837
2838
|
* Creates and assigns an isolation task to one or more assets by filter
|
|
2838
2839
|
*/
|
|
2839
|
-
const
|
|
2840
|
+
const assetsAssignIsolationTaskPostAssetsTasksIsolation = (options) => {
|
|
2840
2841
|
return (options.client ?? client_gen_1.client).post({
|
|
2841
2842
|
responseType: 'json',
|
|
2842
2843
|
security: [
|
|
@@ -2862,12 +2863,12 @@ const assetsAssignIsolationTask2 = (options) => {
|
|
|
2862
2863
|
}
|
|
2863
2864
|
});
|
|
2864
2865
|
};
|
|
2865
|
-
exports.
|
|
2866
|
+
exports.assetsAssignIsolationTaskPostAssetsTasksIsolation = assetsAssignIsolationTaskPostAssetsTasksIsolation;
|
|
2866
2867
|
/**
|
|
2867
2868
|
* Get tasks for a specific asset
|
|
2868
2869
|
* Retrieves a paginated list of tasks associated with a specific asset
|
|
2869
2870
|
*/
|
|
2870
|
-
const
|
|
2871
|
+
const assetsGetTasksGetEndpointsByIdTasks = (options) => {
|
|
2871
2872
|
return (options.client ?? client_gen_1.client).get({
|
|
2872
2873
|
responseType: 'json',
|
|
2873
2874
|
security: [
|
|
@@ -2889,12 +2890,12 @@ const assetsGetTasks = (options) => {
|
|
|
2889
2890
|
...options
|
|
2890
2891
|
});
|
|
2891
2892
|
};
|
|
2892
|
-
exports.
|
|
2893
|
+
exports.assetsGetTasksGetEndpointsByIdTasks = assetsGetTasksGetEndpointsByIdTasks;
|
|
2893
2894
|
/**
|
|
2894
2895
|
* Get tasks for a specific asset
|
|
2895
2896
|
* Retrieves a paginated list of tasks associated with a specific asset
|
|
2896
2897
|
*/
|
|
2897
|
-
const
|
|
2898
|
+
const assetsGetTasksGetAssetsByIdTasks = (options) => {
|
|
2898
2899
|
return (options.client ?? client_gen_1.client).get({
|
|
2899
2900
|
responseType: 'json',
|
|
2900
2901
|
security: [
|
|
@@ -2916,7 +2917,7 @@ const assetsGetTasks2 = (options) => {
|
|
|
2916
2917
|
...options
|
|
2917
2918
|
});
|
|
2918
2919
|
};
|
|
2919
|
-
exports.
|
|
2920
|
+
exports.assetsGetTasksGetAssetsByIdTasks = assetsGetTasksGetAssetsByIdTasks;
|
|
2920
2921
|
/**
|
|
2921
2922
|
* Purge local task data
|
|
2922
2923
|
* Requests removal of locally retained task data from the selected assets.
|
|
@@ -2982,7 +2983,7 @@ exports.endpointTaskPurgeLocalData1 = endpointTaskPurgeLocalData1;
|
|
|
2982
2983
|
* Requests another upload attempt for the selected task assignment’s collected data.
|
|
2983
2984
|
*/
|
|
2984
2985
|
const endpointTaskRetryUpload0 = (options) => {
|
|
2985
|
-
return (options
|
|
2986
|
+
return (options.client ?? client_gen_1.client).get({
|
|
2986
2987
|
security: [
|
|
2987
2988
|
{
|
|
2988
2989
|
scheme: 'bearer',
|
|
@@ -3008,7 +3009,7 @@ exports.endpointTaskRetryUpload0 = endpointTaskRetryUpload0;
|
|
|
3008
3009
|
* Requests another upload attempt for the selected task assignment’s collected data.
|
|
3009
3010
|
*/
|
|
3010
3011
|
const endpointTaskRetryUpload1 = (options) => {
|
|
3011
|
-
return (options
|
|
3012
|
+
return (options.client ?? client_gen_1.client).get({
|
|
3012
3013
|
security: [
|
|
3013
3014
|
{
|
|
3014
3015
|
scheme: 'bearer',
|
|
@@ -3088,7 +3089,7 @@ exports.tasksAssignmentsGetMany = tasksAssignmentsGetMany;
|
|
|
3088
3089
|
* Requests cancellation of the selected per-asset task assignment.
|
|
3089
3090
|
*/
|
|
3090
3091
|
const taskAssignmentCancel = (options) => {
|
|
3091
|
-
return (options
|
|
3092
|
+
return (options.client ?? client_gen_1.client).post({
|
|
3092
3093
|
security: [
|
|
3093
3094
|
{
|
|
3094
3095
|
scheme: 'bearer',
|
|
@@ -3114,7 +3115,7 @@ exports.taskAssignmentCancel = taskAssignmentCancel;
|
|
|
3114
3115
|
* Deletes the selected task assignment when its state permits removal.
|
|
3115
3116
|
*/
|
|
3116
3117
|
const taskAssignmentDelete = (options) => {
|
|
3117
|
-
return (options
|
|
3118
|
+
return (options.client ?? client_gen_1.client).delete({
|
|
3118
3119
|
security: [
|
|
3119
3120
|
{
|
|
3120
3121
|
scheme: 'bearer',
|
|
@@ -3140,7 +3141,7 @@ exports.taskAssignmentDelete = taskAssignmentDelete;
|
|
|
3140
3141
|
* Returns status and execution details for the selected task assignment.
|
|
3141
3142
|
*/
|
|
3142
3143
|
const taskAssignmentGet = (options) => {
|
|
3143
|
-
return (options
|
|
3144
|
+
return (options.client ?? client_gen_1.client).get({
|
|
3144
3145
|
responseType: 'json',
|
|
3145
3146
|
security: [
|
|
3146
3147
|
{
|
|
@@ -4765,7 +4766,7 @@ exports.settingsSaveMandatoryCaseSelection = settingsSaveMandatoryCaseSelection;
|
|
|
4765
4766
|
* Returns the callback URL that must be registered for the selected single sign-on provider.
|
|
4766
4767
|
*/
|
|
4767
4768
|
const settingsSingleSignOnCallback = (options) => {
|
|
4768
|
-
return (options
|
|
4769
|
+
return (options.client ?? client_gen_1.client).get({
|
|
4769
4770
|
responseType: 'json',
|
|
4770
4771
|
security: [
|
|
4771
4772
|
{
|
|
@@ -6162,7 +6163,7 @@ exports.acquisitionDeleteBulk = acquisitionDeleteBulk;
|
|
|
6162
6163
|
* Assign Evidence Acquisition Task
|
|
6163
6164
|
* Assign an evidence acquisition task by filter
|
|
6164
6165
|
*/
|
|
6165
|
-
const
|
|
6166
|
+
const acquisitionAssignEvidenceTaskPostAcquisitionsAcquire = (options) => {
|
|
6166
6167
|
return (options.client ?? client_gen_1.client).post({
|
|
6167
6168
|
responseType: 'json',
|
|
6168
6169
|
security: [
|
|
@@ -6188,12 +6189,12 @@ const acquisitionAssignEvidenceTask = (options) => {
|
|
|
6188
6189
|
}
|
|
6189
6190
|
});
|
|
6190
6191
|
};
|
|
6191
|
-
exports.
|
|
6192
|
+
exports.acquisitionAssignEvidenceTaskPostAcquisitionsAcquire = acquisitionAssignEvidenceTaskPostAcquisitionsAcquire;
|
|
6192
6193
|
/**
|
|
6193
6194
|
* Assign Evidence Acquisition Task
|
|
6194
6195
|
* Assign an evidence acquisition task by filter
|
|
6195
6196
|
*/
|
|
6196
|
-
const
|
|
6197
|
+
const acquisitionAssignEvidenceTaskPostAcquisitionsAcquireEvidence = (options) => {
|
|
6197
6198
|
return (options.client ?? client_gen_1.client).post({
|
|
6198
6199
|
responseType: 'json',
|
|
6199
6200
|
security: [
|
|
@@ -6219,7 +6220,7 @@ const acquisitionAssignEvidenceTask2 = (options) => {
|
|
|
6219
6220
|
}
|
|
6220
6221
|
});
|
|
6221
6222
|
};
|
|
6222
|
-
exports.
|
|
6223
|
+
exports.acquisitionAssignEvidenceTaskPostAcquisitionsAcquireEvidence = acquisitionAssignEvidenceTaskPostAcquisitionsAcquireEvidence;
|
|
6223
6224
|
/**
|
|
6224
6225
|
* Create Off Network Acquisition Task File
|
|
6225
6226
|
* Create an acquisition task file for off network access
|
|
@@ -8015,7 +8016,7 @@ exports.triageLibraryExportV2ApiControllerDownload = triageLibraryExportV2ApiCon
|
|
|
8015
8016
|
* Streams the generated case report associated with the selected asset and task.
|
|
8016
8017
|
*/
|
|
8017
8018
|
const evidenceGetCaseReport0 = (options) => {
|
|
8018
|
-
return (options
|
|
8019
|
+
return (options.client ?? client_gen_1.client).get({
|
|
8019
8020
|
responseType: 'blob',
|
|
8020
8021
|
security: [
|
|
8021
8022
|
{
|
|
@@ -8042,7 +8043,7 @@ exports.evidenceGetCaseReport0 = evidenceGetCaseReport0;
|
|
|
8042
8043
|
* Streams the generated case report associated with the selected asset and task.
|
|
8043
8044
|
*/
|
|
8044
8045
|
const evidenceGetCaseReport1 = (options) => {
|
|
8045
|
-
return (options
|
|
8046
|
+
return (options.client ?? client_gen_1.client).get({
|
|
8046
8047
|
responseType: 'blob',
|
|
8047
8048
|
security: [
|
|
8048
8049
|
{
|
|
@@ -8069,7 +8070,7 @@ exports.evidenceGetCaseReport1 = evidenceGetCaseReport1;
|
|
|
8069
8070
|
* Streams the named external evidence file collected by the selected asset task.
|
|
8070
8071
|
*/
|
|
8071
8072
|
const evidenceDownloadExternalEvidence = (options) => {
|
|
8072
|
-
return (options
|
|
8073
|
+
return (options.client ?? client_gen_1.client).get({
|
|
8073
8074
|
responseType: 'blob',
|
|
8074
8075
|
security: [
|
|
8075
8076
|
{
|
|
@@ -8096,7 +8097,7 @@ exports.evidenceDownloadExternalEvidence = evidenceDownloadExternalEvidence;
|
|
|
8096
8097
|
* Returns file metadata for the case report generated by the selected asset task.
|
|
8097
8098
|
*/
|
|
8098
8099
|
const evidenceGetCaseReportFileInfo = (options) => {
|
|
8099
|
-
return (options
|
|
8100
|
+
return (options.client ?? client_gen_1.client).get({
|
|
8100
8101
|
responseType: 'json',
|
|
8101
8102
|
security: [
|
|
8102
8103
|
{
|
|
@@ -8123,7 +8124,7 @@ exports.evidenceGetCaseReportFileInfo = evidenceGetCaseReportFileInfo;
|
|
|
8123
8124
|
* Streams the portable collection package associated with the selected asset task.
|
|
8124
8125
|
*/
|
|
8125
8126
|
const evidenceGetCasePpcFile = (options) => {
|
|
8126
|
-
return (options
|
|
8127
|
+
return (options.client ?? client_gen_1.client).get({
|
|
8127
8128
|
responseType: 'blob',
|
|
8128
8129
|
security: [
|
|
8129
8130
|
{
|
|
@@ -9329,7 +9330,7 @@ exports.policyUpdatePriorities = policyUpdatePriorities;
|
|
|
9329
9330
|
* Deletes the selected organization-visible policy.
|
|
9330
9331
|
*/
|
|
9331
9332
|
const policyDelete = (options) => {
|
|
9332
|
-
return (options
|
|
9333
|
+
return (options.client ?? client_gen_1.client).delete({
|
|
9333
9334
|
security: [
|
|
9334
9335
|
{
|
|
9335
9336
|
scheme: 'bearer',
|
|
@@ -9355,7 +9356,7 @@ exports.policyDelete = policyDelete;
|
|
|
9355
9356
|
* Returns the selected policy and its targeting configuration.
|
|
9356
9357
|
*/
|
|
9357
9358
|
const policyGet = (options) => {
|
|
9358
|
-
return (options
|
|
9359
|
+
return (options.client ?? client_gen_1.client).get({
|
|
9359
9360
|
responseType: 'json',
|
|
9360
9361
|
security: [
|
|
9361
9362
|
{
|
|
@@ -10053,7 +10054,7 @@ exports.autoAssetTagSaveAutoAssetTag = autoAssetTagSaveAutoAssetTag;
|
|
|
10053
10054
|
* Deletes the selected automatic tagging rule.
|
|
10054
10055
|
*/
|
|
10055
10056
|
const autoAssetTagDelete = (options) => {
|
|
10056
|
-
return (options
|
|
10057
|
+
return (options.client ?? client_gen_1.client).delete({
|
|
10057
10058
|
security: [
|
|
10058
10059
|
{
|
|
10059
10060
|
scheme: 'bearer',
|
|
@@ -10079,7 +10080,7 @@ exports.autoAssetTagDelete = autoAssetTagDelete;
|
|
|
10079
10080
|
* Returns the selected automatic tagging rule and its match configuration.
|
|
10080
10081
|
*/
|
|
10081
10082
|
const autoAssetTagGetById = (options) => {
|
|
10082
|
-
return (options
|
|
10083
|
+
return (options.client ?? client_gen_1.client).get({
|
|
10083
10084
|
responseType: 'json',
|
|
10084
10085
|
security: [
|
|
10085
10086
|
{
|
|
@@ -10957,7 +10958,7 @@ exports.caseExportCaseEndpoints1 = caseExportCaseEndpoints1;
|
|
|
10957
10958
|
* Download a case assets expression export
|
|
10958
10959
|
* Downloads CSV for a previously created case assets expression export
|
|
10959
10960
|
*/
|
|
10960
|
-
const
|
|
10961
|
+
const casesDownloadAssetsExpressionExportGetCasesByIdEndpointsExportQuery = (options) => {
|
|
10961
10962
|
return (options.client ?? client_gen_1.client).get({
|
|
10962
10963
|
responseType: 'json',
|
|
10963
10964
|
security: [
|
|
@@ -10979,12 +10980,12 @@ const casesDownloadAssetsExpressionExport = (options) => {
|
|
|
10979
10980
|
...options
|
|
10980
10981
|
});
|
|
10981
10982
|
};
|
|
10982
|
-
exports.
|
|
10983
|
+
exports.casesDownloadAssetsExpressionExportGetCasesByIdEndpointsExportQuery = casesDownloadAssetsExpressionExportGetCasesByIdEndpointsExportQuery;
|
|
10983
10984
|
/**
|
|
10984
10985
|
* Create a case assets expression export
|
|
10985
10986
|
* Caches an expression filter for downloading case-linked assets as CSV. Use the returned exportUrl within 60 seconds.
|
|
10986
10987
|
*/
|
|
10987
|
-
const
|
|
10988
|
+
const casesCreateAssetsExpressionExportPostCasesByIdEndpointsExportQuery = (options) => {
|
|
10988
10989
|
return (options.client ?? client_gen_1.client).post({
|
|
10989
10990
|
responseType: 'json',
|
|
10990
10991
|
security: [
|
|
@@ -11010,12 +11011,12 @@ const casesCreateAssetsExpressionExport = (options) => {
|
|
|
11010
11011
|
}
|
|
11011
11012
|
});
|
|
11012
11013
|
};
|
|
11013
|
-
exports.
|
|
11014
|
+
exports.casesCreateAssetsExpressionExportPostCasesByIdEndpointsExportQuery = casesCreateAssetsExpressionExportPostCasesByIdEndpointsExportQuery;
|
|
11014
11015
|
/**
|
|
11015
11016
|
* Download a case assets expression export
|
|
11016
11017
|
* Downloads CSV for a previously created case assets expression export
|
|
11017
11018
|
*/
|
|
11018
|
-
const
|
|
11019
|
+
const casesDownloadAssetsExpressionExportGetCasesByIdAssetsExportQuery = (options) => {
|
|
11019
11020
|
return (options.client ?? client_gen_1.client).get({
|
|
11020
11021
|
responseType: 'json',
|
|
11021
11022
|
security: [
|
|
@@ -11037,12 +11038,12 @@ const casesDownloadAssetsExpressionExport2 = (options) => {
|
|
|
11037
11038
|
...options
|
|
11038
11039
|
});
|
|
11039
11040
|
};
|
|
11040
|
-
exports.
|
|
11041
|
+
exports.casesDownloadAssetsExpressionExportGetCasesByIdAssetsExportQuery = casesDownloadAssetsExpressionExportGetCasesByIdAssetsExportQuery;
|
|
11041
11042
|
/**
|
|
11042
11043
|
* Create a case assets expression export
|
|
11043
11044
|
* Caches an expression filter for downloading case-linked assets as CSV. Use the returned exportUrl within 60 seconds.
|
|
11044
11045
|
*/
|
|
11045
|
-
const
|
|
11046
|
+
const casesCreateAssetsExpressionExportPostCasesByIdAssetsExportQuery = (options) => {
|
|
11046
11047
|
return (options.client ?? client_gen_1.client).post({
|
|
11047
11048
|
responseType: 'json',
|
|
11048
11049
|
security: [
|
|
@@ -11068,7 +11069,7 @@ const casesCreateAssetsExpressionExport2 = (options) => {
|
|
|
11068
11069
|
}
|
|
11069
11070
|
});
|
|
11070
11071
|
};
|
|
11071
|
-
exports.
|
|
11072
|
+
exports.casesCreateAssetsExpressionExportPostCasesByIdAssetsExportQuery = casesCreateAssetsExpressionExportPostCasesByIdAssetsExportQuery;
|
|
11072
11073
|
/**
|
|
11073
11074
|
* Retrieve a specific case
|
|
11074
11075
|
* Fetches detailed information about a specific case
|
|
@@ -11415,7 +11416,7 @@ exports.caseFilterTaskAssignments = caseFilterTaskAssignments;
|
|
|
11415
11416
|
* Get endpoints for a specific case
|
|
11416
11417
|
* Retrieves a paginated list of endpoints/assets linked to the specified case
|
|
11417
11418
|
*/
|
|
11418
|
-
const
|
|
11419
|
+
const casesGetEndpointsGetCasesByIdEndpoints = (options) => {
|
|
11419
11420
|
return (options.client ?? client_gen_1.client).get({
|
|
11420
11421
|
responseType: 'json',
|
|
11421
11422
|
security: [
|
|
@@ -11437,12 +11438,12 @@ const casesGetEndpoints = (options) => {
|
|
|
11437
11438
|
...options
|
|
11438
11439
|
});
|
|
11439
11440
|
};
|
|
11440
|
-
exports.
|
|
11441
|
+
exports.casesGetEndpointsGetCasesByIdEndpoints = casesGetEndpointsGetCasesByIdEndpoints;
|
|
11441
11442
|
/**
|
|
11442
11443
|
* Get endpoints for a specific case
|
|
11443
11444
|
* Retrieves a paginated list of endpoints/assets linked to the specified case
|
|
11444
11445
|
*/
|
|
11445
|
-
const
|
|
11446
|
+
const casesGetEndpointsGetCasesByIdAssets = (options) => {
|
|
11446
11447
|
return (options.client ?? client_gen_1.client).get({
|
|
11447
11448
|
responseType: 'json',
|
|
11448
11449
|
security: [
|
|
@@ -11464,12 +11465,12 @@ const casesGetEndpoints2 = (options) => {
|
|
|
11464
11465
|
...options
|
|
11465
11466
|
});
|
|
11466
11467
|
};
|
|
11467
|
-
exports.
|
|
11468
|
+
exports.casesGetEndpointsGetCasesByIdAssets = casesGetEndpointsGetCasesByIdAssets;
|
|
11468
11469
|
/**
|
|
11469
11470
|
* Get case assets by expression filter
|
|
11470
11471
|
* Retrieves a paginated list of endpoints/assets linked to the specified case using a filter expression
|
|
11471
11472
|
*/
|
|
11472
|
-
const
|
|
11473
|
+
const casesGetAssetsByFilterExpressionPostCasesByIdEndpointsFilterQuery = (options) => {
|
|
11473
11474
|
return (options.client ?? client_gen_1.client).post({
|
|
11474
11475
|
responseType: 'json',
|
|
11475
11476
|
security: [
|
|
@@ -11495,12 +11496,12 @@ const casesGetAssetsByFilterExpression = (options) => {
|
|
|
11495
11496
|
}
|
|
11496
11497
|
});
|
|
11497
11498
|
};
|
|
11498
|
-
exports.
|
|
11499
|
+
exports.casesGetAssetsByFilterExpressionPostCasesByIdEndpointsFilterQuery = casesGetAssetsByFilterExpressionPostCasesByIdEndpointsFilterQuery;
|
|
11499
11500
|
/**
|
|
11500
11501
|
* Get case assets by expression filter
|
|
11501
11502
|
* Retrieves a paginated list of endpoints/assets linked to the specified case using a filter expression
|
|
11502
11503
|
*/
|
|
11503
|
-
const
|
|
11504
|
+
const casesGetAssetsByFilterExpressionPostCasesByIdAssetsFilterQuery = (options) => {
|
|
11504
11505
|
return (options.client ?? client_gen_1.client).post({
|
|
11505
11506
|
responseType: 'json',
|
|
11506
11507
|
security: [
|
|
@@ -11526,7 +11527,7 @@ const casesGetAssetsByFilterExpression2 = (options) => {
|
|
|
11526
11527
|
}
|
|
11527
11528
|
});
|
|
11528
11529
|
};
|
|
11529
|
-
exports.
|
|
11530
|
+
exports.casesGetAssetsByFilterExpressionPostCasesByIdAssetsFilterQuery = casesGetAssetsByFilterExpressionPostCasesByIdAssetsFilterQuery;
|
|
11530
11531
|
/**
|
|
11531
11532
|
* Get activities for a specific case
|
|
11532
11533
|
* Retrieves a paginated list of activities for a case
|
|
@@ -11790,7 +11791,7 @@ exports.caseRemoveEndpointsFromCaseByFilter1 = caseRemoveEndpointsFromCaseByFilt
|
|
|
11790
11791
|
* Disassociates the selected task assignment from a case without deleting the underlying task data.
|
|
11791
11792
|
*/
|
|
11792
11793
|
const caseRemoveTaskAssignmentFromCase = (options) => {
|
|
11793
|
-
return (options
|
|
11794
|
+
return (options.client ?? client_gen_1.client).delete({
|
|
11794
11795
|
security: [
|
|
11795
11796
|
{
|
|
11796
11797
|
scheme: 'bearer',
|
|
@@ -12037,7 +12038,7 @@ exports.getCaseCloseReportHistory = getCaseCloseReportHistory;
|
|
|
12037
12038
|
* Get close case report for a specific case with optional version
|
|
12038
12039
|
* Retrieves the close case report for a specific case with optional version
|
|
12039
12040
|
*/
|
|
12040
|
-
const
|
|
12041
|
+
const getCaseCloseReportGetCasesByCaseIdReports = (options) => {
|
|
12041
12042
|
return (options.client ?? client_gen_1.client).get({
|
|
12042
12043
|
responseType: 'json',
|
|
12043
12044
|
security: [
|
|
@@ -12059,12 +12060,12 @@ const getCaseCloseReport = (options) => {
|
|
|
12059
12060
|
...options
|
|
12060
12061
|
});
|
|
12061
12062
|
};
|
|
12062
|
-
exports.
|
|
12063
|
+
exports.getCaseCloseReportGetCasesByCaseIdReports = getCaseCloseReportGetCasesByCaseIdReports;
|
|
12063
12064
|
/**
|
|
12064
12065
|
* Update close case report case details for a specific case
|
|
12065
12066
|
* Updates the close case report case details for a specific case
|
|
12066
12067
|
*/
|
|
12067
|
-
const
|
|
12068
|
+
const updateCaseCloseReportPatchCasesByCaseIdReports = (options) => {
|
|
12068
12069
|
return (options.client ?? client_gen_1.client).patch({
|
|
12069
12070
|
responseType: 'json',
|
|
12070
12071
|
security: [
|
|
@@ -12090,12 +12091,12 @@ const updateCaseCloseReport = (options) => {
|
|
|
12090
12091
|
}
|
|
12091
12092
|
});
|
|
12092
12093
|
};
|
|
12093
|
-
exports.
|
|
12094
|
+
exports.updateCaseCloseReportPatchCasesByCaseIdReports = updateCaseCloseReportPatchCasesByCaseIdReports;
|
|
12094
12095
|
/**
|
|
12095
12096
|
* Get close case report for a specific case with optional version
|
|
12096
12097
|
* Retrieves the close case report for a specific case with optional version
|
|
12097
12098
|
*/
|
|
12098
|
-
const
|
|
12099
|
+
const getCaseCloseReportGetCasesByCaseIdReportsByVersion = (options) => {
|
|
12099
12100
|
return (options.client ?? client_gen_1.client).get({
|
|
12100
12101
|
responseType: 'json',
|
|
12101
12102
|
security: [
|
|
@@ -12117,12 +12118,12 @@ const getCaseCloseReport2 = (options) => {
|
|
|
12117
12118
|
...options
|
|
12118
12119
|
});
|
|
12119
12120
|
};
|
|
12120
|
-
exports.
|
|
12121
|
+
exports.getCaseCloseReportGetCasesByCaseIdReportsByVersion = getCaseCloseReportGetCasesByCaseIdReportsByVersion;
|
|
12121
12122
|
/**
|
|
12122
12123
|
* Update close case report case details for a specific case
|
|
12123
12124
|
* Updates the close case report case details for a specific case
|
|
12124
12125
|
*/
|
|
12125
|
-
const
|
|
12126
|
+
const updateCaseCloseReportPatchCasesByCaseIdReportsByVersion = (options) => {
|
|
12126
12127
|
return (options.client ?? client_gen_1.client).patch({
|
|
12127
12128
|
responseType: 'json',
|
|
12128
12129
|
security: [
|
|
@@ -12148,7 +12149,7 @@ const updateCaseCloseReport2 = (options) => {
|
|
|
12148
12149
|
}
|
|
12149
12150
|
});
|
|
12150
12151
|
};
|
|
12151
|
-
exports.
|
|
12152
|
+
exports.updateCaseCloseReportPatchCasesByCaseIdReportsByVersion = updateCaseCloseReportPatchCasesByCaseIdReportsByVersion;
|
|
12152
12153
|
/**
|
|
12153
12154
|
* Export closure report findings as CSV ZIP
|
|
12154
12155
|
* Downloads the latest closure report findings CSV files as a ZIP archive
|
|
@@ -12320,7 +12321,7 @@ exports.interactShellAssignTask = interactShellAssignTask;
|
|
|
12320
12321
|
* Streams the shell-session report generated for the selected asset and task.
|
|
12321
12322
|
*/
|
|
12322
12323
|
const interactGetInterActShellReport = (options) => {
|
|
12323
|
-
return (options
|
|
12324
|
+
return (options.client ?? client_gen_1.client).get({
|
|
12324
12325
|
responseType: 'blob',
|
|
12325
12326
|
security: [
|
|
12326
12327
|
{
|
|
@@ -14254,6 +14255,187 @@ const cloudAccountsSyncAllCloudAccount = (options) => {
|
|
|
14254
14255
|
});
|
|
14255
14256
|
};
|
|
14256
14257
|
exports.cloudAccountsSyncAllCloudAccount = cloudAccountsSyncAllCloudAccount;
|
|
14258
|
+
/**
|
|
14259
|
+
* Delete exclusion rules
|
|
14260
|
+
* Removes exclusion rules by id. The findings they were suppressing become visible again. Ids that do not exist are reported under warnings[] code=RULES_NOT_FOUND rather than counted as deleted; a request where none exist is a 404. `dryRun` previews without deleting.
|
|
14261
|
+
*/
|
|
14262
|
+
const exclusionRulesLibraryV2ApiControllerDelete = (options) => {
|
|
14263
|
+
return (options.client ?? client_gen_1.client).delete({
|
|
14264
|
+
responseType: 'json',
|
|
14265
|
+
security: [
|
|
14266
|
+
{
|
|
14267
|
+
in: 'cookie',
|
|
14268
|
+
name: 'Authentication',
|
|
14269
|
+
type: 'apiKey'
|
|
14270
|
+
},
|
|
14271
|
+
{
|
|
14272
|
+
scheme: 'bearer',
|
|
14273
|
+
type: 'http'
|
|
14274
|
+
}
|
|
14275
|
+
],
|
|
14276
|
+
url: '/api/v2/libraries/exclusion-rules',
|
|
14277
|
+
...options,
|
|
14278
|
+
headers: {
|
|
14279
|
+
'Content-Type': 'application/json',
|
|
14280
|
+
...options.headers
|
|
14281
|
+
}
|
|
14282
|
+
});
|
|
14283
|
+
};
|
|
14284
|
+
exports.exclusionRulesLibraryV2ApiControllerDelete = exclusionRulesLibraryV2ApiControllerDelete;
|
|
14285
|
+
/**
|
|
14286
|
+
* List the exclusion rules of one organization
|
|
14287
|
+
* Returns the finding-exclusion rules visible in one organization, with offset pagination, a case-insensitive `filter[searchTerm]` contains match on the reason and optional `filter[sourceType]` narrowing. Investigation-scoped rules are included only for investigations the caller can reach. Only RULE-type exclusions are listed: individual, per-row suppressions live on the findings that carry them, not in the library.
|
|
14288
|
+
*/
|
|
14289
|
+
const exclusionRulesLibraryV2ApiControllerList = (options) => {
|
|
14290
|
+
return (options.client ?? client_gen_1.client).get({
|
|
14291
|
+
responseType: 'json',
|
|
14292
|
+
security: [
|
|
14293
|
+
{
|
|
14294
|
+
in: 'cookie',
|
|
14295
|
+
name: 'Authentication',
|
|
14296
|
+
type: 'apiKey'
|
|
14297
|
+
},
|
|
14298
|
+
{
|
|
14299
|
+
scheme: 'bearer',
|
|
14300
|
+
type: 'http'
|
|
14301
|
+
}
|
|
14302
|
+
],
|
|
14303
|
+
url: '/api/v2/libraries/exclusion-rules',
|
|
14304
|
+
...options
|
|
14305
|
+
});
|
|
14306
|
+
};
|
|
14307
|
+
exports.exclusionRulesLibraryV2ApiControllerList = exclusionRulesLibraryV2ApiControllerList;
|
|
14308
|
+
/**
|
|
14309
|
+
* Create exclusion rules
|
|
14310
|
+
* Creates one or many exclusion rules in a single call; each rule carries its own scope, and the request-level `reason` is recorded on all of them. Creating a rule SUPPRESSES matching findings from analysis, so the `dryRun` preview reports how many findings would disappear rather than only echoing the request.
|
|
14311
|
+
*/
|
|
14312
|
+
const exclusionRulesLibraryV2ApiControllerCreate = (options) => {
|
|
14313
|
+
return (options.client ?? client_gen_1.client).post({
|
|
14314
|
+
responseType: 'json',
|
|
14315
|
+
security: [
|
|
14316
|
+
{
|
|
14317
|
+
in: 'cookie',
|
|
14318
|
+
name: 'Authentication',
|
|
14319
|
+
type: 'apiKey'
|
|
14320
|
+
},
|
|
14321
|
+
{
|
|
14322
|
+
scheme: 'bearer',
|
|
14323
|
+
type: 'http'
|
|
14324
|
+
}
|
|
14325
|
+
],
|
|
14326
|
+
url: '/api/v2/libraries/exclusion-rules',
|
|
14327
|
+
...options,
|
|
14328
|
+
headers: {
|
|
14329
|
+
'Content-Type': 'application/json',
|
|
14330
|
+
...options.headers
|
|
14331
|
+
}
|
|
14332
|
+
});
|
|
14333
|
+
};
|
|
14334
|
+
exports.exclusionRulesLibraryV2ApiControllerCreate = exclusionRulesLibraryV2ApiControllerCreate;
|
|
14335
|
+
/**
|
|
14336
|
+
* List the exclusion reasons already in use
|
|
14337
|
+
* Returns the built-in reasons plus the reasons recorded on the rules of ONE organization, so a new rule can reuse the wording the team already agreed on instead of inventing another. Scoped like the rule listing: reasons are analyst-written free text and are not shared across organizations.
|
|
14338
|
+
*/
|
|
14339
|
+
const exclusionRulesLibraryV2ApiControllerListReasons = (options) => {
|
|
14340
|
+
return (options.client ?? client_gen_1.client).get({
|
|
14341
|
+
responseType: 'json',
|
|
14342
|
+
security: [
|
|
14343
|
+
{
|
|
14344
|
+
in: 'cookie',
|
|
14345
|
+
name: 'Authentication',
|
|
14346
|
+
type: 'apiKey'
|
|
14347
|
+
},
|
|
14348
|
+
{
|
|
14349
|
+
scheme: 'bearer',
|
|
14350
|
+
type: 'http'
|
|
14351
|
+
}
|
|
14352
|
+
],
|
|
14353
|
+
url: '/api/v2/libraries/exclusion-rules/reasons',
|
|
14354
|
+
...options
|
|
14355
|
+
});
|
|
14356
|
+
};
|
|
14357
|
+
exports.exclusionRulesLibraryV2ApiControllerListReasons = exclusionRulesLibraryV2ApiControllerListReasons;
|
|
14358
|
+
/**
|
|
14359
|
+
* Count the findings some rules would suppress
|
|
14360
|
+
* Evaluates draft rules against the existing findings and returns how many they would suppress. Read-only: nothing is created. The scan covers only the investigations the caller can reach, so an organization-scoped rule is sized over the caller's own view of that organization rather than all of it. Use it to size the effect of a rule before committing to it.
|
|
14361
|
+
*/
|
|
14362
|
+
const exclusionRulesLibraryV2ApiControllerMatches = (options) => {
|
|
14363
|
+
return (options.client ?? client_gen_1.client).post({
|
|
14364
|
+
responseType: 'json',
|
|
14365
|
+
security: [
|
|
14366
|
+
{
|
|
14367
|
+
in: 'cookie',
|
|
14368
|
+
name: 'Authentication',
|
|
14369
|
+
type: 'apiKey'
|
|
14370
|
+
},
|
|
14371
|
+
{
|
|
14372
|
+
scheme: 'bearer',
|
|
14373
|
+
type: 'http'
|
|
14374
|
+
}
|
|
14375
|
+
],
|
|
14376
|
+
url: '/api/v2/libraries/exclusion-rules/matches',
|
|
14377
|
+
...options,
|
|
14378
|
+
headers: {
|
|
14379
|
+
'Content-Type': 'application/json',
|
|
14380
|
+
...options.headers
|
|
14381
|
+
}
|
|
14382
|
+
});
|
|
14383
|
+
};
|
|
14384
|
+
exports.exclusionRulesLibraryV2ApiControllerMatches = exclusionRulesLibraryV2ApiControllerMatches;
|
|
14385
|
+
/**
|
|
14386
|
+
* Widen an existing exclusion rule
|
|
14387
|
+
* Broadens an existing rule: `scope=organization` re-scopes it to a whole organization, `scope=allAssets` drops its asset restriction. Both widen what the rule suppresses and neither can be narrowed back through this endpoint -- delete and recreate instead. Widening an already organization-scoped rule to an organization is a 409, since there is nothing to widen. `dryRun` previews without applying.
|
|
14388
|
+
*/
|
|
14389
|
+
const exclusionRulesLibraryV2ApiControllerApply = (options) => {
|
|
14390
|
+
return (options.client ?? client_gen_1.client).post({
|
|
14391
|
+
responseType: 'json',
|
|
14392
|
+
security: [
|
|
14393
|
+
{
|
|
14394
|
+
in: 'cookie',
|
|
14395
|
+
name: 'Authentication',
|
|
14396
|
+
type: 'apiKey'
|
|
14397
|
+
},
|
|
14398
|
+
{
|
|
14399
|
+
scheme: 'bearer',
|
|
14400
|
+
type: 'http'
|
|
14401
|
+
}
|
|
14402
|
+
],
|
|
14403
|
+
url: '/api/v2/libraries/exclusion-rules/{ruleId}/apply',
|
|
14404
|
+
...options,
|
|
14405
|
+
headers: {
|
|
14406
|
+
'Content-Type': 'application/json',
|
|
14407
|
+
...options.headers
|
|
14408
|
+
}
|
|
14409
|
+
});
|
|
14410
|
+
};
|
|
14411
|
+
exports.exclusionRulesLibraryV2ApiControllerApply = exclusionRulesLibraryV2ApiControllerApply;
|
|
14412
|
+
/**
|
|
14413
|
+
* Remove individual per-row exclusions from one investigation
|
|
14414
|
+
* Removes individual exclusions -- the ones that hide a single finding row -- from one investigation, making those findings visible again. Addressed by investigation because that is the scope an individual exclusion lives in. `dryRun` previews without removing.
|
|
14415
|
+
*/
|
|
14416
|
+
const exclusionRulesLibraryV2ApiControllerDeleteIndividual = (options) => {
|
|
14417
|
+
return (options.client ?? client_gen_1.client).delete({
|
|
14418
|
+
responseType: 'json',
|
|
14419
|
+
security: [
|
|
14420
|
+
{
|
|
14421
|
+
in: 'cookie',
|
|
14422
|
+
name: 'Authentication',
|
|
14423
|
+
type: 'apiKey'
|
|
14424
|
+
},
|
|
14425
|
+
{
|
|
14426
|
+
scheme: 'bearer',
|
|
14427
|
+
type: 'http'
|
|
14428
|
+
}
|
|
14429
|
+
],
|
|
14430
|
+
url: '/api/v2/libraries/exclusion-rules/individual',
|
|
14431
|
+
...options,
|
|
14432
|
+
headers: {
|
|
14433
|
+
'Content-Type': 'application/json',
|
|
14434
|
+
...options.headers
|
|
14435
|
+
}
|
|
14436
|
+
});
|
|
14437
|
+
};
|
|
14438
|
+
exports.exclusionRulesLibraryV2ApiControllerDeleteIndividual = exclusionRulesLibraryV2ApiControllerDeleteIndividual;
|
|
14257
14439
|
/**
|
|
14258
14440
|
* List investigation flags
|
|
14259
14441
|
* Lists the shared investigation flag library, scoped by `organizations`. Supports offset pagination, a case-insensitive `filter[name]` contains match and sorting by name, createdAt or updatedAt (default name ascending). Each entry carries the flag's id, name, color, description and owning organization.
|
|
@@ -14377,6 +14559,106 @@ const flagsLibraryV2ApiControllerUpdate = (options) => {
|
|
|
14377
14559
|
});
|
|
14378
14560
|
};
|
|
14379
14561
|
exports.flagsLibraryV2ApiControllerUpdate = flagsLibraryV2ApiControllerUpdate;
|
|
14562
|
+
/**
|
|
14563
|
+
* Write or clear the note on evidence rows
|
|
14564
|
+
* Sets the note carried by one or more rows of an investigation. A row holds exactly ONE note, so writing replaces whatever was there; sending an empty `note` clears it. The note is keyed by the evidence coordinate, which means the same note is visible from the evidence grid, the Findings view and the timeline -- `source` only records where it was written. Coordinates that match no row are skipped and reported under warnings[] code=ROWS_SKIPPED. `dryRun` previews without writing.
|
|
14565
|
+
*/
|
|
14566
|
+
const investigationAnnotationV2ApiControllerUpdateNote = (options) => {
|
|
14567
|
+
return (options.client ?? client_gen_1.client).put({
|
|
14568
|
+
responseType: 'json',
|
|
14569
|
+
security: [
|
|
14570
|
+
{
|
|
14571
|
+
in: 'cookie',
|
|
14572
|
+
name: 'Authentication',
|
|
14573
|
+
type: 'apiKey'
|
|
14574
|
+
},
|
|
14575
|
+
{
|
|
14576
|
+
scheme: 'bearer',
|
|
14577
|
+
type: 'http'
|
|
14578
|
+
}
|
|
14579
|
+
],
|
|
14580
|
+
url: '/api/v2/investigations/{idOrName}/note',
|
|
14581
|
+
...options,
|
|
14582
|
+
headers: {
|
|
14583
|
+
'Content-Type': 'application/json',
|
|
14584
|
+
...options.headers
|
|
14585
|
+
}
|
|
14586
|
+
});
|
|
14587
|
+
};
|
|
14588
|
+
exports.investigationAnnotationV2ApiControllerUpdateNote = investigationAnnotationV2ApiControllerUpdateNote;
|
|
14589
|
+
/**
|
|
14590
|
+
* List the comments on one evidence row
|
|
14591
|
+
* Returns the analyst comments on a single row, oldest first, each with its id (what the delete route takes), author and mentioned users. Identify the row with evidence (table name as SQL discovery shows it, or its bare section), taskAssignmentId and objectId (the evidence row air_object_id, NOT air_id). A coordinate that resolves to no row simply has no comments and returns an empty list.
|
|
14592
|
+
*/
|
|
14593
|
+
const investigationAnnotationV2ApiControllerListComments = (options) => {
|
|
14594
|
+
return (options.client ?? client_gen_1.client).get({
|
|
14595
|
+
responseType: 'json',
|
|
14596
|
+
security: [
|
|
14597
|
+
{
|
|
14598
|
+
in: 'cookie',
|
|
14599
|
+
name: 'Authentication',
|
|
14600
|
+
type: 'apiKey'
|
|
14601
|
+
},
|
|
14602
|
+
{
|
|
14603
|
+
scheme: 'bearer',
|
|
14604
|
+
type: 'http'
|
|
14605
|
+
}
|
|
14606
|
+
],
|
|
14607
|
+
url: '/api/v2/investigations/{idOrName}/comments',
|
|
14608
|
+
...options
|
|
14609
|
+
});
|
|
14610
|
+
};
|
|
14611
|
+
exports.investigationAnnotationV2ApiControllerListComments = investigationAnnotationV2ApiControllerListComments;
|
|
14612
|
+
/**
|
|
14613
|
+
* Post a comment on evidence rows
|
|
14614
|
+
* Adds an analyst comment to one or more rows. Unlike the note, comments accumulate: each post is a new comment and nothing is replaced. Mentioned users are NOTIFIED, so a live call reaches real people -- preview with `dryRun` first, which resolves the coordinates and notifies nobody. Coordinates that match no row are skipped and reported under warnings[] code=ROWS_SKIPPED.
|
|
14615
|
+
*/
|
|
14616
|
+
const investigationAnnotationV2ApiControllerCommentEvidence = (options) => {
|
|
14617
|
+
return (options.client ?? client_gen_1.client).post({
|
|
14618
|
+
responseType: 'json',
|
|
14619
|
+
security: [
|
|
14620
|
+
{
|
|
14621
|
+
in: 'cookie',
|
|
14622
|
+
name: 'Authentication',
|
|
14623
|
+
type: 'apiKey'
|
|
14624
|
+
},
|
|
14625
|
+
{
|
|
14626
|
+
scheme: 'bearer',
|
|
14627
|
+
type: 'http'
|
|
14628
|
+
}
|
|
14629
|
+
],
|
|
14630
|
+
url: '/api/v2/investigations/{idOrName}/comments',
|
|
14631
|
+
...options,
|
|
14632
|
+
headers: {
|
|
14633
|
+
'Content-Type': 'application/json',
|
|
14634
|
+
...options.headers
|
|
14635
|
+
}
|
|
14636
|
+
});
|
|
14637
|
+
};
|
|
14638
|
+
exports.investigationAnnotationV2ApiControllerCommentEvidence = investigationAnnotationV2ApiControllerCommentEvidence;
|
|
14639
|
+
/**
|
|
14640
|
+
* Delete one comment
|
|
14641
|
+
* Removes a single comment, addressed by the id the list route returns. Only its author may delete it (403 otherwise); a comment id from another investigation is a leak-safe 404. Irreversible. `dryRun` previews without deleting.
|
|
14642
|
+
*/
|
|
14643
|
+
const investigationAnnotationV2ApiControllerDeleteComment = (options) => {
|
|
14644
|
+
return (options.client ?? client_gen_1.client).delete({
|
|
14645
|
+
responseType: 'json',
|
|
14646
|
+
security: [
|
|
14647
|
+
{
|
|
14648
|
+
in: 'cookie',
|
|
14649
|
+
name: 'Authentication',
|
|
14650
|
+
type: 'apiKey'
|
|
14651
|
+
},
|
|
14652
|
+
{
|
|
14653
|
+
scheme: 'bearer',
|
|
14654
|
+
type: 'http'
|
|
14655
|
+
}
|
|
14656
|
+
],
|
|
14657
|
+
url: '/api/v2/investigations/{idOrName}/comments/{commentId}',
|
|
14658
|
+
...options
|
|
14659
|
+
});
|
|
14660
|
+
};
|
|
14661
|
+
exports.investigationAnnotationV2ApiControllerDeleteComment = investigationAnnotationV2ApiControllerDeleteComment;
|
|
14380
14662
|
/**
|
|
14381
14663
|
* Flag evidence rows in an investigation
|
|
14382
14664
|
* Marks evidence, finding or timeline rows of one investigation with a flag from the flags library, identified by numeric id or exact name; a flag name that does not exist yet is auto-created in the investigation's organization. Each row is addressed by its evidence table or section name, objectId and taskAssignmentId, and `source` selects the surface (EVIDENCE, FINDING or TIMELINE). Returns a receipt with the resolved flag and the number of rows flagged, plus warnings for skipped rows and flag auto-creation; `dryRun` previews the outcome without changing anything.
|
|
@@ -14431,6 +14713,87 @@ const investigationEvidenceFlagV2ApiControllerUnflagEvidence = (options) => {
|
|
|
14431
14713
|
});
|
|
14432
14714
|
};
|
|
14433
14715
|
exports.investigationEvidenceFlagV2ApiControllerUnflagEvidence = investigationEvidenceFlagV2ApiControllerUnflagEvidence;
|
|
14716
|
+
/**
|
|
14717
|
+
* Mark evidence rows as findings
|
|
14718
|
+
* Records the analyst verdict on evidence rows of one investigation, turning each row into a finding. Rows are addressed by their evidence table or section name, taskAssignmentId and objectId, where objectId is the row air_object_id -- NOT air_id and NOT the full-text-search id. An optional request-level `note` is attached to every row this call marks, in the same request. Coordinates that match no row are skipped and reported under warnings[] code=ROWS_SKIPPED; rows that already carry a finding are left untouched and reported as ALREADY_FINDING (use the update endpoint to change those). If the findings are written but the note is not, the response still succeeds with noteAttached=false, a NOTE_FAILED warning and the coordinates to retry the note with -- nothing is rolled back. `dryRun` previews the outcome without changing anything. Discover coordinates with air-investigations-sql-query first.
|
|
14719
|
+
*/
|
|
14720
|
+
const investigationFindingV2ApiControllerMarkAsFinding = (options) => {
|
|
14721
|
+
return (options.client ?? client_gen_1.client).post({
|
|
14722
|
+
responseType: 'json',
|
|
14723
|
+
security: [
|
|
14724
|
+
{
|
|
14725
|
+
in: 'cookie',
|
|
14726
|
+
name: 'Authentication',
|
|
14727
|
+
type: 'apiKey'
|
|
14728
|
+
},
|
|
14729
|
+
{
|
|
14730
|
+
scheme: 'bearer',
|
|
14731
|
+
type: 'http'
|
|
14732
|
+
}
|
|
14733
|
+
],
|
|
14734
|
+
url: '/api/v2/investigations/{idOrName}/mark-as-finding',
|
|
14735
|
+
...options,
|
|
14736
|
+
headers: {
|
|
14737
|
+
'Content-Type': 'application/json',
|
|
14738
|
+
...options.headers
|
|
14739
|
+
}
|
|
14740
|
+
});
|
|
14741
|
+
};
|
|
14742
|
+
exports.investigationFindingV2ApiControllerMarkAsFinding = investigationFindingV2ApiControllerMarkAsFinding;
|
|
14743
|
+
/**
|
|
14744
|
+
* Remove a finding
|
|
14745
|
+
* Removes exactly one analyst finding, addressed by the same coordinate mark-as-finding took, together with the timeline entry derived from it. Irreversible: re-marking the row creates a new finding, it does not restore this one. Only findings created through mark-as-finding can be removed, and only by the analyst who created them (403 otherwise); automatically produced findings return 404. The justification note and any flags on the coordinate are NOT removed -- both belong to the evidence row and stay visible on the evidence surface. `dryRun` previews without deleting anything.
|
|
14746
|
+
*/
|
|
14747
|
+
const investigationFindingV2ApiControllerUnmarkFinding = (options) => {
|
|
14748
|
+
return (options.client ?? client_gen_1.client).delete({
|
|
14749
|
+
responseType: 'json',
|
|
14750
|
+
security: [
|
|
14751
|
+
{
|
|
14752
|
+
in: 'cookie',
|
|
14753
|
+
name: 'Authentication',
|
|
14754
|
+
type: 'apiKey'
|
|
14755
|
+
},
|
|
14756
|
+
{
|
|
14757
|
+
scheme: 'bearer',
|
|
14758
|
+
type: 'http'
|
|
14759
|
+
}
|
|
14760
|
+
],
|
|
14761
|
+
url: '/api/v2/investigations/{idOrName}/finding',
|
|
14762
|
+
...options,
|
|
14763
|
+
headers: {
|
|
14764
|
+
'Content-Type': 'application/json',
|
|
14765
|
+
...options.headers
|
|
14766
|
+
}
|
|
14767
|
+
});
|
|
14768
|
+
};
|
|
14769
|
+
exports.investigationFindingV2ApiControllerUnmarkFinding = investigationFindingV2ApiControllerUnmarkFinding;
|
|
14770
|
+
/**
|
|
14771
|
+
* Update a finding
|
|
14772
|
+
* Replaces the editable fields of exactly one finding -- verdict, category, path, date/dateSource and MITRE mapping -- and optionally its justification note. The finding is addressed by the SAME coordinate mark-as-finding took: the evidence table or section name, taskAssignmentId and the evidence row air_object_id (which the findings surface stores as air_evidence_object_id, NOT the findings row own air_object_id). Unlike marking, a coordinate that resolves to no editable finding is a 404 rather than a skipped row: only findings created through mark-as-finding are editable, and only by the analyst who created them (403 otherwise). Omitted optional fields are cleared; omit `note` entirely to leave the existing note alone, or send an empty string to clear it. `dryRun` previews the outcome without changing anything.
|
|
14773
|
+
*/
|
|
14774
|
+
const investigationFindingV2ApiControllerUpdateFinding = (options) => {
|
|
14775
|
+
return (options.client ?? client_gen_1.client).patch({
|
|
14776
|
+
responseType: 'json',
|
|
14777
|
+
security: [
|
|
14778
|
+
{
|
|
14779
|
+
in: 'cookie',
|
|
14780
|
+
name: 'Authentication',
|
|
14781
|
+
type: 'apiKey'
|
|
14782
|
+
},
|
|
14783
|
+
{
|
|
14784
|
+
scheme: 'bearer',
|
|
14785
|
+
type: 'http'
|
|
14786
|
+
}
|
|
14787
|
+
],
|
|
14788
|
+
url: '/api/v2/investigations/{idOrName}/finding',
|
|
14789
|
+
...options,
|
|
14790
|
+
headers: {
|
|
14791
|
+
'Content-Type': 'application/json',
|
|
14792
|
+
...options.headers
|
|
14793
|
+
}
|
|
14794
|
+
});
|
|
14795
|
+
};
|
|
14796
|
+
exports.investigationFindingV2ApiControllerUpdateFinding = investigationFindingV2ApiControllerUpdateFinding;
|
|
14434
14797
|
/**
|
|
14435
14798
|
* Discover investigation tables and columns
|
|
14436
14799
|
* Two-stage schema discovery for one investigation via POST /api/v2/investigations/{idOrName}/schema. Read-only. Empty body {} lists populated tables/materialized views using catalog row estimates and available regular views with rowCount=null. Body { "table": "<name>" } returns an exact, timeout-bounded row count and that table or view's columns (name, type, nullable). idOrName accepts an investigation UUID, a case UUID or an exact case name. Fixed tables: air_investigation_activities, air_investigation_activity_user_reads, air_investigation_comments, air_investigation_evidence_metadata, air_investigation_evidence_relations, air_investigation_evidence_transformer_versions, air_investigation_external_section_import_error, air_investigation_external_section_import_status, air_investigation_finding_timeline, air_investigation_flags, air_investigation_full_text_search, air_investigation_metadata, air_investigation_notes, air_investigation_reports, air_investigation_report_history, air_investigation_task_assignments, air_investigation_task_execution_logs, air_investigation_timeline, air_investigation_timeline_event_range, air_investigation_timeline_hourly, air_investigation_user_findings, drone_findings. Views: air_all_findings_view, air_excluded_findings_view, air_findings_view, air_timeline_findings_view. Evidence tables are named <platform>_<section> (e.g. windows_triage_file, linux_triage_file, windows_event_records) and vary per investigation. POST the schema endpoint with an empty body to list the populated tables of this investigation with row counts; POST { "table": "<name>" } for column details.
|
|
@@ -14485,6 +14848,125 @@ const investigationSqlV2ApiControllerExecuteSqlQuery = (options) => {
|
|
|
14485
14848
|
});
|
|
14486
14849
|
};
|
|
14487
14850
|
exports.investigationSqlV2ApiControllerExecuteSqlQuery = investigationSqlV2ApiControllerExecuteSqlQuery;
|
|
14851
|
+
/**
|
|
14852
|
+
* List investigations
|
|
14853
|
+
* Lists investigations visible to the caller, scoped by `organizations`. Supports offset pagination, a case-insensitive `filter[name]` contains match on the backing case name and sorting by createdAt or lastAccessedAt (default createdAt descending). Rows are relevance-filtered: callers only see investigations they are related to via an accessible task assignment or a case they can access.
|
|
14854
|
+
*/
|
|
14855
|
+
const investigationsDirectoryV2ApiControllerList = (options) => {
|
|
14856
|
+
return (options?.client ?? client_gen_1.client).get({
|
|
14857
|
+
responseType: 'json',
|
|
14858
|
+
security: [
|
|
14859
|
+
{
|
|
14860
|
+
in: 'cookie',
|
|
14861
|
+
name: 'Authentication',
|
|
14862
|
+
type: 'apiKey'
|
|
14863
|
+
},
|
|
14864
|
+
{
|
|
14865
|
+
scheme: 'bearer',
|
|
14866
|
+
type: 'http'
|
|
14867
|
+
}
|
|
14868
|
+
],
|
|
14869
|
+
url: '/api/v2/investigations',
|
|
14870
|
+
...options
|
|
14871
|
+
});
|
|
14872
|
+
};
|
|
14873
|
+
exports.investigationsDirectoryV2ApiControllerList = investigationsDirectoryV2ApiControllerList;
|
|
14874
|
+
/**
|
|
14875
|
+
* Get investigation by id or case name
|
|
14876
|
+
* Fetches one investigation by investigation UUID, case UUID or exact case name and returns its detail in entities[0]. Callers unrelated to the investigation receive the same leak-safe 404 as an unknown identifier; a case name shared across organizations returns 400 AMBIGUOUS_NAME.
|
|
14877
|
+
*/
|
|
14878
|
+
const investigationsDirectoryV2ApiControllerGet = (options) => {
|
|
14879
|
+
return (options.client ?? client_gen_1.client).get({
|
|
14880
|
+
responseType: 'json',
|
|
14881
|
+
security: [
|
|
14882
|
+
{
|
|
14883
|
+
in: 'cookie',
|
|
14884
|
+
name: 'Authentication',
|
|
14885
|
+
type: 'apiKey'
|
|
14886
|
+
},
|
|
14887
|
+
{
|
|
14888
|
+
scheme: 'bearer',
|
|
14889
|
+
type: 'http'
|
|
14890
|
+
}
|
|
14891
|
+
],
|
|
14892
|
+
url: '/api/v2/investigations/{idOrName}',
|
|
14893
|
+
...options
|
|
14894
|
+
});
|
|
14895
|
+
};
|
|
14896
|
+
exports.investigationsDirectoryV2ApiControllerGet = investigationsDirectoryV2ApiControllerGet;
|
|
14897
|
+
/**
|
|
14898
|
+
* Get evidence-import progress
|
|
14899
|
+
* Readiness check: without `taskAssignmentId` returns task-assignment counts grouped by data-import status for the whole investigation; with it, per-table import progress for that assignment. SQL queries return meaningful data only after imports complete.
|
|
14900
|
+
*/
|
|
14901
|
+
const investigationsDirectoryV2ApiControllerImportProgress = (options) => {
|
|
14902
|
+
return (options.client ?? client_gen_1.client).get({
|
|
14903
|
+
responseType: 'json',
|
|
14904
|
+
security: [
|
|
14905
|
+
{
|
|
14906
|
+
in: 'cookie',
|
|
14907
|
+
name: 'Authentication',
|
|
14908
|
+
type: 'apiKey'
|
|
14909
|
+
},
|
|
14910
|
+
{
|
|
14911
|
+
scheme: 'bearer',
|
|
14912
|
+
type: 'http'
|
|
14913
|
+
}
|
|
14914
|
+
],
|
|
14915
|
+
url: '/api/v2/investigations/{idOrName}/import-progress',
|
|
14916
|
+
...options
|
|
14917
|
+
});
|
|
14918
|
+
};
|
|
14919
|
+
exports.investigationsDirectoryV2ApiControllerImportProgress = investigationsDirectoryV2ApiControllerImportProgress;
|
|
14920
|
+
/**
|
|
14921
|
+
* Get schema/data migration status
|
|
14922
|
+
* Readiness check: per-migration status (pending/in-progress/completed/failed) for the investigation's internal schema and data migrations. `registryState: "unknown"` means the investigation is not tracked by the migration registry yet. Until migrations complete, views or columns may be missing and SQL queries can fail with UNKNOWN_TABLE.
|
|
14923
|
+
*/
|
|
14924
|
+
const investigationsDirectoryV2ApiControllerMigrationsSummary = (options) => {
|
|
14925
|
+
return (options.client ?? client_gen_1.client).get({
|
|
14926
|
+
responseType: 'json',
|
|
14927
|
+
security: [
|
|
14928
|
+
{
|
|
14929
|
+
in: 'cookie',
|
|
14930
|
+
name: 'Authentication',
|
|
14931
|
+
type: 'apiKey'
|
|
14932
|
+
},
|
|
14933
|
+
{
|
|
14934
|
+
scheme: 'bearer',
|
|
14935
|
+
type: 'http'
|
|
14936
|
+
}
|
|
14937
|
+
],
|
|
14938
|
+
url: '/api/v2/investigations/{idOrName}/migrations-summary',
|
|
14939
|
+
...options
|
|
14940
|
+
});
|
|
14941
|
+
};
|
|
14942
|
+
exports.investigationsDirectoryV2ApiControllerMigrationsSummary = investigationsDirectoryV2ApiControllerMigrationsSummary;
|
|
14943
|
+
/**
|
|
14944
|
+
* Retry failed evidence imports
|
|
14945
|
+
* Re-enqueues failed task-assignment evidence imports for the investigation, optionally narrowed by taskAssignmentId and/or investigationDataType. `?dryRun=true` previews the assignments that would be retried without enqueueing anything. Duplicate in-flight retries are deduplicated downstream by the deterministic per-assignment import job id. An assignment the job queue does not accept is left in its failed (retryable) state and reported under `warnings` with code `ENQUEUE_FAILED` instead of being counted.
|
|
14946
|
+
*/
|
|
14947
|
+
const investigationsDirectoryV2ApiControllerRetryFailedImports = (options) => {
|
|
14948
|
+
return (options.client ?? client_gen_1.client).post({
|
|
14949
|
+
responseType: 'json',
|
|
14950
|
+
security: [
|
|
14951
|
+
{
|
|
14952
|
+
in: 'cookie',
|
|
14953
|
+
name: 'Authentication',
|
|
14954
|
+
type: 'apiKey'
|
|
14955
|
+
},
|
|
14956
|
+
{
|
|
14957
|
+
scheme: 'bearer',
|
|
14958
|
+
type: 'http'
|
|
14959
|
+
}
|
|
14960
|
+
],
|
|
14961
|
+
url: '/api/v2/investigations/{idOrName}/retry-failed-imports',
|
|
14962
|
+
...options,
|
|
14963
|
+
headers: {
|
|
14964
|
+
'Content-Type': 'application/json',
|
|
14965
|
+
...options.headers
|
|
14966
|
+
}
|
|
14967
|
+
});
|
|
14968
|
+
};
|
|
14969
|
+
exports.investigationsDirectoryV2ApiControllerRetryFailedImports = investigationsDirectoryV2ApiControllerRetryFailedImports;
|
|
14488
14970
|
/**
|
|
14489
14971
|
* Get investigation by ID
|
|
14490
14972
|
* Returns the selected investigation and its current metadata.
|
|
@@ -16802,7 +17284,7 @@ exports.relayServerUpdateLabel = relayServerUpdateLabel;
|
|
|
16802
17284
|
* Returns connection, status, version, and organization details for the selected relay server.
|
|
16803
17285
|
*/
|
|
16804
17286
|
const relayServerGetById = (options) => {
|
|
16805
|
-
return (options
|
|
17287
|
+
return (options.client ?? client_gen_1.client).get({
|
|
16806
17288
|
responseType: 'json',
|
|
16807
17289
|
security: [
|
|
16808
17290
|
{
|
|
@@ -16856,7 +17338,7 @@ exports.relayServerFilter = relayServerFilter;
|
|
|
16856
17338
|
* Assigns a controlled reboot task to the selected relay server.
|
|
16857
17339
|
*/
|
|
16858
17340
|
const relayServerAssignRebootTask = (options) => {
|
|
16859
|
-
return (options
|
|
17341
|
+
return (options.client ?? client_gen_1.client).post({
|
|
16860
17342
|
security: [
|
|
16861
17343
|
{
|
|
16862
17344
|
scheme: 'bearer',
|
|
@@ -16882,7 +17364,7 @@ exports.relayServerAssignRebootTask = relayServerAssignRebootTask;
|
|
|
16882
17364
|
* Assigns a diagnostic log-retrieval task to the selected relay server.
|
|
16883
17365
|
*/
|
|
16884
17366
|
const relayServerAssignRetrieveLogTask = (options) => {
|
|
16885
|
-
return (options
|
|
17367
|
+
return (options.client ?? client_gen_1.client).post({
|
|
16886
17368
|
security: [
|
|
16887
17369
|
{
|
|
16888
17370
|
scheme: 'bearer',
|
|
@@ -16908,7 +17390,7 @@ exports.relayServerAssignRetrieveLogTask = relayServerAssignRetrieveLogTask;
|
|
|
16908
17390
|
* Assigns a version-update task that resolves an update-required issue on the selected relay server.
|
|
16909
17391
|
*/
|
|
16910
17392
|
const relayServerAssignFixUpdateRequiredIssueTask = (options) => {
|
|
16911
|
-
return (options
|
|
17393
|
+
return (options.client ?? client_gen_1.client).post({
|
|
16912
17394
|
security: [
|
|
16913
17395
|
{
|
|
16914
17396
|
scheme: 'bearer',
|
|
@@ -17139,7 +17621,7 @@ exports.processorGetAllProcessors = processorGetAllProcessors;
|
|
|
17139
17621
|
* Returns available processors that support the requested asset type.
|
|
17140
17622
|
*/
|
|
17141
17623
|
const processorGetProcessorsByAssetType = (options) => {
|
|
17142
|
-
return (options
|
|
17624
|
+
return (options.client ?? client_gen_1.client).get({
|
|
17143
17625
|
responseType: 'json',
|
|
17144
17626
|
security: [
|
|
17145
17627
|
{
|
|
@@ -17166,7 +17648,7 @@ exports.processorGetProcessorsByAssetType = processorGetProcessorsByAssetType;
|
|
|
17166
17648
|
* Returns the processor category AIR uses for the requested asset type.
|
|
17167
17649
|
*/
|
|
17168
17650
|
const processorGetProcessorTypeByAssetType = (options) => {
|
|
17169
|
-
return (options
|
|
17651
|
+
return (options.client ?? client_gen_1.client).get({
|
|
17170
17652
|
responseType: 'json',
|
|
17171
17653
|
security: [
|
|
17172
17654
|
{
|
|
@@ -17865,6 +18347,33 @@ const assetBulkTriageV2ApiControllerRunTriage = (options) => {
|
|
|
17865
18347
|
});
|
|
17866
18348
|
};
|
|
17867
18349
|
exports.assetBulkTriageV2ApiControllerRunTriage = assetBulkTriageV2ApiControllerRunTriage;
|
|
18350
|
+
/**
|
|
18351
|
+
* Deploy the AIR Responder to cloud assets
|
|
18352
|
+
* Resolves cloud assets by id or exact name, previews eligible targets with dryRun=true, and creates one agent-deployment task per organization with dryRun=false.
|
|
18353
|
+
*/
|
|
18354
|
+
const assetDeploymentV2ApiControllerDeploy = (options) => {
|
|
18355
|
+
return (options.client ?? client_gen_1.client).post({
|
|
18356
|
+
responseType: 'json',
|
|
18357
|
+
security: [
|
|
18358
|
+
{
|
|
18359
|
+
in: 'cookie',
|
|
18360
|
+
name: 'Authentication',
|
|
18361
|
+
type: 'apiKey'
|
|
18362
|
+
},
|
|
18363
|
+
{
|
|
18364
|
+
scheme: 'bearer',
|
|
18365
|
+
type: 'http'
|
|
18366
|
+
}
|
|
18367
|
+
],
|
|
18368
|
+
url: '/api/v2/deploy',
|
|
18369
|
+
...options,
|
|
18370
|
+
headers: {
|
|
18371
|
+
'Content-Type': 'application/json',
|
|
18372
|
+
...options.headers
|
|
18373
|
+
}
|
|
18374
|
+
});
|
|
18375
|
+
};
|
|
18376
|
+
exports.assetDeploymentV2ApiControllerDeploy = assetDeploymentV2ApiControllerDeploy;
|
|
17868
18377
|
/**
|
|
17869
18378
|
* List InterAct messages for an asset
|
|
17870
18379
|
* Lists the InterAct shell messages recorded for one asset, identified by UUID or exact name, across all of its sessions. Supports offset pagination, sorting, and filtering by session and creation date range. Each entry carries the command, its status, and the output inline or via outputUrl.
|
|
@@ -19597,6 +20106,33 @@ const automationHubUpdateAutomation = (options) => {
|
|
|
19597
20106
|
});
|
|
19598
20107
|
};
|
|
19599
20108
|
exports.automationHubUpdateAutomation = automationHubUpdateAutomation;
|
|
20109
|
+
/**
|
|
20110
|
+
* Get automation execution
|
|
20111
|
+
* Returns one execution belonging to the selected automation.
|
|
20112
|
+
*/
|
|
20113
|
+
const automationHubGetAutomationExecution = (options) => {
|
|
20114
|
+
return (options.client ?? client_gen_1.client).get({
|
|
20115
|
+
responseType: 'json',
|
|
20116
|
+
security: [
|
|
20117
|
+
{
|
|
20118
|
+
scheme: 'bearer',
|
|
20119
|
+
type: 'http'
|
|
20120
|
+
},
|
|
20121
|
+
{
|
|
20122
|
+
scheme: 'bearer',
|
|
20123
|
+
type: 'http'
|
|
20124
|
+
},
|
|
20125
|
+
{
|
|
20126
|
+
in: 'cookie',
|
|
20127
|
+
name: 'Authentication',
|
|
20128
|
+
type: 'apiKey'
|
|
20129
|
+
}
|
|
20130
|
+
],
|
|
20131
|
+
url: '/api/public/automation-hub/{id}/executions/{executionId}',
|
|
20132
|
+
...options
|
|
20133
|
+
});
|
|
20134
|
+
};
|
|
20135
|
+
exports.automationHubGetAutomationExecution = automationHubGetAutomationExecution;
|
|
19600
20136
|
/**
|
|
19601
20137
|
* Get automation executions
|
|
19602
20138
|
* Returns execution records belonging to the selected automation.
|