@binalyze/air-sdk 5.21.2 → 5.22.4
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.
|
@@ -3,17 +3,20 @@
|
|
|
3
3
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
exports.endpointExportCasesByEndpointId0 = exports.endpointGetCasesById1 = exports.endpointGetCasesById0 = exports.endpointSearch1 = exports.endpointSearch0 = exports.endpointFilterByPolicyFilter1 = exports.endpointFilterByPolicyFilter0 = exports.endpointFilterDisks1 = exports.endpointFilterDisks0 = exports.assetsSetMitreAttackDatabaseVersion2 = exports.assetsSetMitreAttackDatabaseVersion = exports.assetsAddTags2 = exports.assetsRemoveTags2 = exports.assetsAddTags = exports.assetsRemoveTags = exports.endpointPurgeAssetDataByFilter1 = exports.endpointPurgeAssetDataByFilter0 = exports.endpointUninstallEndpointsByFilter1 = exports.endpointUninstallEndpointsByFilter0 = exports.endpointUninstallAgentsAndPurgeByFilter2 = exports.endpointUninstallAgentsAndPurgeByFilter1 = exports.endpointUninstallAgentsAndPurgeByFilter0 = exports.endpointImportPpcToExistedEndpoint1 = exports.endpointImportPpcToExistedEndpoint0 = exports.endpointImportPpcAsEndpoint1 = exports.endpointImportPpcAsEndpoint0 = exports.assetsGetMany4 = exports.assetsGetMany3 = exports.endpointGetDeviceNameConflicts1 = exports.endpointGetDeviceNameConflicts0 = exports.endpointGetEndpointsStats1 = exports.endpointGetEndpointsStats0 = exports.endpointGetEndpointsWithTaskCount = exports.assetsGetManyByFilter2 = exports.assetsGetManyByFilter = exports.assetsGetMany2 = exports.assetsGetMany = exports.assetsUpdateLabel2 = exports.assetsUpdateLabel = exports.assetsUpdateTags2 = exports.assetsUpdateTags = exports.endpointExportEndpoints1 = exports.endpointExportEndpoints0 = exports.paramsGetMitreAttackTactics = exports.paramsEvidenceList = exports.paramsEventLogRecordTypes = exports.paramsEDiscoveryPatterns = exports.paramsGetDroneAnalyzers = exports.loggerDownloadLogsDir = exports.appGetBasicInfo = void 0;
|
|
6
|
-
exports.endpointTaskRetryUpload1 = exports.endpointTaskRetryUpload0 = exports.endpointTaskPurgeLocalData1 = exports.endpointTaskPurgeLocalData0 = exports.assetsGetTasks2 = exports.assetsGetTasks = exports.assetsAssignIsolationTask2 = exports.assetsAssignIsolationTask = exports.
|
|
7
|
-
exports.
|
|
8
|
-
exports.
|
|
9
|
-
exports.
|
|
10
|
-
exports.
|
|
11
|
-
exports.
|
|
12
|
-
exports.
|
|
13
|
-
exports.
|
|
14
|
-
exports.
|
|
15
|
-
exports.
|
|
16
|
-
exports.
|
|
6
|
+
exports.endpointTaskRetryUpload1 = exports.endpointTaskRetryUpload0 = exports.endpointTaskPurgeLocalData1 = exports.endpointTaskPurgeLocalData0 = exports.assetsGetTasks2 = exports.assetsGetTasks = exports.assetsAssignIsolationTask2 = exports.assetsAssignIsolationTask = exports.assetsAssignVersionUpdateTask2 = exports.assetsAssignVersionUpdateTask = exports.endpointTaskAssignRetrieveLogTask1 = exports.endpointTaskAssignRetrieveLogTask0 = exports.assetsAssignShutdownTask2 = exports.assetsAssignShutdownTask = exports.assetsAssignRebootTask2 = exports.assetsAssignRebootTask = 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.endpointTagDeleteTag = exports.endpointTagDeleteAllTags = exports.endpointTagFilterTags = 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 = void 0;
|
|
7
|
+
exports.settingsSaveConsoleAddress = exports.settingsValidateConsoleAddress = exports.settingsSaveRfc3161 = exports.settingsSaveLocard = exports.settingsSaveIpRestriction = 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 = void 0;
|
|
8
|
+
exports.licenseSetLicense = exports.licenseGetLicense = exports.userPatTokensDelete = exports.userPatTokensRotate = exports.userPatTokensCreate = exports.userPatTokensGetMany = exports.userGroupUpdateGroup = 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.settingsSaveUninstallationPasswordProtection = exports.settingsSaveBanner = void 0;
|
|
9
|
+
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.gitRepositoriesGetRepositoryBranches = exports.gitRepositoriesTestConnection = exports.gitRepositoriesBrowseTree = exports.gitRepositoriesGetSyncLogs = exports.gitRepositoriesTriggerSync = exports.gitRepositoriesBulkDelete = exports.gitRepositoriesUpdate = exports.gitRepositoriesGetOne = exports.gitRepositoriesDelete = exports.gitRepositoriesCreate = exports.gitRepositoriesGetMany = exports.acquisitionLibraryDeviceV2ApiControllerUpdate = exports.acquisitionLibraryDeviceV2ApiControllerGet = exports.acquisitionLibraryDeviceV2ApiControllerDelete = exports.acquisitionLibraryDeviceV2ApiControllerBulkDelete = exports.acquisitionLibraryDeviceV2ApiControllerCreate = exports.acquisitionLibraryDeviceV2ApiControllerList = exports.acquisitionValidateOsQueries = exports.acquisitionUpdateScheduledImageAcquisition = exports.acquisitionUpdateScheduledEvidenceAcquisition = exports.acquisitionAcquireImage = exports.createOffNetworkAcquisitionTaskFile = exports.acquisitionAssignEvidenceTask2 = exports.acquisitionAssignEvidenceTask = exports.acquisitionDeleteBulk = exports.acquisitionUpdate = exports.acquisitionGet = exports.acquisitionDelete = exports.acquisitionCreate = exports.acquisitionProfilesGetOne = exports.licenseGetQuota = exports.licenseGetSubscriptionDetails = exports.licenseRefreshLicense = void 0;
|
|
10
|
+
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.evidenceRepositoryUpdateGoogleCloudStorage = exports.evidenceRepositoryCreateGoogleCloudStorage = exports.evidenceRepositoryValidateGoogleCloudStorage = exports.evidenceRepositoryValidateSftpRepository = exports.evidenceRepositoryValidateFtpsRepository = exports.evidenceRepositoryValidateAzureStorage = exports.evidenceRepositoryValidateS3Compatible = exports.evidenceRepositoryValidateAmazonS3 = exports.evidenceRepositoryValidateById = exports.evidenceRepositoriesGetMany = exports.evidenceRepositoriesGet = 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 = void 0;
|
|
11
|
+
exports.caseDeleteCaseNote = exports.caseAddCaseNote = exports.caseExportActivities = exports.casesGetActivities = exports.casesGetEndpoints2 = exports.casesGetEndpoints = exports.caseFilterTaskAssignments = exports.casesGetTasks = exports.casesChangeOwner = exports.casesArchiveByFilter = exports.casesCloseByFilter = exports.caseArchiveCase = exports.caseReopenCase = exports.casesClose = exports.casesCreate = exports.casesGetMany = exports.caseUpdateCase = exports.casesGet = exports.caseExportCaseEndpoints1 = exports.caseExportCaseEndpoints0 = exports.caseExportCaseNotes = exports.caseExportCases = exports.casesCheckName = exports.autoAssetTagUpdateScheduledAatTask = exports.autoAssetTagAssignAutoAssetTaggingTask = exports.autoAssetTagDeleteBulk = exports.autoAssetTagUpdateStatus = exports.autoAssetTagUpdateAutoAssetTag = exports.autoAssetTagGetById = exports.autoAssetTagDelete = exports.autoAssetTagSaveAutoAssetTag = exports.autoAssetTagFilter = 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 = void 0;
|
|
12
|
+
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 = 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.updateCaseCloseReport2 = exports.getCaseCloseReport2 = exports.updateCaseCloseReport = exports.getCaseCloseReport = exports.getCaseCloseReportHistory = exports.caseCategoriesDelete = exports.caseCategoriesCreate = exports.caseCategoriesFilter = exports.caseTagsDelete = exports.caseTagsCreate = exports.caseTagsFilter = exports.caseRemoveTaskAssignmentFromCase = exports.caseRemoveEndpointsFromCaseByFilter1 = exports.caseRemoveEndpointsFromCaseByFilter0 = exports.casesGetUsers = exports.caseImportTaskAssignment = exports.caseEditCaseNote = void 0;
|
|
13
|
+
exports.investigationExportFlags = exports.investigationGetEvidenceRelationData = exports.investigationGetEvidenceData = exports.investigationGetEvidenceDataStructure = exports.investigationGetInvestigationMigrationsSummary = exports.investigationUpdateInvestigation = exports.investigationGetInvestigationById = exports.cloudAccountsSyncAllCloudAccount = exports.cloudAccountsSyncCloudAccount = exports.cloudAccountsUpdateCloudAccount = exports.cloudAccountsGetCloudAccountById = exports.cloudAccountsDelete = exports.cloudAccountsExport = exports.cloudAccountsGetConfig = 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.interactLibraryFileV2ApiControllerDownload = exports.interactLibraryFileV2ApiControllerDelete = exports.interactLibraryFileV2ApiControllerBulkDelete = exports.interactLibraryFileV2ApiControllerUpload = exports.interactLibraryFileV2ApiControllerList = exports.interactLibraryTagV2ApiControllerUpdate = exports.interactLibraryTagV2ApiControllerGet = exports.interactLibraryTagV2ApiControllerDelete = exports.interactLibraryTagV2ApiControllerBulkDelete = exports.interactLibraryTagV2ApiControllerCreate = exports.interactLibraryTagV2ApiControllerList = exports.interactLibrarySnippetV2ApiControllerUpdate = void 0;
|
|
14
|
+
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 = exports.investigationFilterEndpointFindings = exports.investigationGetFindingDataStructure = exports.investigationGetSummary = exports.investigationGetSectionsByEndpoints = exports.investigationGetAssetsByInvestigationId = exports.investigationCreateExportRequestForSectionData = exports.investigationExportEvidenceData = exports.investigationCreateExportRequestForFlags = void 0;
|
|
15
|
+
exports.assetActionV2ApiControllerEnableMaintenance = exports.assetActionV2ApiControllerVersionUpdate = exports.assetActionV2ApiControllerRetrieveLogs = exports.assetActionV2ApiControllerUnisolate = exports.assetActionV2ApiControllerIsolate = exports.assetActionV2ApiControllerShutdown = exports.assetActionV2ApiControllerReboot = exports.assetV2ApiControllerUpdateLabel = exports.assetV2ApiControllerReplaceTags = exports.assetV2ApiControllerGetAsset = exports.assetV2ApiControllerDeleteAsset = exports.assetV2ApiControllerFilterAssets = exports.assetV2ApiControllerExportAssets = exports.assetV2ApiControllerGetStats = 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 = exports.investigationCommentDeleteComment = exports.investigationCommentCommentEvidence = exports.investigationCommentFilterComments = exports.investigationActivityMarkAsRead = exports.investigationActivityFilter = exports.investigationFlagUpdateFlag = exports.investigationFlagDeleteFlag = exports.investigationFlagCreateFlag = void 0;
|
|
16
|
+
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.assetInteractV2ApiControllerCloseSession = exports.assetInteractV2ApiControllerCancelCommand = exports.assetInteractV2ApiControllerRunCommand = exports.assetInteractMessageV2ApiControllerListForAsset = exports.assetAcquisitionV2ApiControllerFilterAcquisitionTasks = exports.assetAcquisitionV2ApiControllerDeleteAcquisitionAssignment = exports.assetAcquisitionV2ApiControllerCancelAcquisition = exports.assetAcquisitionV2ApiControllerAcquire = exports.assetTriageV2ApiControllerDeleteTriageAssignment = exports.assetTriageV2ApiControllerCancelTriage = exports.assetTriageV2ApiControllerRunTriage = exports.assetTriageV2ApiControllerFilterTriageTasks = exports.assetBulkTriageV2ApiControllerRunTriage = exports.assetBulkMetadataV2ApiControllerImportOffNetworkPpc = exports.assetBulkMetadataV2ApiControllerDeleteAssets = 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 = void 0;
|
|
17
|
+
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.automationHubGetAutomationChangeHistory = exports.automationHubGetAutomationExecutions = 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 = exports.investigationDataUsageDeleteFilter = exports.investigationDataUsageGetFilters = exports.investigationDataUsageGetDataUsageFilters = exports.investigationDataUsageGetHistoricalDataUsageStatistics = exports.investigationDataUsageGetActualDataUsageStatistics = exports.investigationDataUsageCreateExportRequestForActualDataUsages = exports.investigationDataUsageExportActualDataUsages = void 0;
|
|
18
|
+
exports.diskImageAcquisitionTasksDownload = exports.diskImageAcquisitionTasksCreate = exports.diskImageAcquisitionLibraryApiControllerUpdate = exports.diskImageAcquisitionLibraryApiControllerGet = exports.diskImageAcquisitionLibraryApiControllerDelete = exports.diskImageAcquisitionLibraryApiControllerBulkDelete = exports.diskImageAcquisitionLibraryApiControllerCreate = exports.diskImageAcquisitionLibraryApiControllerList = exports.imageEvidenceAcquisitionProfilesDeleteBulk = exports.imageEvidenceAcquisitionProfilesUpdate = exports.imageEvidenceAcquisitionProfilesGetOne = exports.imageEvidenceAcquisitionProfilesDelete = void 0;
|
|
19
|
+
const client_1 = require("./client");
|
|
17
20
|
const client_gen_1 = require("./client.gen");
|
|
18
21
|
const appGetBasicInfo = (options) => {
|
|
19
22
|
return (options?.client ?? client_gen_1.client).get({
|
|
@@ -1471,8 +1474,13 @@ const endpointTaskAssignRetrieveLogTask1 = (options) => {
|
|
|
1471
1474
|
});
|
|
1472
1475
|
};
|
|
1473
1476
|
exports.endpointTaskAssignRetrieveLogTask1 = endpointTaskAssignRetrieveLogTask1;
|
|
1474
|
-
|
|
1477
|
+
/**
|
|
1478
|
+
* Assign version update task to an asset
|
|
1479
|
+
* Creates and assigns a Responder version update task to one or more assets
|
|
1480
|
+
*/
|
|
1481
|
+
const assetsAssignVersionUpdateTask = (options) => {
|
|
1475
1482
|
return (options.client ?? client_gen_1.client).post({
|
|
1483
|
+
responseType: 'json',
|
|
1476
1484
|
security: [
|
|
1477
1485
|
{
|
|
1478
1486
|
scheme: 'bearer',
|
|
@@ -1487,9 +1495,14 @@ const endpointTaskAssignFixUpdateRequiredIssueTask0 = (options) => {
|
|
|
1487
1495
|
}
|
|
1488
1496
|
});
|
|
1489
1497
|
};
|
|
1490
|
-
exports.
|
|
1491
|
-
|
|
1498
|
+
exports.assetsAssignVersionUpdateTask = assetsAssignVersionUpdateTask;
|
|
1499
|
+
/**
|
|
1500
|
+
* Assign version update task to an asset
|
|
1501
|
+
* Creates and assigns a Responder version update task to one or more assets
|
|
1502
|
+
*/
|
|
1503
|
+
const assetsAssignVersionUpdateTask2 = (options) => {
|
|
1492
1504
|
return (options.client ?? client_gen_1.client).post({
|
|
1505
|
+
responseType: 'json',
|
|
1493
1506
|
security: [
|
|
1494
1507
|
{
|
|
1495
1508
|
scheme: 'bearer',
|
|
@@ -1504,7 +1517,7 @@ const endpointTaskAssignFixUpdateRequiredIssueTask1 = (options) => {
|
|
|
1504
1517
|
}
|
|
1505
1518
|
});
|
|
1506
1519
|
};
|
|
1507
|
-
exports.
|
|
1520
|
+
exports.assetsAssignVersionUpdateTask2 = assetsAssignVersionUpdateTask2;
|
|
1508
1521
|
/**
|
|
1509
1522
|
* Assign isolation task to an asset
|
|
1510
1523
|
* Creates and assigns an isolation task to one or more assets by filter
|
|
@@ -1728,6 +1741,220 @@ const taskAssignmentGenerateTaskAssignmentReport = (options) => {
|
|
|
1728
1741
|
});
|
|
1729
1742
|
};
|
|
1730
1743
|
exports.taskAssignmentGenerateTaskAssignmentReport = taskAssignmentGenerateTaskAssignmentReport;
|
|
1744
|
+
/**
|
|
1745
|
+
* Get task by id
|
|
1746
|
+
* Returns a single task wrapped in entities[0], type-discriminated. 404 leak-safe.
|
|
1747
|
+
*/
|
|
1748
|
+
const tasksV2ApiControllerGetTaskById = (options) => {
|
|
1749
|
+
return (options.client ?? client_gen_1.client).get({
|
|
1750
|
+
responseType: 'json',
|
|
1751
|
+
security: [
|
|
1752
|
+
{
|
|
1753
|
+
in: 'cookie',
|
|
1754
|
+
name: 'Authentication',
|
|
1755
|
+
type: 'apiKey'
|
|
1756
|
+
},
|
|
1757
|
+
{
|
|
1758
|
+
scheme: 'bearer',
|
|
1759
|
+
type: 'http'
|
|
1760
|
+
}
|
|
1761
|
+
],
|
|
1762
|
+
url: '/api/v2/tasks/{taskId}',
|
|
1763
|
+
...options
|
|
1764
|
+
});
|
|
1765
|
+
};
|
|
1766
|
+
exports.tasksV2ApiControllerGetTaskById = tasksV2ApiControllerGetTaskById;
|
|
1767
|
+
/**
|
|
1768
|
+
* Update a task (rename + schedule; dryRun query preview)
|
|
1769
|
+
*/
|
|
1770
|
+
const tasksV2ApiControllerUpdateTask = (options) => {
|
|
1771
|
+
return (options.client ?? client_gen_1.client).patch({
|
|
1772
|
+
responseType: 'json',
|
|
1773
|
+
security: [
|
|
1774
|
+
{
|
|
1775
|
+
in: 'cookie',
|
|
1776
|
+
name: 'Authentication',
|
|
1777
|
+
type: 'apiKey'
|
|
1778
|
+
},
|
|
1779
|
+
{
|
|
1780
|
+
scheme: 'bearer',
|
|
1781
|
+
type: 'http'
|
|
1782
|
+
}
|
|
1783
|
+
],
|
|
1784
|
+
url: '/api/v2/tasks/{taskId}',
|
|
1785
|
+
...options,
|
|
1786
|
+
headers: {
|
|
1787
|
+
'Content-Type': 'application/json',
|
|
1788
|
+
...options.headers
|
|
1789
|
+
}
|
|
1790
|
+
});
|
|
1791
|
+
};
|
|
1792
|
+
exports.tasksV2ApiControllerUpdateTask = tasksV2ApiControllerUpdateTask;
|
|
1793
|
+
/**
|
|
1794
|
+
* List a task assets
|
|
1795
|
+
* Paginated assets targeted by the task, in the shared GET /v2/assets shape.
|
|
1796
|
+
*/
|
|
1797
|
+
const tasksV2ApiControllerListTaskAssets = (options) => {
|
|
1798
|
+
return (options.client ?? client_gen_1.client).get({
|
|
1799
|
+
responseType: 'json',
|
|
1800
|
+
security: [
|
|
1801
|
+
{
|
|
1802
|
+
in: 'cookie',
|
|
1803
|
+
name: 'Authentication',
|
|
1804
|
+
type: 'apiKey'
|
|
1805
|
+
},
|
|
1806
|
+
{
|
|
1807
|
+
scheme: 'bearer',
|
|
1808
|
+
type: 'http'
|
|
1809
|
+
}
|
|
1810
|
+
],
|
|
1811
|
+
url: '/api/v2/tasks/{taskId}/assets',
|
|
1812
|
+
...options
|
|
1813
|
+
});
|
|
1814
|
+
};
|
|
1815
|
+
exports.tasksV2ApiControllerListTaskAssets = tasksV2ApiControllerListTaskAssets;
|
|
1816
|
+
/**
|
|
1817
|
+
* List a task assignments
|
|
1818
|
+
* Paginated task assignments for the task, with resolved organization and cases.
|
|
1819
|
+
*/
|
|
1820
|
+
const tasksV2ApiControllerListTaskAssignments = (options) => {
|
|
1821
|
+
return (options.client ?? client_gen_1.client).get({
|
|
1822
|
+
responseType: 'json',
|
|
1823
|
+
security: [
|
|
1824
|
+
{
|
|
1825
|
+
in: 'cookie',
|
|
1826
|
+
name: 'Authentication',
|
|
1827
|
+
type: 'apiKey'
|
|
1828
|
+
},
|
|
1829
|
+
{
|
|
1830
|
+
scheme: 'bearer',
|
|
1831
|
+
type: 'http'
|
|
1832
|
+
}
|
|
1833
|
+
],
|
|
1834
|
+
url: '/api/v2/tasks/{taskId}/task-assignments',
|
|
1835
|
+
...options
|
|
1836
|
+
});
|
|
1837
|
+
};
|
|
1838
|
+
exports.tasksV2ApiControllerListTaskAssignments = tasksV2ApiControllerListTaskAssignments;
|
|
1839
|
+
/**
|
|
1840
|
+
* List hunt (triage) tasks
|
|
1841
|
+
* Paginated task-centric hunt (triage) list. Also served at /api/v2/triage.
|
|
1842
|
+
*/
|
|
1843
|
+
const tasksTriageV2ApiControllerListHuntTasks = (options) => {
|
|
1844
|
+
return (options?.client ?? client_gen_1.client).get({
|
|
1845
|
+
responseType: 'json',
|
|
1846
|
+
security: [
|
|
1847
|
+
{
|
|
1848
|
+
in: 'cookie',
|
|
1849
|
+
name: 'Authentication',
|
|
1850
|
+
type: 'apiKey'
|
|
1851
|
+
},
|
|
1852
|
+
{
|
|
1853
|
+
scheme: 'bearer',
|
|
1854
|
+
type: 'http'
|
|
1855
|
+
}
|
|
1856
|
+
],
|
|
1857
|
+
url: '/api/v2/hunt',
|
|
1858
|
+
...options
|
|
1859
|
+
});
|
|
1860
|
+
};
|
|
1861
|
+
exports.tasksTriageV2ApiControllerListHuntTasks = tasksTriageV2ApiControllerListHuntTasks;
|
|
1862
|
+
/**
|
|
1863
|
+
* Bulk cancel hunt (triage) tasks (body dryRun preview)
|
|
1864
|
+
*/
|
|
1865
|
+
const tasksTriageV2ApiControllerCancel = (options) => {
|
|
1866
|
+
return (options.client ?? client_gen_1.client).post({
|
|
1867
|
+
responseType: 'json',
|
|
1868
|
+
security: [
|
|
1869
|
+
{
|
|
1870
|
+
in: 'cookie',
|
|
1871
|
+
name: 'Authentication',
|
|
1872
|
+
type: 'apiKey'
|
|
1873
|
+
},
|
|
1874
|
+
{
|
|
1875
|
+
scheme: 'bearer',
|
|
1876
|
+
type: 'http'
|
|
1877
|
+
}
|
|
1878
|
+
],
|
|
1879
|
+
url: '/api/v2/hunt/cancel',
|
|
1880
|
+
...options,
|
|
1881
|
+
headers: {
|
|
1882
|
+
'Content-Type': 'application/json',
|
|
1883
|
+
...options.headers
|
|
1884
|
+
}
|
|
1885
|
+
});
|
|
1886
|
+
};
|
|
1887
|
+
exports.tasksTriageV2ApiControllerCancel = tasksTriageV2ApiControllerCancel;
|
|
1888
|
+
/**
|
|
1889
|
+
* Bulk delete hunt (triage) tasks (body dryRun preview)
|
|
1890
|
+
*/
|
|
1891
|
+
const tasksTriageV2ApiControllerDelete = (options) => {
|
|
1892
|
+
return (options.client ?? client_gen_1.client).post({
|
|
1893
|
+
responseType: 'json',
|
|
1894
|
+
security: [
|
|
1895
|
+
{
|
|
1896
|
+
in: 'cookie',
|
|
1897
|
+
name: 'Authentication',
|
|
1898
|
+
type: 'apiKey'
|
|
1899
|
+
},
|
|
1900
|
+
{
|
|
1901
|
+
scheme: 'bearer',
|
|
1902
|
+
type: 'http'
|
|
1903
|
+
}
|
|
1904
|
+
],
|
|
1905
|
+
url: '/api/v2/hunt/delete',
|
|
1906
|
+
...options,
|
|
1907
|
+
headers: {
|
|
1908
|
+
'Content-Type': 'application/json',
|
|
1909
|
+
...options.headers
|
|
1910
|
+
}
|
|
1911
|
+
});
|
|
1912
|
+
};
|
|
1913
|
+
exports.tasksTriageV2ApiControllerDelete = tasksTriageV2ApiControllerDelete;
|
|
1914
|
+
/**
|
|
1915
|
+
* Cancel a single hunt (triage) task (dryRun query preview)
|
|
1916
|
+
*/
|
|
1917
|
+
const tasksTriageV2ApiControllerCancelOne = (options) => {
|
|
1918
|
+
return (options.client ?? client_gen_1.client).post({
|
|
1919
|
+
responseType: 'json',
|
|
1920
|
+
security: [
|
|
1921
|
+
{
|
|
1922
|
+
in: 'cookie',
|
|
1923
|
+
name: 'Authentication',
|
|
1924
|
+
type: 'apiKey'
|
|
1925
|
+
},
|
|
1926
|
+
{
|
|
1927
|
+
scheme: 'bearer',
|
|
1928
|
+
type: 'http'
|
|
1929
|
+
}
|
|
1930
|
+
],
|
|
1931
|
+
url: '/api/v2/hunt/{taskId}/cancel',
|
|
1932
|
+
...options
|
|
1933
|
+
});
|
|
1934
|
+
};
|
|
1935
|
+
exports.tasksTriageV2ApiControllerCancelOne = tasksTriageV2ApiControllerCancelOne;
|
|
1936
|
+
/**
|
|
1937
|
+
* Delete a single hunt (triage) task (dryRun query preview)
|
|
1938
|
+
*/
|
|
1939
|
+
const tasksTriageV2ApiControllerDeleteOne = (options) => {
|
|
1940
|
+
return (options.client ?? client_gen_1.client).post({
|
|
1941
|
+
responseType: 'json',
|
|
1942
|
+
security: [
|
|
1943
|
+
{
|
|
1944
|
+
in: 'cookie',
|
|
1945
|
+
name: 'Authentication',
|
|
1946
|
+
type: 'apiKey'
|
|
1947
|
+
},
|
|
1948
|
+
{
|
|
1949
|
+
scheme: 'bearer',
|
|
1950
|
+
type: 'http'
|
|
1951
|
+
}
|
|
1952
|
+
],
|
|
1953
|
+
url: '/api/v2/hunt/{taskId}/delete',
|
|
1954
|
+
...options
|
|
1955
|
+
});
|
|
1956
|
+
};
|
|
1957
|
+
exports.tasksTriageV2ApiControllerDeleteOne = tasksTriageV2ApiControllerDeleteOne;
|
|
1731
1958
|
const settingsGetSettings = (options) => {
|
|
1732
1959
|
return (options?.client ?? client_gen_1.client).get({
|
|
1733
1960
|
security: [
|
|
@@ -1775,8 +2002,27 @@ const settingsSaveProxy = (options) => {
|
|
|
1775
2002
|
});
|
|
1776
2003
|
};
|
|
1777
2004
|
exports.settingsSaveProxy = settingsSaveProxy;
|
|
1778
|
-
const
|
|
2005
|
+
const settingsTestProxy0 = (options) => {
|
|
1779
2006
|
return (options.client ?? client_gen_1.client).post({
|
|
2007
|
+
responseType: 'json',
|
|
2008
|
+
security: [
|
|
2009
|
+
{
|
|
2010
|
+
scheme: 'bearer',
|
|
2011
|
+
type: 'http'
|
|
2012
|
+
}
|
|
2013
|
+
],
|
|
2014
|
+
url: '/api/public/settings/proxy/test',
|
|
2015
|
+
...options,
|
|
2016
|
+
headers: {
|
|
2017
|
+
'Content-Type': 'application/json',
|
|
2018
|
+
...options.headers
|
|
2019
|
+
}
|
|
2020
|
+
});
|
|
2021
|
+
};
|
|
2022
|
+
exports.settingsTestProxy0 = settingsTestProxy0;
|
|
2023
|
+
const settingsTestProxy1 = (options) => {
|
|
2024
|
+
return (options.client ?? client_gen_1.client).post({
|
|
2025
|
+
responseType: 'json',
|
|
1780
2026
|
security: [
|
|
1781
2027
|
{
|
|
1782
2028
|
scheme: 'bearer',
|
|
@@ -1791,7 +2037,7 @@ const settingsValidateProxy = (options) => {
|
|
|
1791
2037
|
}
|
|
1792
2038
|
});
|
|
1793
2039
|
};
|
|
1794
|
-
exports.
|
|
2040
|
+
exports.settingsTestProxy1 = settingsTestProxy1;
|
|
1795
2041
|
const settingsGetTrustedCertificates = (options) => {
|
|
1796
2042
|
return (options?.client ?? client_gen_1.client).get({
|
|
1797
2043
|
responseType: 'json',
|
|
@@ -1823,6 +2069,23 @@ const settingsAddTrustedCertificate = (options) => {
|
|
|
1823
2069
|
});
|
|
1824
2070
|
};
|
|
1825
2071
|
exports.settingsAddTrustedCertificate = settingsAddTrustedCertificate;
|
|
2072
|
+
const settingsAddTrustedCertificateWithoutValidation = (options) => {
|
|
2073
|
+
return (options.client ?? client_gen_1.client).post({
|
|
2074
|
+
security: [
|
|
2075
|
+
{
|
|
2076
|
+
scheme: 'bearer',
|
|
2077
|
+
type: 'http'
|
|
2078
|
+
}
|
|
2079
|
+
],
|
|
2080
|
+
url: '/api/public/settings/trusted-certificates/without-validation',
|
|
2081
|
+
...options,
|
|
2082
|
+
headers: {
|
|
2083
|
+
'Content-Type': 'application/json',
|
|
2084
|
+
...options.headers
|
|
2085
|
+
}
|
|
2086
|
+
});
|
|
2087
|
+
};
|
|
2088
|
+
exports.settingsAddTrustedCertificateWithoutValidation = settingsAddTrustedCertificateWithoutValidation;
|
|
1826
2089
|
const settingsDeleteTrustedCertificate = (options) => {
|
|
1827
2090
|
return (options.client ?? client_gen_1.client).delete({
|
|
1828
2091
|
security: [
|
|
@@ -3213,8 +3476,13 @@ const acquisitionAssignEvidenceTask2 = (options) => {
|
|
|
3213
3476
|
});
|
|
3214
3477
|
};
|
|
3215
3478
|
exports.acquisitionAssignEvidenceTask2 = acquisitionAssignEvidenceTask2;
|
|
3216
|
-
|
|
3479
|
+
/**
|
|
3480
|
+
* Create Off Network Acquisition Task File
|
|
3481
|
+
* Create an acquisition task file for off network access
|
|
3482
|
+
*/
|
|
3483
|
+
const createOffNetworkAcquisitionTaskFile = (options) => {
|
|
3217
3484
|
return (options.client ?? client_gen_1.client).post({
|
|
3485
|
+
responseType: 'json',
|
|
3218
3486
|
security: [
|
|
3219
3487
|
{
|
|
3220
3488
|
scheme: 'bearer',
|
|
@@ -3229,7 +3497,7 @@ const acquisitionCreateOffNetworkAcquisitionTaskFile = (options) => {
|
|
|
3229
3497
|
}
|
|
3230
3498
|
});
|
|
3231
3499
|
};
|
|
3232
|
-
exports.
|
|
3500
|
+
exports.createOffNetworkAcquisitionTaskFile = createOffNetworkAcquisitionTaskFile;
|
|
3233
3501
|
const acquisitionAcquireImage = (options) => {
|
|
3234
3502
|
return (options.client ?? client_gen_1.client).post({
|
|
3235
3503
|
security: [
|
|
@@ -3299,37 +3567,45 @@ const acquisitionValidateOsQueries = (options) => {
|
|
|
3299
3567
|
};
|
|
3300
3568
|
exports.acquisitionValidateOsQueries = acquisitionValidateOsQueries;
|
|
3301
3569
|
/**
|
|
3302
|
-
*
|
|
3303
|
-
* Retrieve all git repositories with optional filters
|
|
3570
|
+
* List device acquisition profiles
|
|
3304
3571
|
*/
|
|
3305
|
-
const
|
|
3306
|
-
return (options
|
|
3572
|
+
const acquisitionLibraryDeviceV2ApiControllerList = (options) => {
|
|
3573
|
+
return (options?.client ?? client_gen_1.client).get({
|
|
3307
3574
|
responseType: 'json',
|
|
3308
3575
|
security: [
|
|
3576
|
+
{
|
|
3577
|
+
in: 'cookie',
|
|
3578
|
+
name: 'Authentication',
|
|
3579
|
+
type: 'apiKey'
|
|
3580
|
+
},
|
|
3309
3581
|
{
|
|
3310
3582
|
scheme: 'bearer',
|
|
3311
3583
|
type: 'http'
|
|
3312
3584
|
}
|
|
3313
3585
|
],
|
|
3314
|
-
url: '/api/
|
|
3586
|
+
url: '/api/v2/libraries/acquisition/device',
|
|
3315
3587
|
...options
|
|
3316
3588
|
});
|
|
3317
3589
|
};
|
|
3318
|
-
exports.
|
|
3590
|
+
exports.acquisitionLibraryDeviceV2ApiControllerList = acquisitionLibraryDeviceV2ApiControllerList;
|
|
3319
3591
|
/**
|
|
3320
|
-
* Create
|
|
3321
|
-
* Create a new git repository for syncing content
|
|
3592
|
+
* Create device acquisition profile
|
|
3322
3593
|
*/
|
|
3323
|
-
const
|
|
3594
|
+
const acquisitionLibraryDeviceV2ApiControllerCreate = (options) => {
|
|
3324
3595
|
return (options.client ?? client_gen_1.client).post({
|
|
3325
3596
|
responseType: 'json',
|
|
3326
3597
|
security: [
|
|
3598
|
+
{
|
|
3599
|
+
in: 'cookie',
|
|
3600
|
+
name: 'Authentication',
|
|
3601
|
+
type: 'apiKey'
|
|
3602
|
+
},
|
|
3327
3603
|
{
|
|
3328
3604
|
scheme: 'bearer',
|
|
3329
3605
|
type: 'http'
|
|
3330
3606
|
}
|
|
3331
3607
|
],
|
|
3332
|
-
url: '/api/
|
|
3608
|
+
url: '/api/v2/libraries/acquisition/device',
|
|
3333
3609
|
...options,
|
|
3334
3610
|
headers: {
|
|
3335
3611
|
'Content-Type': 'application/json',
|
|
@@ -3337,77 +3613,95 @@ const gitRepositoriesCreate = (options) => {
|
|
|
3337
3613
|
}
|
|
3338
3614
|
});
|
|
3339
3615
|
};
|
|
3340
|
-
exports.
|
|
3616
|
+
exports.acquisitionLibraryDeviceV2ApiControllerCreate = acquisitionLibraryDeviceV2ApiControllerCreate;
|
|
3341
3617
|
/**
|
|
3342
|
-
*
|
|
3343
|
-
* Delete an existing repository connection by ID
|
|
3618
|
+
* Bulk delete device acquisition profiles
|
|
3344
3619
|
*/
|
|
3345
|
-
const
|
|
3346
|
-
return (options.client ?? client_gen_1.client).
|
|
3620
|
+
const acquisitionLibraryDeviceV2ApiControllerBulkDelete = (options) => {
|
|
3621
|
+
return (options.client ?? client_gen_1.client).post({
|
|
3622
|
+
responseType: 'json',
|
|
3347
3623
|
security: [
|
|
3624
|
+
{
|
|
3625
|
+
in: 'cookie',
|
|
3626
|
+
name: 'Authentication',
|
|
3627
|
+
type: 'apiKey'
|
|
3628
|
+
},
|
|
3348
3629
|
{
|
|
3349
3630
|
scheme: 'bearer',
|
|
3350
3631
|
type: 'http'
|
|
3351
3632
|
}
|
|
3352
3633
|
],
|
|
3353
|
-
url: '/api/
|
|
3354
|
-
...options
|
|
3634
|
+
url: '/api/v2/libraries/acquisition/device/delete',
|
|
3635
|
+
...options,
|
|
3636
|
+
headers: {
|
|
3637
|
+
'Content-Type': 'application/json',
|
|
3638
|
+
...options.headers
|
|
3639
|
+
}
|
|
3355
3640
|
});
|
|
3356
3641
|
};
|
|
3357
|
-
exports.
|
|
3642
|
+
exports.acquisitionLibraryDeviceV2ApiControllerBulkDelete = acquisitionLibraryDeviceV2ApiControllerBulkDelete;
|
|
3358
3643
|
/**
|
|
3359
|
-
*
|
|
3360
|
-
* Retrieve a specific git repository
|
|
3644
|
+
* Delete device acquisition profile
|
|
3361
3645
|
*/
|
|
3362
|
-
const
|
|
3363
|
-
return (options.client ?? client_gen_1.client).
|
|
3646
|
+
const acquisitionLibraryDeviceV2ApiControllerDelete = (options) => {
|
|
3647
|
+
return (options.client ?? client_gen_1.client).delete({
|
|
3364
3648
|
responseType: 'json',
|
|
3365
3649
|
security: [
|
|
3650
|
+
{
|
|
3651
|
+
in: 'cookie',
|
|
3652
|
+
name: 'Authentication',
|
|
3653
|
+
type: 'apiKey'
|
|
3654
|
+
},
|
|
3366
3655
|
{
|
|
3367
3656
|
scheme: 'bearer',
|
|
3368
3657
|
type: 'http'
|
|
3369
3658
|
}
|
|
3370
3659
|
],
|
|
3371
|
-
url: '/api/
|
|
3660
|
+
url: '/api/v2/libraries/acquisition/device/{idOrName}',
|
|
3372
3661
|
...options
|
|
3373
3662
|
});
|
|
3374
3663
|
};
|
|
3375
|
-
exports.
|
|
3664
|
+
exports.acquisitionLibraryDeviceV2ApiControllerDelete = acquisitionLibraryDeviceV2ApiControllerDelete;
|
|
3376
3665
|
/**
|
|
3377
|
-
*
|
|
3378
|
-
* Update an existing git repository configuration
|
|
3666
|
+
* Get device acquisition profile by id or name
|
|
3379
3667
|
*/
|
|
3380
|
-
const
|
|
3381
|
-
return (options.client ?? client_gen_1.client).
|
|
3668
|
+
const acquisitionLibraryDeviceV2ApiControllerGet = (options) => {
|
|
3669
|
+
return (options.client ?? client_gen_1.client).get({
|
|
3382
3670
|
responseType: 'json',
|
|
3383
3671
|
security: [
|
|
3672
|
+
{
|
|
3673
|
+
in: 'cookie',
|
|
3674
|
+
name: 'Authentication',
|
|
3675
|
+
type: 'apiKey'
|
|
3676
|
+
},
|
|
3384
3677
|
{
|
|
3385
3678
|
scheme: 'bearer',
|
|
3386
3679
|
type: 'http'
|
|
3387
3680
|
}
|
|
3388
3681
|
],
|
|
3389
|
-
url: '/api/
|
|
3390
|
-
...options
|
|
3391
|
-
headers: {
|
|
3392
|
-
'Content-Type': 'application/json',
|
|
3393
|
-
...options.headers
|
|
3394
|
-
}
|
|
3682
|
+
url: '/api/v2/libraries/acquisition/device/{idOrName}',
|
|
3683
|
+
...options
|
|
3395
3684
|
});
|
|
3396
3685
|
};
|
|
3397
|
-
exports.
|
|
3686
|
+
exports.acquisitionLibraryDeviceV2ApiControllerGet = acquisitionLibraryDeviceV2ApiControllerGet;
|
|
3398
3687
|
/**
|
|
3399
|
-
*
|
|
3400
|
-
* Delete multiple git repositories by their IDs
|
|
3688
|
+
* Update device acquisition profile
|
|
3401
3689
|
*/
|
|
3402
|
-
const
|
|
3403
|
-
return (options.client ?? client_gen_1.client).
|
|
3690
|
+
const acquisitionLibraryDeviceV2ApiControllerUpdate = (options) => {
|
|
3691
|
+
return (options.client ?? client_gen_1.client).patch({
|
|
3692
|
+
responseType: 'json',
|
|
3404
3693
|
security: [
|
|
3694
|
+
{
|
|
3695
|
+
in: 'cookie',
|
|
3696
|
+
name: 'Authentication',
|
|
3697
|
+
type: 'apiKey'
|
|
3698
|
+
},
|
|
3405
3699
|
{
|
|
3406
3700
|
scheme: 'bearer',
|
|
3407
3701
|
type: 'http'
|
|
3408
3702
|
}
|
|
3409
3703
|
],
|
|
3410
|
-
url: '/api/
|
|
3704
|
+
url: '/api/v2/libraries/acquisition/device/{idOrName}',
|
|
3411
3705
|
...options,
|
|
3412
3706
|
headers: {
|
|
3413
3707
|
'Content-Type': 'application/json',
|
|
@@ -3415,30 +3709,148 @@ const gitRepositoriesBulkDelete = (options) => {
|
|
|
3415
3709
|
}
|
|
3416
3710
|
});
|
|
3417
3711
|
};
|
|
3418
|
-
exports.
|
|
3712
|
+
exports.acquisitionLibraryDeviceV2ApiControllerUpdate = acquisitionLibraryDeviceV2ApiControllerUpdate;
|
|
3419
3713
|
/**
|
|
3420
|
-
*
|
|
3421
|
-
*
|
|
3714
|
+
* Filter git repositories
|
|
3715
|
+
* Retrieve all git repositories with optional filters
|
|
3422
3716
|
*/
|
|
3423
|
-
const
|
|
3424
|
-
return (options.client ?? client_gen_1.client).
|
|
3717
|
+
const gitRepositoriesGetMany = (options) => {
|
|
3718
|
+
return (options.client ?? client_gen_1.client).get({
|
|
3719
|
+
responseType: 'json',
|
|
3425
3720
|
security: [
|
|
3426
3721
|
{
|
|
3427
3722
|
scheme: 'bearer',
|
|
3428
3723
|
type: 'http'
|
|
3429
3724
|
}
|
|
3430
3725
|
],
|
|
3431
|
-
url: '/api/public/git-repositories
|
|
3726
|
+
url: '/api/public/git-repositories',
|
|
3432
3727
|
...options
|
|
3433
3728
|
});
|
|
3434
3729
|
};
|
|
3435
|
-
exports.
|
|
3730
|
+
exports.gitRepositoriesGetMany = gitRepositoriesGetMany;
|
|
3436
3731
|
/**
|
|
3437
|
-
*
|
|
3438
|
-
*
|
|
3732
|
+
* Create a new git repository
|
|
3733
|
+
* Create a new git repository for syncing content
|
|
3439
3734
|
*/
|
|
3440
|
-
const
|
|
3441
|
-
return (options.client ?? client_gen_1.client).
|
|
3735
|
+
const gitRepositoriesCreate = (options) => {
|
|
3736
|
+
return (options.client ?? client_gen_1.client).post({
|
|
3737
|
+
responseType: 'json',
|
|
3738
|
+
security: [
|
|
3739
|
+
{
|
|
3740
|
+
scheme: 'bearer',
|
|
3741
|
+
type: 'http'
|
|
3742
|
+
}
|
|
3743
|
+
],
|
|
3744
|
+
url: '/api/public/git-repositories',
|
|
3745
|
+
...options,
|
|
3746
|
+
headers: {
|
|
3747
|
+
'Content-Type': 'application/json',
|
|
3748
|
+
...options.headers
|
|
3749
|
+
}
|
|
3750
|
+
});
|
|
3751
|
+
};
|
|
3752
|
+
exports.gitRepositoriesCreate = gitRepositoriesCreate;
|
|
3753
|
+
/**
|
|
3754
|
+
* Delete a repository connection
|
|
3755
|
+
* Delete an existing repository connection by ID
|
|
3756
|
+
*/
|
|
3757
|
+
const gitRepositoriesDelete = (options) => {
|
|
3758
|
+
return (options.client ?? client_gen_1.client).delete({
|
|
3759
|
+
security: [
|
|
3760
|
+
{
|
|
3761
|
+
scheme: 'bearer',
|
|
3762
|
+
type: 'http'
|
|
3763
|
+
}
|
|
3764
|
+
],
|
|
3765
|
+
url: '/api/public/git-repositories/{id}',
|
|
3766
|
+
...options
|
|
3767
|
+
});
|
|
3768
|
+
};
|
|
3769
|
+
exports.gitRepositoriesDelete = gitRepositoriesDelete;
|
|
3770
|
+
/**
|
|
3771
|
+
* Get git repository by ID
|
|
3772
|
+
* Retrieve a specific git repository
|
|
3773
|
+
*/
|
|
3774
|
+
const gitRepositoriesGetOne = (options) => {
|
|
3775
|
+
return (options.client ?? client_gen_1.client).get({
|
|
3776
|
+
responseType: 'json',
|
|
3777
|
+
security: [
|
|
3778
|
+
{
|
|
3779
|
+
scheme: 'bearer',
|
|
3780
|
+
type: 'http'
|
|
3781
|
+
}
|
|
3782
|
+
],
|
|
3783
|
+
url: '/api/public/git-repositories/{id}',
|
|
3784
|
+
...options
|
|
3785
|
+
});
|
|
3786
|
+
};
|
|
3787
|
+
exports.gitRepositoriesGetOne = gitRepositoriesGetOne;
|
|
3788
|
+
/**
|
|
3789
|
+
* Update a git repository
|
|
3790
|
+
* Update an existing git repository configuration
|
|
3791
|
+
*/
|
|
3792
|
+
const gitRepositoriesUpdate = (options) => {
|
|
3793
|
+
return (options.client ?? client_gen_1.client).put({
|
|
3794
|
+
responseType: 'json',
|
|
3795
|
+
security: [
|
|
3796
|
+
{
|
|
3797
|
+
scheme: 'bearer',
|
|
3798
|
+
type: 'http'
|
|
3799
|
+
}
|
|
3800
|
+
],
|
|
3801
|
+
url: '/api/public/git-repositories/{id}',
|
|
3802
|
+
...options,
|
|
3803
|
+
headers: {
|
|
3804
|
+
'Content-Type': 'application/json',
|
|
3805
|
+
...options.headers
|
|
3806
|
+
}
|
|
3807
|
+
});
|
|
3808
|
+
};
|
|
3809
|
+
exports.gitRepositoriesUpdate = gitRepositoriesUpdate;
|
|
3810
|
+
/**
|
|
3811
|
+
* Delete multiple git repositories
|
|
3812
|
+
* Delete multiple git repositories by their IDs
|
|
3813
|
+
*/
|
|
3814
|
+
const gitRepositoriesBulkDelete = (options) => {
|
|
3815
|
+
return (options.client ?? client_gen_1.client).delete({
|
|
3816
|
+
security: [
|
|
3817
|
+
{
|
|
3818
|
+
scheme: 'bearer',
|
|
3819
|
+
type: 'http'
|
|
3820
|
+
}
|
|
3821
|
+
],
|
|
3822
|
+
url: '/api/public/git-repositories/bulk-delete',
|
|
3823
|
+
...options,
|
|
3824
|
+
headers: {
|
|
3825
|
+
'Content-Type': 'application/json',
|
|
3826
|
+
...options.headers
|
|
3827
|
+
}
|
|
3828
|
+
});
|
|
3829
|
+
};
|
|
3830
|
+
exports.gitRepositoriesBulkDelete = gitRepositoriesBulkDelete;
|
|
3831
|
+
/**
|
|
3832
|
+
* Trigger repository sync
|
|
3833
|
+
* Manually trigger a synchronization for the specified repository connection
|
|
3834
|
+
*/
|
|
3835
|
+
const gitRepositoriesTriggerSync = (options) => {
|
|
3836
|
+
return (options.client ?? client_gen_1.client).post({
|
|
3837
|
+
security: [
|
|
3838
|
+
{
|
|
3839
|
+
scheme: 'bearer',
|
|
3840
|
+
type: 'http'
|
|
3841
|
+
}
|
|
3842
|
+
],
|
|
3843
|
+
url: '/api/public/git-repositories/{id}/sync',
|
|
3844
|
+
...options
|
|
3845
|
+
});
|
|
3846
|
+
};
|
|
3847
|
+
exports.gitRepositoriesTriggerSync = gitRepositoriesTriggerSync;
|
|
3848
|
+
/**
|
|
3849
|
+
* Get sync logs for a repository connection
|
|
3850
|
+
* Retrieve the synchronization history for a specific repository connection
|
|
3851
|
+
*/
|
|
3852
|
+
const gitRepositoriesGetSyncLogs = (options) => {
|
|
3853
|
+
return (options.client ?? client_gen_1.client).get({
|
|
3442
3854
|
responseType: 'json',
|
|
3443
3855
|
security: [
|
|
3444
3856
|
{
|
|
@@ -3777,97 +4189,168 @@ const deleteTriageRuleTag = (options) => {
|
|
|
3777
4189
|
});
|
|
3778
4190
|
};
|
|
3779
4191
|
exports.deleteTriageRuleTag = deleteTriageRuleTag;
|
|
3780
|
-
|
|
4192
|
+
/**
|
|
4193
|
+
* List triage rules
|
|
4194
|
+
*/
|
|
4195
|
+
const triageLibraryV2ApiControllerList = (options) => {
|
|
3781
4196
|
return (options?.client ?? client_gen_1.client).get({
|
|
4197
|
+
responseType: 'json',
|
|
3782
4198
|
security: [
|
|
4199
|
+
{
|
|
4200
|
+
in: 'cookie',
|
|
4201
|
+
name: 'Authentication',
|
|
4202
|
+
type: 'apiKey'
|
|
4203
|
+
},
|
|
3783
4204
|
{
|
|
3784
4205
|
scheme: 'bearer',
|
|
3785
4206
|
type: 'http'
|
|
3786
4207
|
}
|
|
3787
4208
|
],
|
|
3788
|
-
url: '/api/
|
|
4209
|
+
url: '/api/v2/libraries/hunt',
|
|
3789
4210
|
...options
|
|
3790
4211
|
});
|
|
3791
4212
|
};
|
|
3792
|
-
exports.
|
|
3793
|
-
|
|
3794
|
-
|
|
4213
|
+
exports.triageLibraryV2ApiControllerList = triageLibraryV2ApiControllerList;
|
|
4214
|
+
/**
|
|
4215
|
+
* Create triage rule
|
|
4216
|
+
*/
|
|
4217
|
+
const triageLibraryV2ApiControllerCreate = (options) => {
|
|
4218
|
+
return (options.client ?? client_gen_1.client).post({
|
|
4219
|
+
responseType: 'json',
|
|
3795
4220
|
security: [
|
|
4221
|
+
{
|
|
4222
|
+
in: 'cookie',
|
|
4223
|
+
name: 'Authentication',
|
|
4224
|
+
type: 'apiKey'
|
|
4225
|
+
},
|
|
3796
4226
|
{
|
|
3797
4227
|
scheme: 'bearer',
|
|
3798
4228
|
type: 'http'
|
|
3799
4229
|
}
|
|
3800
4230
|
],
|
|
3801
|
-
url: '/api/
|
|
3802
|
-
...options
|
|
4231
|
+
url: '/api/v2/libraries/hunt',
|
|
4232
|
+
...options,
|
|
4233
|
+
headers: {
|
|
4234
|
+
'Content-Type': 'application/json',
|
|
4235
|
+
...options.headers
|
|
4236
|
+
}
|
|
3803
4237
|
});
|
|
3804
4238
|
};
|
|
3805
|
-
exports.
|
|
3806
|
-
|
|
3807
|
-
|
|
4239
|
+
exports.triageLibraryV2ApiControllerCreate = triageLibraryV2ApiControllerCreate;
|
|
4240
|
+
/**
|
|
4241
|
+
* Bulk delete triage rules
|
|
4242
|
+
*/
|
|
4243
|
+
const triageLibraryV2ApiControllerBulkDelete = (options) => {
|
|
4244
|
+
return (options.client ?? client_gen_1.client).post({
|
|
4245
|
+
responseType: 'json',
|
|
3808
4246
|
security: [
|
|
4247
|
+
{
|
|
4248
|
+
in: 'cookie',
|
|
4249
|
+
name: 'Authentication',
|
|
4250
|
+
type: 'apiKey'
|
|
4251
|
+
},
|
|
3809
4252
|
{
|
|
3810
4253
|
scheme: 'bearer',
|
|
3811
4254
|
type: 'http'
|
|
3812
4255
|
}
|
|
3813
4256
|
],
|
|
3814
|
-
url: '/api/
|
|
3815
|
-
...options
|
|
4257
|
+
url: '/api/v2/libraries/hunt/delete',
|
|
4258
|
+
...options,
|
|
4259
|
+
headers: {
|
|
4260
|
+
'Content-Type': 'application/json',
|
|
4261
|
+
...options.headers
|
|
4262
|
+
}
|
|
3816
4263
|
});
|
|
3817
4264
|
};
|
|
3818
|
-
exports.
|
|
3819
|
-
|
|
3820
|
-
|
|
4265
|
+
exports.triageLibraryV2ApiControllerBulkDelete = triageLibraryV2ApiControllerBulkDelete;
|
|
4266
|
+
/**
|
|
4267
|
+
* Validate triage rule
|
|
4268
|
+
*/
|
|
4269
|
+
const triageLibraryV2ApiControllerValidate = (options) => {
|
|
4270
|
+
return (options.client ?? client_gen_1.client).post({
|
|
4271
|
+
responseType: 'json',
|
|
3821
4272
|
security: [
|
|
4273
|
+
{
|
|
4274
|
+
in: 'cookie',
|
|
4275
|
+
name: 'Authentication',
|
|
4276
|
+
type: 'apiKey'
|
|
4277
|
+
},
|
|
3822
4278
|
{
|
|
3823
4279
|
scheme: 'bearer',
|
|
3824
4280
|
type: 'http'
|
|
3825
4281
|
}
|
|
3826
4282
|
],
|
|
3827
|
-
url: '/api/
|
|
3828
|
-
...options
|
|
4283
|
+
url: '/api/v2/libraries/hunt/validate',
|
|
4284
|
+
...options,
|
|
4285
|
+
headers: {
|
|
4286
|
+
'Content-Type': 'application/json',
|
|
4287
|
+
...options.headers
|
|
4288
|
+
}
|
|
3829
4289
|
});
|
|
3830
4290
|
};
|
|
3831
|
-
exports.
|
|
3832
|
-
|
|
3833
|
-
|
|
4291
|
+
exports.triageLibraryV2ApiControllerValidate = triageLibraryV2ApiControllerValidate;
|
|
4292
|
+
/**
|
|
4293
|
+
* Delete triage rule
|
|
4294
|
+
*/
|
|
4295
|
+
const triageLibraryV2ApiControllerDelete = (options) => {
|
|
4296
|
+
return (options.client ?? client_gen_1.client).delete({
|
|
4297
|
+
responseType: 'json',
|
|
3834
4298
|
security: [
|
|
4299
|
+
{
|
|
4300
|
+
in: 'cookie',
|
|
4301
|
+
name: 'Authentication',
|
|
4302
|
+
type: 'apiKey'
|
|
4303
|
+
},
|
|
3835
4304
|
{
|
|
3836
4305
|
scheme: 'bearer',
|
|
3837
4306
|
type: 'http'
|
|
3838
4307
|
}
|
|
3839
4308
|
],
|
|
3840
|
-
url: '/api/
|
|
4309
|
+
url: '/api/v2/libraries/hunt/{idOrName}',
|
|
3841
4310
|
...options
|
|
3842
4311
|
});
|
|
3843
4312
|
};
|
|
3844
|
-
exports.
|
|
3845
|
-
|
|
3846
|
-
|
|
4313
|
+
exports.triageLibraryV2ApiControllerDelete = triageLibraryV2ApiControllerDelete;
|
|
4314
|
+
/**
|
|
4315
|
+
* Get triage rule by id or name
|
|
4316
|
+
*/
|
|
4317
|
+
const triageLibraryV2ApiControllerGet = (options) => {
|
|
4318
|
+
return (options.client ?? client_gen_1.client).get({
|
|
4319
|
+
responseType: 'json',
|
|
3847
4320
|
security: [
|
|
4321
|
+
{
|
|
4322
|
+
in: 'cookie',
|
|
4323
|
+
name: 'Authentication',
|
|
4324
|
+
type: 'apiKey'
|
|
4325
|
+
},
|
|
3848
4326
|
{
|
|
3849
4327
|
scheme: 'bearer',
|
|
3850
4328
|
type: 'http'
|
|
3851
4329
|
}
|
|
3852
4330
|
],
|
|
3853
|
-
url: '/api/
|
|
3854
|
-
...options
|
|
3855
|
-
headers: {
|
|
3856
|
-
'Content-Type': 'application/json',
|
|
3857
|
-
...options.headers
|
|
3858
|
-
}
|
|
4331
|
+
url: '/api/v2/libraries/hunt/{idOrName}',
|
|
4332
|
+
...options
|
|
3859
4333
|
});
|
|
3860
4334
|
};
|
|
3861
|
-
exports.
|
|
3862
|
-
|
|
3863
|
-
|
|
4335
|
+
exports.triageLibraryV2ApiControllerGet = triageLibraryV2ApiControllerGet;
|
|
4336
|
+
/**
|
|
4337
|
+
* Update triage rule
|
|
4338
|
+
*/
|
|
4339
|
+
const triageLibraryV2ApiControllerUpdate = (options) => {
|
|
4340
|
+
return (options.client ?? client_gen_1.client).patch({
|
|
4341
|
+
responseType: 'json',
|
|
3864
4342
|
security: [
|
|
4343
|
+
{
|
|
4344
|
+
in: 'cookie',
|
|
4345
|
+
name: 'Authentication',
|
|
4346
|
+
type: 'apiKey'
|
|
4347
|
+
},
|
|
3865
4348
|
{
|
|
3866
4349
|
scheme: 'bearer',
|
|
3867
4350
|
type: 'http'
|
|
3868
4351
|
}
|
|
3869
4352
|
],
|
|
3870
|
-
url: '/api/
|
|
4353
|
+
url: '/api/v2/libraries/hunt/{idOrName}',
|
|
3871
4354
|
...options,
|
|
3872
4355
|
headers: {
|
|
3873
4356
|
'Content-Type': 'application/json',
|
|
@@ -3875,16 +4358,25 @@ const evidenceRepositoryUpdateSmb = (options) => {
|
|
|
3875
4358
|
}
|
|
3876
4359
|
});
|
|
3877
4360
|
};
|
|
3878
|
-
exports.
|
|
3879
|
-
|
|
4361
|
+
exports.triageLibraryV2ApiControllerUpdate = triageLibraryV2ApiControllerUpdate;
|
|
4362
|
+
/**
|
|
4363
|
+
* Export triage rules to an off-network package
|
|
4364
|
+
*/
|
|
4365
|
+
const triageLibraryExportV2ApiControllerExport = (options) => {
|
|
3880
4366
|
return (options.client ?? client_gen_1.client).post({
|
|
4367
|
+
responseType: 'json',
|
|
3881
4368
|
security: [
|
|
4369
|
+
{
|
|
4370
|
+
in: 'cookie',
|
|
4371
|
+
name: 'Authentication',
|
|
4372
|
+
type: 'apiKey'
|
|
4373
|
+
},
|
|
3882
4374
|
{
|
|
3883
4375
|
scheme: 'bearer',
|
|
3884
4376
|
type: 'http'
|
|
3885
4377
|
}
|
|
3886
4378
|
],
|
|
3887
|
-
url: '/api/
|
|
4379
|
+
url: '/api/v2/libraries/hunt/export',
|
|
3888
4380
|
...options,
|
|
3889
4381
|
headers: {
|
|
3890
4382
|
'Content-Type': 'application/json',
|
|
@@ -3892,62 +4384,199 @@ const evidenceRepositoryCreateSftp = (options) => {
|
|
|
3892
4384
|
}
|
|
3893
4385
|
});
|
|
3894
4386
|
};
|
|
3895
|
-
exports.
|
|
3896
|
-
|
|
3897
|
-
|
|
4387
|
+
exports.triageLibraryExportV2ApiControllerExport = triageLibraryExportV2ApiControllerExport;
|
|
4388
|
+
/**
|
|
4389
|
+
* Download an exported off-network package
|
|
4390
|
+
*/
|
|
4391
|
+
const triageLibraryExportV2ApiControllerDownload = (options) => {
|
|
4392
|
+
return (options.client ?? client_gen_1.client).get({
|
|
3898
4393
|
security: [
|
|
4394
|
+
{
|
|
4395
|
+
in: 'cookie',
|
|
4396
|
+
name: 'Authentication',
|
|
4397
|
+
type: 'apiKey'
|
|
4398
|
+
},
|
|
3899
4399
|
{
|
|
3900
4400
|
scheme: 'bearer',
|
|
3901
4401
|
type: 'http'
|
|
3902
4402
|
}
|
|
3903
4403
|
],
|
|
3904
|
-
url: '/api/
|
|
3905
|
-
...options
|
|
3906
|
-
headers: {
|
|
3907
|
-
'Content-Type': 'application/json',
|
|
3908
|
-
...options.headers
|
|
3909
|
-
}
|
|
4404
|
+
url: '/api/v2/libraries/hunt/export/download',
|
|
4405
|
+
...options
|
|
3910
4406
|
});
|
|
3911
4407
|
};
|
|
3912
|
-
exports.
|
|
3913
|
-
const
|
|
3914
|
-
return (options
|
|
4408
|
+
exports.triageLibraryExportV2ApiControllerDownload = triageLibraryExportV2ApiControllerDownload;
|
|
4409
|
+
const evidenceGetCaseReport0 = (options) => {
|
|
4410
|
+
return (options?.client ?? client_gen_1.client).get({
|
|
3915
4411
|
security: [
|
|
3916
4412
|
{
|
|
3917
4413
|
scheme: 'bearer',
|
|
3918
4414
|
type: 'http'
|
|
3919
4415
|
}
|
|
3920
4416
|
],
|
|
3921
|
-
url: '/api/public/
|
|
3922
|
-
...options
|
|
3923
|
-
headers: {
|
|
3924
|
-
'Content-Type': 'application/json',
|
|
3925
|
-
...options.headers
|
|
3926
|
-
}
|
|
4417
|
+
url: '/api/public/evidence/case/report/{endpointId}/{taskId}',
|
|
4418
|
+
...options
|
|
3927
4419
|
});
|
|
3928
4420
|
};
|
|
3929
|
-
exports.
|
|
3930
|
-
const
|
|
3931
|
-
return (options
|
|
4421
|
+
exports.evidenceGetCaseReport0 = evidenceGetCaseReport0;
|
|
4422
|
+
const evidenceGetCaseReport1 = (options) => {
|
|
4423
|
+
return (options?.client ?? client_gen_1.client).get({
|
|
3932
4424
|
security: [
|
|
3933
4425
|
{
|
|
3934
4426
|
scheme: 'bearer',
|
|
3935
4427
|
type: 'http'
|
|
3936
4428
|
}
|
|
3937
4429
|
],
|
|
3938
|
-
url: '/api/public/
|
|
3939
|
-
...options
|
|
3940
|
-
headers: {
|
|
3941
|
-
'Content-Type': 'application/json',
|
|
3942
|
-
...options.headers
|
|
3943
|
-
}
|
|
4430
|
+
url: '/api/public/evidence/case/{endpointId}/{taskId}',
|
|
4431
|
+
...options
|
|
3944
4432
|
});
|
|
3945
4433
|
};
|
|
3946
|
-
exports.
|
|
3947
|
-
const
|
|
3948
|
-
return (options
|
|
3949
|
-
security: [
|
|
3950
|
-
{
|
|
4434
|
+
exports.evidenceGetCaseReport1 = evidenceGetCaseReport1;
|
|
4435
|
+
const evidenceDownloadExternalEvidence = (options) => {
|
|
4436
|
+
return (options?.client ?? client_gen_1.client).get({
|
|
4437
|
+
security: [
|
|
4438
|
+
{
|
|
4439
|
+
scheme: 'bearer',
|
|
4440
|
+
type: 'http'
|
|
4441
|
+
}
|
|
4442
|
+
],
|
|
4443
|
+
url: '/api/public/evidence/external/{endpointId}/{taskId}/{fileName}',
|
|
4444
|
+
...options
|
|
4445
|
+
});
|
|
4446
|
+
};
|
|
4447
|
+
exports.evidenceDownloadExternalEvidence = evidenceDownloadExternalEvidence;
|
|
4448
|
+
const evidenceGetCaseReportFileInfo = (options) => {
|
|
4449
|
+
return (options?.client ?? client_gen_1.client).get({
|
|
4450
|
+
security: [
|
|
4451
|
+
{
|
|
4452
|
+
scheme: 'bearer',
|
|
4453
|
+
type: 'http'
|
|
4454
|
+
}
|
|
4455
|
+
],
|
|
4456
|
+
url: '/api/public/evidence/case/report-file-info/{endpointId}/{taskId}',
|
|
4457
|
+
...options
|
|
4458
|
+
});
|
|
4459
|
+
};
|
|
4460
|
+
exports.evidenceGetCaseReportFileInfo = evidenceGetCaseReportFileInfo;
|
|
4461
|
+
const evidenceGetCasePpcFile = (options) => {
|
|
4462
|
+
return (options?.client ?? client_gen_1.client).get({
|
|
4463
|
+
security: [
|
|
4464
|
+
{
|
|
4465
|
+
scheme: 'bearer',
|
|
4466
|
+
type: 'http'
|
|
4467
|
+
}
|
|
4468
|
+
],
|
|
4469
|
+
url: '/api/public/evidence/case/ppc/{endpointId}/{taskId}',
|
|
4470
|
+
...options
|
|
4471
|
+
});
|
|
4472
|
+
};
|
|
4473
|
+
exports.evidenceGetCasePpcFile = evidenceGetCasePpcFile;
|
|
4474
|
+
const evidenceRepositoryCreateSmb = (options) => {
|
|
4475
|
+
return (options.client ?? client_gen_1.client).post({
|
|
4476
|
+
security: [
|
|
4477
|
+
{
|
|
4478
|
+
scheme: 'bearer',
|
|
4479
|
+
type: 'http'
|
|
4480
|
+
}
|
|
4481
|
+
],
|
|
4482
|
+
url: '/api/public/evidences/repositories/smb',
|
|
4483
|
+
...options,
|
|
4484
|
+
headers: {
|
|
4485
|
+
'Content-Type': 'application/json',
|
|
4486
|
+
...options.headers
|
|
4487
|
+
}
|
|
4488
|
+
});
|
|
4489
|
+
};
|
|
4490
|
+
exports.evidenceRepositoryCreateSmb = evidenceRepositoryCreateSmb;
|
|
4491
|
+
const evidenceRepositoryUpdateSmb = (options) => {
|
|
4492
|
+
return (options.client ?? client_gen_1.client).put({
|
|
4493
|
+
security: [
|
|
4494
|
+
{
|
|
4495
|
+
scheme: 'bearer',
|
|
4496
|
+
type: 'http'
|
|
4497
|
+
}
|
|
4498
|
+
],
|
|
4499
|
+
url: '/api/public/evidences/repositories/smb/{id}',
|
|
4500
|
+
...options,
|
|
4501
|
+
headers: {
|
|
4502
|
+
'Content-Type': 'application/json',
|
|
4503
|
+
...options.headers
|
|
4504
|
+
}
|
|
4505
|
+
});
|
|
4506
|
+
};
|
|
4507
|
+
exports.evidenceRepositoryUpdateSmb = evidenceRepositoryUpdateSmb;
|
|
4508
|
+
const evidenceRepositoryCreateSftp = (options) => {
|
|
4509
|
+
return (options.client ?? client_gen_1.client).post({
|
|
4510
|
+
security: [
|
|
4511
|
+
{
|
|
4512
|
+
scheme: 'bearer',
|
|
4513
|
+
type: 'http'
|
|
4514
|
+
}
|
|
4515
|
+
],
|
|
4516
|
+
url: '/api/public/evidences/repositories/sftp',
|
|
4517
|
+
...options,
|
|
4518
|
+
headers: {
|
|
4519
|
+
'Content-Type': 'application/json',
|
|
4520
|
+
...options.headers
|
|
4521
|
+
}
|
|
4522
|
+
});
|
|
4523
|
+
};
|
|
4524
|
+
exports.evidenceRepositoryCreateSftp = evidenceRepositoryCreateSftp;
|
|
4525
|
+
const evidenceRepositoryUpdateSftp = (options) => {
|
|
4526
|
+
return (options.client ?? client_gen_1.client).put({
|
|
4527
|
+
security: [
|
|
4528
|
+
{
|
|
4529
|
+
scheme: 'bearer',
|
|
4530
|
+
type: 'http'
|
|
4531
|
+
}
|
|
4532
|
+
],
|
|
4533
|
+
url: '/api/public/evidences/repositories/sftp/{id}',
|
|
4534
|
+
...options,
|
|
4535
|
+
headers: {
|
|
4536
|
+
'Content-Type': 'application/json',
|
|
4537
|
+
...options.headers
|
|
4538
|
+
}
|
|
4539
|
+
});
|
|
4540
|
+
};
|
|
4541
|
+
exports.evidenceRepositoryUpdateSftp = evidenceRepositoryUpdateSftp;
|
|
4542
|
+
const evidenceRepositoryCreateFtps = (options) => {
|
|
4543
|
+
return (options.client ?? client_gen_1.client).post({
|
|
4544
|
+
security: [
|
|
4545
|
+
{
|
|
4546
|
+
scheme: 'bearer',
|
|
4547
|
+
type: 'http'
|
|
4548
|
+
}
|
|
4549
|
+
],
|
|
4550
|
+
url: '/api/public/evidences/repositories/ftps',
|
|
4551
|
+
...options,
|
|
4552
|
+
headers: {
|
|
4553
|
+
'Content-Type': 'application/json',
|
|
4554
|
+
...options.headers
|
|
4555
|
+
}
|
|
4556
|
+
});
|
|
4557
|
+
};
|
|
4558
|
+
exports.evidenceRepositoryCreateFtps = evidenceRepositoryCreateFtps;
|
|
4559
|
+
const evidenceRepositoryUpdateFtps = (options) => {
|
|
4560
|
+
return (options.client ?? client_gen_1.client).put({
|
|
4561
|
+
security: [
|
|
4562
|
+
{
|
|
4563
|
+
scheme: 'bearer',
|
|
4564
|
+
type: 'http'
|
|
4565
|
+
}
|
|
4566
|
+
],
|
|
4567
|
+
url: '/api/public/evidences/repositories/ftps/{id}',
|
|
4568
|
+
...options,
|
|
4569
|
+
headers: {
|
|
4570
|
+
'Content-Type': 'application/json',
|
|
4571
|
+
...options.headers
|
|
4572
|
+
}
|
|
4573
|
+
});
|
|
4574
|
+
};
|
|
4575
|
+
exports.evidenceRepositoryUpdateFtps = evidenceRepositoryUpdateFtps;
|
|
4576
|
+
const evidenceRepositoryCreateAzureStorage = (options) => {
|
|
4577
|
+
return (options.client ?? client_gen_1.client).post({
|
|
4578
|
+
security: [
|
|
4579
|
+
{
|
|
3951
4580
|
scheme: 'bearer',
|
|
3952
4581
|
type: 'http'
|
|
3953
4582
|
}
|
|
@@ -6131,80 +6760,142 @@ const interactCommandSnippetTagsUpdate = (options) => {
|
|
|
6131
6760
|
});
|
|
6132
6761
|
};
|
|
6133
6762
|
exports.interactCommandSnippetTagsUpdate = interactCommandSnippetTagsUpdate;
|
|
6134
|
-
|
|
6135
|
-
|
|
6763
|
+
/**
|
|
6764
|
+
* List InterAct command snippets
|
|
6765
|
+
*/
|
|
6766
|
+
const interactLibrarySnippetV2ApiControllerList = (options) => {
|
|
6767
|
+
return (options?.client ?? client_gen_1.client).get({
|
|
6768
|
+
responseType: 'json',
|
|
6136
6769
|
security: [
|
|
6770
|
+
{
|
|
6771
|
+
in: 'cookie',
|
|
6772
|
+
name: 'Authentication',
|
|
6773
|
+
type: 'apiKey'
|
|
6774
|
+
},
|
|
6137
6775
|
{
|
|
6138
6776
|
scheme: 'bearer',
|
|
6139
6777
|
type: 'http'
|
|
6140
6778
|
}
|
|
6141
6779
|
],
|
|
6142
|
-
url: '/api/
|
|
6780
|
+
url: '/api/v2/libraries/interact/snippets',
|
|
6143
6781
|
...options
|
|
6144
6782
|
});
|
|
6145
6783
|
};
|
|
6146
|
-
exports.
|
|
6147
|
-
|
|
6148
|
-
|
|
6784
|
+
exports.interactLibrarySnippetV2ApiControllerList = interactLibrarySnippetV2ApiControllerList;
|
|
6785
|
+
/**
|
|
6786
|
+
* Create InterAct command snippet
|
|
6787
|
+
*/
|
|
6788
|
+
const interactLibrarySnippetV2ApiControllerCreate = (options) => {
|
|
6789
|
+
return (options.client ?? client_gen_1.client).post({
|
|
6790
|
+
responseType: 'json',
|
|
6149
6791
|
security: [
|
|
6792
|
+
{
|
|
6793
|
+
in: 'cookie',
|
|
6794
|
+
name: 'Authentication',
|
|
6795
|
+
type: 'apiKey'
|
|
6796
|
+
},
|
|
6150
6797
|
{
|
|
6151
6798
|
scheme: 'bearer',
|
|
6152
6799
|
type: 'http'
|
|
6153
6800
|
}
|
|
6154
6801
|
],
|
|
6155
|
-
url: '/api/
|
|
6156
|
-
...options
|
|
6802
|
+
url: '/api/v2/libraries/interact/snippets',
|
|
6803
|
+
...options,
|
|
6804
|
+
headers: {
|
|
6805
|
+
'Content-Type': 'application/json',
|
|
6806
|
+
...options.headers
|
|
6807
|
+
}
|
|
6157
6808
|
});
|
|
6158
6809
|
};
|
|
6159
|
-
exports.
|
|
6160
|
-
|
|
6161
|
-
|
|
6810
|
+
exports.interactLibrarySnippetV2ApiControllerCreate = interactLibrarySnippetV2ApiControllerCreate;
|
|
6811
|
+
/**
|
|
6812
|
+
* Bulk delete InterAct command snippets
|
|
6813
|
+
*/
|
|
6814
|
+
const interactLibrarySnippetV2ApiControllerBulkDelete = (options) => {
|
|
6815
|
+
return (options.client ?? client_gen_1.client).post({
|
|
6816
|
+
responseType: 'json',
|
|
6162
6817
|
security: [
|
|
6818
|
+
{
|
|
6819
|
+
in: 'cookie',
|
|
6820
|
+
name: 'Authentication',
|
|
6821
|
+
type: 'apiKey'
|
|
6822
|
+
},
|
|
6163
6823
|
{
|
|
6164
6824
|
scheme: 'bearer',
|
|
6165
6825
|
type: 'http'
|
|
6166
6826
|
}
|
|
6167
6827
|
],
|
|
6168
|
-
url: '/api/
|
|
6169
|
-
...options
|
|
6828
|
+
url: '/api/v2/libraries/interact/snippets/delete',
|
|
6829
|
+
...options,
|
|
6830
|
+
headers: {
|
|
6831
|
+
'Content-Type': 'application/json',
|
|
6832
|
+
...options.headers
|
|
6833
|
+
}
|
|
6170
6834
|
});
|
|
6171
6835
|
};
|
|
6172
|
-
exports.
|
|
6173
|
-
|
|
6174
|
-
|
|
6836
|
+
exports.interactLibrarySnippetV2ApiControllerBulkDelete = interactLibrarySnippetV2ApiControllerBulkDelete;
|
|
6837
|
+
/**
|
|
6838
|
+
* Delete InterAct command snippet
|
|
6839
|
+
*/
|
|
6840
|
+
const interactLibrarySnippetV2ApiControllerDelete = (options) => {
|
|
6841
|
+
return (options.client ?? client_gen_1.client).delete({
|
|
6842
|
+
responseType: 'json',
|
|
6175
6843
|
security: [
|
|
6844
|
+
{
|
|
6845
|
+
in: 'cookie',
|
|
6846
|
+
name: 'Authentication',
|
|
6847
|
+
type: 'apiKey'
|
|
6848
|
+
},
|
|
6176
6849
|
{
|
|
6177
6850
|
scheme: 'bearer',
|
|
6178
6851
|
type: 'http'
|
|
6179
6852
|
}
|
|
6180
6853
|
],
|
|
6181
|
-
url: '/api/
|
|
6854
|
+
url: '/api/v2/libraries/interact/snippets/{idOrName}',
|
|
6182
6855
|
...options
|
|
6183
6856
|
});
|
|
6184
6857
|
};
|
|
6185
|
-
exports.
|
|
6186
|
-
|
|
6187
|
-
|
|
6858
|
+
exports.interactLibrarySnippetV2ApiControllerDelete = interactLibrarySnippetV2ApiControllerDelete;
|
|
6859
|
+
/**
|
|
6860
|
+
* Get InterAct command snippet by id or name
|
|
6861
|
+
*/
|
|
6862
|
+
const interactLibrarySnippetV2ApiControllerGet = (options) => {
|
|
6863
|
+
return (options.client ?? client_gen_1.client).get({
|
|
6864
|
+
responseType: 'json',
|
|
6188
6865
|
security: [
|
|
6866
|
+
{
|
|
6867
|
+
in: 'cookie',
|
|
6868
|
+
name: 'Authentication',
|
|
6869
|
+
type: 'apiKey'
|
|
6870
|
+
},
|
|
6189
6871
|
{
|
|
6190
6872
|
scheme: 'bearer',
|
|
6191
6873
|
type: 'http'
|
|
6192
6874
|
}
|
|
6193
6875
|
],
|
|
6194
|
-
url: '/api/
|
|
6876
|
+
url: '/api/v2/libraries/interact/snippets/{idOrName}',
|
|
6195
6877
|
...options
|
|
6196
6878
|
});
|
|
6197
6879
|
};
|
|
6198
|
-
exports.
|
|
6199
|
-
|
|
6200
|
-
|
|
6880
|
+
exports.interactLibrarySnippetV2ApiControllerGet = interactLibrarySnippetV2ApiControllerGet;
|
|
6881
|
+
/**
|
|
6882
|
+
* Update InterAct command snippet
|
|
6883
|
+
*/
|
|
6884
|
+
const interactLibrarySnippetV2ApiControllerUpdate = (options) => {
|
|
6885
|
+
return (options.client ?? client_gen_1.client).patch({
|
|
6886
|
+
responseType: 'json',
|
|
6201
6887
|
security: [
|
|
6888
|
+
{
|
|
6889
|
+
in: 'cookie',
|
|
6890
|
+
name: 'Authentication',
|
|
6891
|
+
type: 'apiKey'
|
|
6892
|
+
},
|
|
6202
6893
|
{
|
|
6203
6894
|
scheme: 'bearer',
|
|
6204
6895
|
type: 'http'
|
|
6205
6896
|
}
|
|
6206
6897
|
],
|
|
6207
|
-
url: '/api/
|
|
6898
|
+
url: '/api/v2/libraries/interact/snippets/{idOrName}',
|
|
6208
6899
|
...options,
|
|
6209
6900
|
headers: {
|
|
6210
6901
|
'Content-Type': 'application/json',
|
|
@@ -6212,21 +6903,47 @@ const multipartUploadUploadPart = (options) => {
|
|
|
6212
6903
|
}
|
|
6213
6904
|
});
|
|
6214
6905
|
};
|
|
6215
|
-
exports.
|
|
6906
|
+
exports.interactLibrarySnippetV2ApiControllerUpdate = interactLibrarySnippetV2ApiControllerUpdate;
|
|
6216
6907
|
/**
|
|
6217
|
-
*
|
|
6218
|
-
* Compare two baseline acquisition results from the same endpoint
|
|
6908
|
+
* List InterAct command snippet tags
|
|
6219
6909
|
*/
|
|
6220
|
-
const
|
|
6910
|
+
const interactLibraryTagV2ApiControllerList = (options) => {
|
|
6911
|
+
return (options?.client ?? client_gen_1.client).get({
|
|
6912
|
+
responseType: 'json',
|
|
6913
|
+
security: [
|
|
6914
|
+
{
|
|
6915
|
+
in: 'cookie',
|
|
6916
|
+
name: 'Authentication',
|
|
6917
|
+
type: 'apiKey'
|
|
6918
|
+
},
|
|
6919
|
+
{
|
|
6920
|
+
scheme: 'bearer',
|
|
6921
|
+
type: 'http'
|
|
6922
|
+
}
|
|
6923
|
+
],
|
|
6924
|
+
url: '/api/v2/libraries/interact/tags',
|
|
6925
|
+
...options
|
|
6926
|
+
});
|
|
6927
|
+
};
|
|
6928
|
+
exports.interactLibraryTagV2ApiControllerList = interactLibraryTagV2ApiControllerList;
|
|
6929
|
+
/**
|
|
6930
|
+
* Create InterAct command snippet tag
|
|
6931
|
+
*/
|
|
6932
|
+
const interactLibraryTagV2ApiControllerCreate = (options) => {
|
|
6221
6933
|
return (options.client ?? client_gen_1.client).post({
|
|
6222
6934
|
responseType: 'json',
|
|
6223
6935
|
security: [
|
|
6936
|
+
{
|
|
6937
|
+
in: 'cookie',
|
|
6938
|
+
name: 'Authentication',
|
|
6939
|
+
type: 'apiKey'
|
|
6940
|
+
},
|
|
6224
6941
|
{
|
|
6225
6942
|
scheme: 'bearer',
|
|
6226
6943
|
type: 'http'
|
|
6227
6944
|
}
|
|
6228
6945
|
],
|
|
6229
|
-
url: '/api/
|
|
6946
|
+
url: '/api/v2/libraries/interact/tags',
|
|
6230
6947
|
...options,
|
|
6231
6948
|
headers: {
|
|
6232
6949
|
'Content-Type': 'application/json',
|
|
@@ -6234,21 +6951,25 @@ const baselineCompare = (options) => {
|
|
|
6234
6951
|
}
|
|
6235
6952
|
});
|
|
6236
6953
|
};
|
|
6237
|
-
exports.
|
|
6954
|
+
exports.interactLibraryTagV2ApiControllerCreate = interactLibraryTagV2ApiControllerCreate;
|
|
6238
6955
|
/**
|
|
6239
|
-
*
|
|
6240
|
-
* Acquire baseline evidence from endpoints by filter
|
|
6956
|
+
* Bulk delete InterAct command snippet tags
|
|
6241
6957
|
*/
|
|
6242
|
-
const
|
|
6958
|
+
const interactLibraryTagV2ApiControllerBulkDelete = (options) => {
|
|
6243
6959
|
return (options.client ?? client_gen_1.client).post({
|
|
6244
6960
|
responseType: 'json',
|
|
6245
6961
|
security: [
|
|
6962
|
+
{
|
|
6963
|
+
in: 'cookie',
|
|
6964
|
+
name: 'Authentication',
|
|
6965
|
+
type: 'apiKey'
|
|
6966
|
+
},
|
|
6246
6967
|
{
|
|
6247
6968
|
scheme: 'bearer',
|
|
6248
6969
|
type: 'http'
|
|
6249
6970
|
}
|
|
6250
6971
|
],
|
|
6251
|
-
url: '/api/
|
|
6972
|
+
url: '/api/v2/libraries/interact/tags/delete',
|
|
6252
6973
|
...options,
|
|
6253
6974
|
headers: {
|
|
6254
6975
|
'Content-Type': 'application/json',
|
|
@@ -6256,39 +6977,354 @@ const baselineAcquire = (options) => {
|
|
|
6256
6977
|
}
|
|
6257
6978
|
});
|
|
6258
6979
|
};
|
|
6259
|
-
exports.
|
|
6980
|
+
exports.interactLibraryTagV2ApiControllerBulkDelete = interactLibraryTagV2ApiControllerBulkDelete;
|
|
6260
6981
|
/**
|
|
6261
|
-
*
|
|
6262
|
-
* Retrieve the HTML report for a completed baseline comparison task.
|
|
6982
|
+
* Delete InterAct command snippet tag
|
|
6263
6983
|
*/
|
|
6264
|
-
const
|
|
6265
|
-
return (options.client ?? client_gen_1.client).
|
|
6266
|
-
responseType: '
|
|
6984
|
+
const interactLibraryTagV2ApiControllerDelete = (options) => {
|
|
6985
|
+
return (options.client ?? client_gen_1.client).delete({
|
|
6986
|
+
responseType: 'json',
|
|
6267
6987
|
security: [
|
|
6988
|
+
{
|
|
6989
|
+
in: 'cookie',
|
|
6990
|
+
name: 'Authentication',
|
|
6991
|
+
type: 'apiKey'
|
|
6992
|
+
},
|
|
6268
6993
|
{
|
|
6269
6994
|
scheme: 'bearer',
|
|
6270
6995
|
type: 'http'
|
|
6271
6996
|
}
|
|
6272
6997
|
],
|
|
6273
|
-
url: '/api/
|
|
6998
|
+
url: '/api/v2/libraries/interact/tags/{idOrName}',
|
|
6274
6999
|
...options
|
|
6275
7000
|
});
|
|
6276
7001
|
};
|
|
6277
|
-
exports.
|
|
6278
|
-
|
|
7002
|
+
exports.interactLibraryTagV2ApiControllerDelete = interactLibraryTagV2ApiControllerDelete;
|
|
7003
|
+
/**
|
|
7004
|
+
* Get InterAct command snippet tag by id or name
|
|
7005
|
+
* v2-only endpoint. Returns a single tag wrapped in entities[0].
|
|
7006
|
+
*/
|
|
7007
|
+
const interactLibraryTagV2ApiControllerGet = (options) => {
|
|
6279
7008
|
return (options.client ?? client_gen_1.client).get({
|
|
6280
|
-
responseType: '
|
|
7009
|
+
responseType: 'json',
|
|
6281
7010
|
security: [
|
|
7011
|
+
{
|
|
7012
|
+
in: 'cookie',
|
|
7013
|
+
name: 'Authentication',
|
|
7014
|
+
type: 'apiKey'
|
|
7015
|
+
},
|
|
6282
7016
|
{
|
|
6283
7017
|
scheme: 'bearer',
|
|
6284
7018
|
type: 'http'
|
|
6285
7019
|
}
|
|
6286
7020
|
],
|
|
6287
|
-
url: '/api/
|
|
7021
|
+
url: '/api/v2/libraries/interact/tags/{idOrName}',
|
|
6288
7022
|
...options
|
|
6289
7023
|
});
|
|
6290
7024
|
};
|
|
6291
|
-
exports.
|
|
7025
|
+
exports.interactLibraryTagV2ApiControllerGet = interactLibraryTagV2ApiControllerGet;
|
|
7026
|
+
/**
|
|
7027
|
+
* Update InterAct command snippet tag
|
|
7028
|
+
*/
|
|
7029
|
+
const interactLibraryTagV2ApiControllerUpdate = (options) => {
|
|
7030
|
+
return (options.client ?? client_gen_1.client).patch({
|
|
7031
|
+
responseType: 'json',
|
|
7032
|
+
security: [
|
|
7033
|
+
{
|
|
7034
|
+
in: 'cookie',
|
|
7035
|
+
name: 'Authentication',
|
|
7036
|
+
type: 'apiKey'
|
|
7037
|
+
},
|
|
7038
|
+
{
|
|
7039
|
+
scheme: 'bearer',
|
|
7040
|
+
type: 'http'
|
|
7041
|
+
}
|
|
7042
|
+
],
|
|
7043
|
+
url: '/api/v2/libraries/interact/tags/{idOrName}',
|
|
7044
|
+
...options,
|
|
7045
|
+
headers: {
|
|
7046
|
+
'Content-Type': 'application/json',
|
|
7047
|
+
...options.headers
|
|
7048
|
+
}
|
|
7049
|
+
});
|
|
7050
|
+
};
|
|
7051
|
+
exports.interactLibraryTagV2ApiControllerUpdate = interactLibraryTagV2ApiControllerUpdate;
|
|
7052
|
+
/**
|
|
7053
|
+
* List InterAct library files
|
|
7054
|
+
*/
|
|
7055
|
+
const interactLibraryFileV2ApiControllerList = (options) => {
|
|
7056
|
+
return (options?.client ?? client_gen_1.client).get({
|
|
7057
|
+
responseType: 'json',
|
|
7058
|
+
security: [
|
|
7059
|
+
{
|
|
7060
|
+
in: 'cookie',
|
|
7061
|
+
name: 'Authentication',
|
|
7062
|
+
type: 'apiKey'
|
|
7063
|
+
},
|
|
7064
|
+
{
|
|
7065
|
+
scheme: 'bearer',
|
|
7066
|
+
type: 'http'
|
|
7067
|
+
}
|
|
7068
|
+
],
|
|
7069
|
+
url: '/api/v2/libraries/interact/files',
|
|
7070
|
+
...options
|
|
7071
|
+
});
|
|
7072
|
+
};
|
|
7073
|
+
exports.interactLibraryFileV2ApiControllerList = interactLibraryFileV2ApiControllerList;
|
|
7074
|
+
/**
|
|
7075
|
+
* Upload InterAct library file
|
|
7076
|
+
*/
|
|
7077
|
+
const interactLibraryFileV2ApiControllerUpload = (options) => {
|
|
7078
|
+
return (options.client ?? client_gen_1.client).post({
|
|
7079
|
+
responseType: 'json',
|
|
7080
|
+
security: [
|
|
7081
|
+
{
|
|
7082
|
+
in: 'cookie',
|
|
7083
|
+
name: 'Authentication',
|
|
7084
|
+
type: 'apiKey'
|
|
7085
|
+
},
|
|
7086
|
+
{
|
|
7087
|
+
scheme: 'bearer',
|
|
7088
|
+
type: 'http'
|
|
7089
|
+
}
|
|
7090
|
+
],
|
|
7091
|
+
url: '/api/v2/libraries/interact/files',
|
|
7092
|
+
...options,
|
|
7093
|
+
headers: {
|
|
7094
|
+
'Content-Type': 'application/json',
|
|
7095
|
+
...options.headers
|
|
7096
|
+
}
|
|
7097
|
+
});
|
|
7098
|
+
};
|
|
7099
|
+
exports.interactLibraryFileV2ApiControllerUpload = interactLibraryFileV2ApiControllerUpload;
|
|
7100
|
+
/**
|
|
7101
|
+
* Bulk delete InterAct library files
|
|
7102
|
+
*/
|
|
7103
|
+
const interactLibraryFileV2ApiControllerBulkDelete = (options) => {
|
|
7104
|
+
return (options.client ?? client_gen_1.client).post({
|
|
7105
|
+
responseType: 'json',
|
|
7106
|
+
security: [
|
|
7107
|
+
{
|
|
7108
|
+
in: 'cookie',
|
|
7109
|
+
name: 'Authentication',
|
|
7110
|
+
type: 'apiKey'
|
|
7111
|
+
},
|
|
7112
|
+
{
|
|
7113
|
+
scheme: 'bearer',
|
|
7114
|
+
type: 'http'
|
|
7115
|
+
}
|
|
7116
|
+
],
|
|
7117
|
+
url: '/api/v2/libraries/interact/files/delete',
|
|
7118
|
+
...options,
|
|
7119
|
+
headers: {
|
|
7120
|
+
'Content-Type': 'application/json',
|
|
7121
|
+
...options.headers
|
|
7122
|
+
}
|
|
7123
|
+
});
|
|
7124
|
+
};
|
|
7125
|
+
exports.interactLibraryFileV2ApiControllerBulkDelete = interactLibraryFileV2ApiControllerBulkDelete;
|
|
7126
|
+
/**
|
|
7127
|
+
* Delete InterAct library file
|
|
7128
|
+
*/
|
|
7129
|
+
const interactLibraryFileV2ApiControllerDelete = (options) => {
|
|
7130
|
+
return (options.client ?? client_gen_1.client).delete({
|
|
7131
|
+
responseType: 'json',
|
|
7132
|
+
security: [
|
|
7133
|
+
{
|
|
7134
|
+
in: 'cookie',
|
|
7135
|
+
name: 'Authentication',
|
|
7136
|
+
type: 'apiKey'
|
|
7137
|
+
},
|
|
7138
|
+
{
|
|
7139
|
+
scheme: 'bearer',
|
|
7140
|
+
type: 'http'
|
|
7141
|
+
}
|
|
7142
|
+
],
|
|
7143
|
+
url: '/api/v2/libraries/interact/files/{idOrName}',
|
|
7144
|
+
...options
|
|
7145
|
+
});
|
|
7146
|
+
};
|
|
7147
|
+
exports.interactLibraryFileV2ApiControllerDelete = interactLibraryFileV2ApiControllerDelete;
|
|
7148
|
+
/**
|
|
7149
|
+
* Download InterAct library file by id or name
|
|
7150
|
+
*/
|
|
7151
|
+
const interactLibraryFileV2ApiControllerDownload = (options) => {
|
|
7152
|
+
return (options.client ?? client_gen_1.client).get({
|
|
7153
|
+
responseType: 'blob',
|
|
7154
|
+
security: [
|
|
7155
|
+
{
|
|
7156
|
+
in: 'cookie',
|
|
7157
|
+
name: 'Authentication',
|
|
7158
|
+
type: 'apiKey'
|
|
7159
|
+
},
|
|
7160
|
+
{
|
|
7161
|
+
scheme: 'bearer',
|
|
7162
|
+
type: 'http'
|
|
7163
|
+
}
|
|
7164
|
+
],
|
|
7165
|
+
url: '/api/v2/libraries/interact/files/{idOrName}',
|
|
7166
|
+
...options
|
|
7167
|
+
});
|
|
7168
|
+
};
|
|
7169
|
+
exports.interactLibraryFileV2ApiControllerDownload = interactLibraryFileV2ApiControllerDownload;
|
|
7170
|
+
const multipartUploadInitializeHead = (options) => {
|
|
7171
|
+
return (options?.client ?? client_gen_1.client).head({
|
|
7172
|
+
security: [
|
|
7173
|
+
{
|
|
7174
|
+
scheme: 'bearer',
|
|
7175
|
+
type: 'http'
|
|
7176
|
+
}
|
|
7177
|
+
],
|
|
7178
|
+
url: '/api/public/multipart-upload/initialize',
|
|
7179
|
+
...options
|
|
7180
|
+
});
|
|
7181
|
+
};
|
|
7182
|
+
exports.multipartUploadInitializeHead = multipartUploadInitializeHead;
|
|
7183
|
+
const multipartUploadInitialize = (options) => {
|
|
7184
|
+
return (options?.client ?? client_gen_1.client).post({
|
|
7185
|
+
security: [
|
|
7186
|
+
{
|
|
7187
|
+
scheme: 'bearer',
|
|
7188
|
+
type: 'http'
|
|
7189
|
+
}
|
|
7190
|
+
],
|
|
7191
|
+
url: '/api/public/multipart-upload/initialize',
|
|
7192
|
+
...options
|
|
7193
|
+
});
|
|
7194
|
+
};
|
|
7195
|
+
exports.multipartUploadInitialize = multipartUploadInitialize;
|
|
7196
|
+
const multipartUploadFinalize = (options) => {
|
|
7197
|
+
return (options?.client ?? client_gen_1.client).post({
|
|
7198
|
+
security: [
|
|
7199
|
+
{
|
|
7200
|
+
scheme: 'bearer',
|
|
7201
|
+
type: 'http'
|
|
7202
|
+
}
|
|
7203
|
+
],
|
|
7204
|
+
url: '/api/public/multipart-upload/finalize',
|
|
7205
|
+
...options
|
|
7206
|
+
});
|
|
7207
|
+
};
|
|
7208
|
+
exports.multipartUploadFinalize = multipartUploadFinalize;
|
|
7209
|
+
const multipartUploadIsReady = (options) => {
|
|
7210
|
+
return (options.client ?? client_gen_1.client).get({
|
|
7211
|
+
security: [
|
|
7212
|
+
{
|
|
7213
|
+
scheme: 'bearer',
|
|
7214
|
+
type: 'http'
|
|
7215
|
+
}
|
|
7216
|
+
],
|
|
7217
|
+
url: '/api/public/multipart-upload/is-ready',
|
|
7218
|
+
...options
|
|
7219
|
+
});
|
|
7220
|
+
};
|
|
7221
|
+
exports.multipartUploadIsReady = multipartUploadIsReady;
|
|
7222
|
+
const multipartUploadDeleteFileParts = (options) => {
|
|
7223
|
+
return (options?.client ?? client_gen_1.client).post({
|
|
7224
|
+
security: [
|
|
7225
|
+
{
|
|
7226
|
+
scheme: 'bearer',
|
|
7227
|
+
type: 'http'
|
|
7228
|
+
}
|
|
7229
|
+
],
|
|
7230
|
+
url: '/api/public/multipart-upload/delete-file-parts',
|
|
7231
|
+
...options
|
|
7232
|
+
});
|
|
7233
|
+
};
|
|
7234
|
+
exports.multipartUploadDeleteFileParts = multipartUploadDeleteFileParts;
|
|
7235
|
+
const multipartUploadUploadPart = (options) => {
|
|
7236
|
+
return (options.client ?? client_gen_1.client).put({
|
|
7237
|
+
security: [
|
|
7238
|
+
{
|
|
7239
|
+
scheme: 'bearer',
|
|
7240
|
+
type: 'http'
|
|
7241
|
+
}
|
|
7242
|
+
],
|
|
7243
|
+
url: '/api/public/multipart-upload/upload-part',
|
|
7244
|
+
...options,
|
|
7245
|
+
headers: {
|
|
7246
|
+
'Content-Type': 'application/json',
|
|
7247
|
+
...options.headers
|
|
7248
|
+
}
|
|
7249
|
+
});
|
|
7250
|
+
};
|
|
7251
|
+
exports.multipartUploadUploadPart = multipartUploadUploadPart;
|
|
7252
|
+
/**
|
|
7253
|
+
* Compare baseline acquisitions
|
|
7254
|
+
* Compare two baseline acquisition results from the same endpoint
|
|
7255
|
+
*/
|
|
7256
|
+
const baselineCompare = (options) => {
|
|
7257
|
+
return (options.client ?? client_gen_1.client).post({
|
|
7258
|
+
responseType: 'json',
|
|
7259
|
+
security: [
|
|
7260
|
+
{
|
|
7261
|
+
scheme: 'bearer',
|
|
7262
|
+
type: 'http'
|
|
7263
|
+
}
|
|
7264
|
+
],
|
|
7265
|
+
url: '/api/public/baseline/compare',
|
|
7266
|
+
...options,
|
|
7267
|
+
headers: {
|
|
7268
|
+
'Content-Type': 'application/json',
|
|
7269
|
+
...options.headers
|
|
7270
|
+
}
|
|
7271
|
+
});
|
|
7272
|
+
};
|
|
7273
|
+
exports.baselineCompare = baselineCompare;
|
|
7274
|
+
/**
|
|
7275
|
+
* Acquire baseline evidence
|
|
7276
|
+
* Acquire baseline evidence from endpoints by filter
|
|
7277
|
+
*/
|
|
7278
|
+
const baselineAcquire = (options) => {
|
|
7279
|
+
return (options.client ?? client_gen_1.client).post({
|
|
7280
|
+
responseType: 'json',
|
|
7281
|
+
security: [
|
|
7282
|
+
{
|
|
7283
|
+
scheme: 'bearer',
|
|
7284
|
+
type: 'http'
|
|
7285
|
+
}
|
|
7286
|
+
],
|
|
7287
|
+
url: '/api/public/baseline/acquire',
|
|
7288
|
+
...options,
|
|
7289
|
+
headers: {
|
|
7290
|
+
'Content-Type': 'application/json',
|
|
7291
|
+
...options.headers
|
|
7292
|
+
}
|
|
7293
|
+
});
|
|
7294
|
+
};
|
|
7295
|
+
exports.baselineAcquire = baselineAcquire;
|
|
7296
|
+
/**
|
|
7297
|
+
* Get baseline comparison report
|
|
7298
|
+
* Retrieve the HTML report for a completed baseline comparison task.
|
|
7299
|
+
*/
|
|
7300
|
+
const baselineGetComparisonReport = (options) => {
|
|
7301
|
+
return (options.client ?? client_gen_1.client).get({
|
|
7302
|
+
responseType: 'text',
|
|
7303
|
+
security: [
|
|
7304
|
+
{
|
|
7305
|
+
scheme: 'bearer',
|
|
7306
|
+
type: 'http'
|
|
7307
|
+
}
|
|
7308
|
+
],
|
|
7309
|
+
url: '/api/public/baseline/comparison/report/{endpointId}/{taskId}',
|
|
7310
|
+
...options
|
|
7311
|
+
});
|
|
7312
|
+
};
|
|
7313
|
+
exports.baselineGetComparisonReport = baselineGetComparisonReport;
|
|
7314
|
+
const baselineGetComparisonReportByVendorDeviceId = (options) => {
|
|
7315
|
+
return (options.client ?? client_gen_1.client).get({
|
|
7316
|
+
responseType: 'text',
|
|
7317
|
+
security: [
|
|
7318
|
+
{
|
|
7319
|
+
scheme: 'bearer',
|
|
7320
|
+
type: 'http'
|
|
7321
|
+
}
|
|
7322
|
+
],
|
|
7323
|
+
url: '/api/public/baseline/comparison/report/by-vendor-device-id/{vendorDeviceId}/{taskId}',
|
|
7324
|
+
...options
|
|
7325
|
+
});
|
|
7326
|
+
};
|
|
7327
|
+
exports.baselineGetComparisonReportByVendorDeviceId = baselineGetComparisonReportByVendorDeviceId;
|
|
6292
7328
|
/**
|
|
6293
7329
|
* Get API Tokens
|
|
6294
7330
|
* Get all API tokens
|
|
@@ -8098,9 +9134,20 @@ exports.processorGetProcessorTypeByAssetType = processorGetProcessorTypeByAssetT
|
|
|
8098
9134
|
const assetV2ApiControllerGetStats = (options) => {
|
|
8099
9135
|
return (options?.client ?? client_gen_1.client).get({
|
|
8100
9136
|
responseType: 'json',
|
|
8101
|
-
|
|
8102
|
-
|
|
8103
|
-
|
|
9137
|
+
security: [
|
|
9138
|
+
{
|
|
9139
|
+
in: 'cookie',
|
|
9140
|
+
name: 'Authentication',
|
|
9141
|
+
type: 'apiKey'
|
|
9142
|
+
},
|
|
9143
|
+
{
|
|
9144
|
+
scheme: 'bearer',
|
|
9145
|
+
type: 'http'
|
|
9146
|
+
}
|
|
9147
|
+
],
|
|
9148
|
+
url: '/api/v2/assets/stats',
|
|
9149
|
+
...options
|
|
9150
|
+
});
|
|
8104
9151
|
};
|
|
8105
9152
|
exports.assetV2ApiControllerGetStats = assetV2ApiControllerGetStats;
|
|
8106
9153
|
/**
|
|
@@ -8110,6 +9157,17 @@ exports.assetV2ApiControllerGetStats = assetV2ApiControllerGetStats;
|
|
|
8110
9157
|
const assetV2ApiControllerExportAssets = (options) => {
|
|
8111
9158
|
return (options.client ?? client_gen_1.client).get({
|
|
8112
9159
|
responseType: 'text',
|
|
9160
|
+
security: [
|
|
9161
|
+
{
|
|
9162
|
+
in: 'cookie',
|
|
9163
|
+
name: 'Authentication',
|
|
9164
|
+
type: 'apiKey'
|
|
9165
|
+
},
|
|
9166
|
+
{
|
|
9167
|
+
scheme: 'bearer',
|
|
9168
|
+
type: 'http'
|
|
9169
|
+
}
|
|
9170
|
+
],
|
|
8113
9171
|
url: '/api/v2/assets/export',
|
|
8114
9172
|
...options
|
|
8115
9173
|
});
|
|
@@ -8122,6 +9180,17 @@ exports.assetV2ApiControllerExportAssets = assetV2ApiControllerExportAssets;
|
|
|
8122
9180
|
const assetV2ApiControllerFilterAssets = (options) => {
|
|
8123
9181
|
return (options?.client ?? client_gen_1.client).get({
|
|
8124
9182
|
responseType: 'json',
|
|
9183
|
+
security: [
|
|
9184
|
+
{
|
|
9185
|
+
in: 'cookie',
|
|
9186
|
+
name: 'Authentication',
|
|
9187
|
+
type: 'apiKey'
|
|
9188
|
+
},
|
|
9189
|
+
{
|
|
9190
|
+
scheme: 'bearer',
|
|
9191
|
+
type: 'http'
|
|
9192
|
+
}
|
|
9193
|
+
],
|
|
8125
9194
|
url: '/api/v2/assets',
|
|
8126
9195
|
...options
|
|
8127
9196
|
});
|
|
@@ -8134,6 +9203,17 @@ exports.assetV2ApiControllerFilterAssets = assetV2ApiControllerFilterAssets;
|
|
|
8134
9203
|
const assetV2ApiControllerDeleteAsset = (options) => {
|
|
8135
9204
|
return (options.client ?? client_gen_1.client).delete({
|
|
8136
9205
|
responseType: 'json',
|
|
9206
|
+
security: [
|
|
9207
|
+
{
|
|
9208
|
+
in: 'cookie',
|
|
9209
|
+
name: 'Authentication',
|
|
9210
|
+
type: 'apiKey'
|
|
9211
|
+
},
|
|
9212
|
+
{
|
|
9213
|
+
scheme: 'bearer',
|
|
9214
|
+
type: 'http'
|
|
9215
|
+
}
|
|
9216
|
+
],
|
|
8137
9217
|
url: '/api/v2/assets/{idOrName}',
|
|
8138
9218
|
...options
|
|
8139
9219
|
});
|
|
@@ -8146,6 +9226,17 @@ exports.assetV2ApiControllerDeleteAsset = assetV2ApiControllerDeleteAsset;
|
|
|
8146
9226
|
const assetV2ApiControllerGetAsset = (options) => {
|
|
8147
9227
|
return (options.client ?? client_gen_1.client).get({
|
|
8148
9228
|
responseType: 'json',
|
|
9229
|
+
security: [
|
|
9230
|
+
{
|
|
9231
|
+
in: 'cookie',
|
|
9232
|
+
name: 'Authentication',
|
|
9233
|
+
type: 'apiKey'
|
|
9234
|
+
},
|
|
9235
|
+
{
|
|
9236
|
+
scheme: 'bearer',
|
|
9237
|
+
type: 'http'
|
|
9238
|
+
}
|
|
9239
|
+
],
|
|
8149
9240
|
url: '/api/v2/assets/{idOrName}',
|
|
8150
9241
|
...options
|
|
8151
9242
|
});
|
|
@@ -8158,6 +9249,17 @@ exports.assetV2ApiControllerGetAsset = assetV2ApiControllerGetAsset;
|
|
|
8158
9249
|
const assetV2ApiControllerReplaceTags = (options) => {
|
|
8159
9250
|
return (options.client ?? client_gen_1.client).patch({
|
|
8160
9251
|
responseType: 'json',
|
|
9252
|
+
security: [
|
|
9253
|
+
{
|
|
9254
|
+
in: 'cookie',
|
|
9255
|
+
name: 'Authentication',
|
|
9256
|
+
type: 'apiKey'
|
|
9257
|
+
},
|
|
9258
|
+
{
|
|
9259
|
+
scheme: 'bearer',
|
|
9260
|
+
type: 'http'
|
|
9261
|
+
}
|
|
9262
|
+
],
|
|
8161
9263
|
url: '/api/v2/assets/{idOrName}/tags',
|
|
8162
9264
|
...options,
|
|
8163
9265
|
headers: {
|
|
@@ -8166,15 +9268,971 @@ const assetV2ApiControllerReplaceTags = (options) => {
|
|
|
8166
9268
|
}
|
|
8167
9269
|
});
|
|
8168
9270
|
};
|
|
8169
|
-
exports.assetV2ApiControllerReplaceTags = assetV2ApiControllerReplaceTags;
|
|
9271
|
+
exports.assetV2ApiControllerReplaceTags = assetV2ApiControllerReplaceTags;
|
|
9272
|
+
/**
|
|
9273
|
+
* Update asset label
|
|
9274
|
+
* Sets the user-friendly label. Sending null clears it.
|
|
9275
|
+
*/
|
|
9276
|
+
const assetV2ApiControllerUpdateLabel = (options) => {
|
|
9277
|
+
return (options.client ?? client_gen_1.client).patch({
|
|
9278
|
+
responseType: 'json',
|
|
9279
|
+
security: [
|
|
9280
|
+
{
|
|
9281
|
+
in: 'cookie',
|
|
9282
|
+
name: 'Authentication',
|
|
9283
|
+
type: 'apiKey'
|
|
9284
|
+
},
|
|
9285
|
+
{
|
|
9286
|
+
scheme: 'bearer',
|
|
9287
|
+
type: 'http'
|
|
9288
|
+
}
|
|
9289
|
+
],
|
|
9290
|
+
url: '/api/v2/assets/{idOrName}/label',
|
|
9291
|
+
...options,
|
|
9292
|
+
headers: {
|
|
9293
|
+
'Content-Type': 'application/json',
|
|
9294
|
+
...options.headers
|
|
9295
|
+
}
|
|
9296
|
+
});
|
|
9297
|
+
};
|
|
9298
|
+
exports.assetV2ApiControllerUpdateLabel = assetV2ApiControllerUpdateLabel;
|
|
9299
|
+
/**
|
|
9300
|
+
* Reboot a single asset
|
|
9301
|
+
*/
|
|
9302
|
+
const assetActionV2ApiControllerReboot = (options) => {
|
|
9303
|
+
return (options.client ?? client_gen_1.client).post({
|
|
9304
|
+
responseType: 'json',
|
|
9305
|
+
security: [
|
|
9306
|
+
{
|
|
9307
|
+
in: 'cookie',
|
|
9308
|
+
name: 'Authentication',
|
|
9309
|
+
type: 'apiKey'
|
|
9310
|
+
},
|
|
9311
|
+
{
|
|
9312
|
+
scheme: 'bearer',
|
|
9313
|
+
type: 'http'
|
|
9314
|
+
}
|
|
9315
|
+
],
|
|
9316
|
+
url: '/api/v2/assets/{idOrName}/reboot',
|
|
9317
|
+
...options,
|
|
9318
|
+
headers: {
|
|
9319
|
+
'Content-Type': 'application/json',
|
|
9320
|
+
...options.headers
|
|
9321
|
+
}
|
|
9322
|
+
});
|
|
9323
|
+
};
|
|
9324
|
+
exports.assetActionV2ApiControllerReboot = assetActionV2ApiControllerReboot;
|
|
9325
|
+
/**
|
|
9326
|
+
* Shut down a single asset
|
|
9327
|
+
*/
|
|
9328
|
+
const assetActionV2ApiControllerShutdown = (options) => {
|
|
9329
|
+
return (options.client ?? client_gen_1.client).post({
|
|
9330
|
+
responseType: 'json',
|
|
9331
|
+
security: [
|
|
9332
|
+
{
|
|
9333
|
+
in: 'cookie',
|
|
9334
|
+
name: 'Authentication',
|
|
9335
|
+
type: 'apiKey'
|
|
9336
|
+
},
|
|
9337
|
+
{
|
|
9338
|
+
scheme: 'bearer',
|
|
9339
|
+
type: 'http'
|
|
9340
|
+
}
|
|
9341
|
+
],
|
|
9342
|
+
url: '/api/v2/assets/{idOrName}/shutdown',
|
|
9343
|
+
...options,
|
|
9344
|
+
headers: {
|
|
9345
|
+
'Content-Type': 'application/json',
|
|
9346
|
+
...options.headers
|
|
9347
|
+
}
|
|
9348
|
+
});
|
|
9349
|
+
};
|
|
9350
|
+
exports.assetActionV2ApiControllerShutdown = assetActionV2ApiControllerShutdown;
|
|
9351
|
+
/**
|
|
9352
|
+
* Isolate a single asset
|
|
9353
|
+
*/
|
|
9354
|
+
const assetActionV2ApiControllerIsolate = (options) => {
|
|
9355
|
+
return (options.client ?? client_gen_1.client).post({
|
|
9356
|
+
responseType: 'json',
|
|
9357
|
+
security: [
|
|
9358
|
+
{
|
|
9359
|
+
in: 'cookie',
|
|
9360
|
+
name: 'Authentication',
|
|
9361
|
+
type: 'apiKey'
|
|
9362
|
+
},
|
|
9363
|
+
{
|
|
9364
|
+
scheme: 'bearer',
|
|
9365
|
+
type: 'http'
|
|
9366
|
+
}
|
|
9367
|
+
],
|
|
9368
|
+
url: '/api/v2/assets/{idOrName}/isolate',
|
|
9369
|
+
...options,
|
|
9370
|
+
headers: {
|
|
9371
|
+
'Content-Type': 'application/json',
|
|
9372
|
+
...options.headers
|
|
9373
|
+
}
|
|
9374
|
+
});
|
|
9375
|
+
};
|
|
9376
|
+
exports.assetActionV2ApiControllerIsolate = assetActionV2ApiControllerIsolate;
|
|
9377
|
+
/**
|
|
9378
|
+
* Unisolate a single asset
|
|
9379
|
+
*/
|
|
9380
|
+
const assetActionV2ApiControllerUnisolate = (options) => {
|
|
9381
|
+
return (options.client ?? client_gen_1.client).post({
|
|
9382
|
+
responseType: 'json',
|
|
9383
|
+
security: [
|
|
9384
|
+
{
|
|
9385
|
+
in: 'cookie',
|
|
9386
|
+
name: 'Authentication',
|
|
9387
|
+
type: 'apiKey'
|
|
9388
|
+
},
|
|
9389
|
+
{
|
|
9390
|
+
scheme: 'bearer',
|
|
9391
|
+
type: 'http'
|
|
9392
|
+
}
|
|
9393
|
+
],
|
|
9394
|
+
url: '/api/v2/assets/{idOrName}/unisolate',
|
|
9395
|
+
...options,
|
|
9396
|
+
headers: {
|
|
9397
|
+
'Content-Type': 'application/json',
|
|
9398
|
+
...options.headers
|
|
9399
|
+
}
|
|
9400
|
+
});
|
|
9401
|
+
};
|
|
9402
|
+
exports.assetActionV2ApiControllerUnisolate = assetActionV2ApiControllerUnisolate;
|
|
9403
|
+
/**
|
|
9404
|
+
* Retrieve the agent logs of a single asset
|
|
9405
|
+
*/
|
|
9406
|
+
const assetActionV2ApiControllerRetrieveLogs = (options) => {
|
|
9407
|
+
return (options.client ?? client_gen_1.client).post({
|
|
9408
|
+
responseType: 'json',
|
|
9409
|
+
security: [
|
|
9410
|
+
{
|
|
9411
|
+
in: 'cookie',
|
|
9412
|
+
name: 'Authentication',
|
|
9413
|
+
type: 'apiKey'
|
|
9414
|
+
},
|
|
9415
|
+
{
|
|
9416
|
+
scheme: 'bearer',
|
|
9417
|
+
type: 'http'
|
|
9418
|
+
}
|
|
9419
|
+
],
|
|
9420
|
+
url: '/api/v2/assets/{idOrName}/log-retrieval',
|
|
9421
|
+
...options,
|
|
9422
|
+
headers: {
|
|
9423
|
+
'Content-Type': 'application/json',
|
|
9424
|
+
...options.headers
|
|
9425
|
+
}
|
|
9426
|
+
});
|
|
9427
|
+
};
|
|
9428
|
+
exports.assetActionV2ApiControllerRetrieveLogs = assetActionV2ApiControllerRetrieveLogs;
|
|
9429
|
+
/**
|
|
9430
|
+
* Update the agent version on a single asset
|
|
9431
|
+
*/
|
|
9432
|
+
const assetActionV2ApiControllerVersionUpdate = (options) => {
|
|
9433
|
+
return (options.client ?? client_gen_1.client).post({
|
|
9434
|
+
responseType: 'json',
|
|
9435
|
+
security: [
|
|
9436
|
+
{
|
|
9437
|
+
in: 'cookie',
|
|
9438
|
+
name: 'Authentication',
|
|
9439
|
+
type: 'apiKey'
|
|
9440
|
+
},
|
|
9441
|
+
{
|
|
9442
|
+
scheme: 'bearer',
|
|
9443
|
+
type: 'http'
|
|
9444
|
+
}
|
|
9445
|
+
],
|
|
9446
|
+
url: '/api/v2/assets/{idOrName}/update',
|
|
9447
|
+
...options,
|
|
9448
|
+
headers: {
|
|
9449
|
+
'Content-Type': 'application/json',
|
|
9450
|
+
...options.headers
|
|
9451
|
+
}
|
|
9452
|
+
});
|
|
9453
|
+
};
|
|
9454
|
+
exports.assetActionV2ApiControllerVersionUpdate = assetActionV2ApiControllerVersionUpdate;
|
|
9455
|
+
/**
|
|
9456
|
+
* Enable maintenance mode on a single asset
|
|
9457
|
+
*/
|
|
9458
|
+
const assetActionV2ApiControllerEnableMaintenance = (options) => {
|
|
9459
|
+
return (options.client ?? client_gen_1.client).post({
|
|
9460
|
+
responseType: 'json',
|
|
9461
|
+
security: [
|
|
9462
|
+
{
|
|
9463
|
+
in: 'cookie',
|
|
9464
|
+
name: 'Authentication',
|
|
9465
|
+
type: 'apiKey'
|
|
9466
|
+
},
|
|
9467
|
+
{
|
|
9468
|
+
scheme: 'bearer',
|
|
9469
|
+
type: 'http'
|
|
9470
|
+
}
|
|
9471
|
+
],
|
|
9472
|
+
url: '/api/v2/assets/{idOrName}/enable-maintenance',
|
|
9473
|
+
...options,
|
|
9474
|
+
headers: {
|
|
9475
|
+
'Content-Type': 'application/json',
|
|
9476
|
+
...options.headers
|
|
9477
|
+
}
|
|
9478
|
+
});
|
|
9479
|
+
};
|
|
9480
|
+
exports.assetActionV2ApiControllerEnableMaintenance = assetActionV2ApiControllerEnableMaintenance;
|
|
9481
|
+
/**
|
|
9482
|
+
* Disable maintenance mode on a single asset
|
|
9483
|
+
*/
|
|
9484
|
+
const assetActionV2ApiControllerDisableMaintenance = (options) => {
|
|
9485
|
+
return (options.client ?? client_gen_1.client).post({
|
|
9486
|
+
responseType: 'json',
|
|
9487
|
+
security: [
|
|
9488
|
+
{
|
|
9489
|
+
in: 'cookie',
|
|
9490
|
+
name: 'Authentication',
|
|
9491
|
+
type: 'apiKey'
|
|
9492
|
+
},
|
|
9493
|
+
{
|
|
9494
|
+
scheme: 'bearer',
|
|
9495
|
+
type: 'http'
|
|
9496
|
+
}
|
|
9497
|
+
],
|
|
9498
|
+
url: '/api/v2/assets/{idOrName}/disable-maintenance',
|
|
9499
|
+
...options,
|
|
9500
|
+
headers: {
|
|
9501
|
+
'Content-Type': 'application/json',
|
|
9502
|
+
...options.headers
|
|
9503
|
+
}
|
|
9504
|
+
});
|
|
9505
|
+
};
|
|
9506
|
+
exports.assetActionV2ApiControllerDisableMaintenance = assetActionV2ApiControllerDisableMaintenance;
|
|
9507
|
+
/**
|
|
9508
|
+
* Import a PPC file into an existing asset
|
|
9509
|
+
*/
|
|
9510
|
+
const assetActionV2ApiControllerImportPpcToExistingAsset = (options) => {
|
|
9511
|
+
return (options.client ?? client_gen_1.client).post({
|
|
9512
|
+
responseType: 'json',
|
|
9513
|
+
security: [
|
|
9514
|
+
{
|
|
9515
|
+
in: 'cookie',
|
|
9516
|
+
name: 'Authentication',
|
|
9517
|
+
type: 'apiKey'
|
|
9518
|
+
},
|
|
9519
|
+
{
|
|
9520
|
+
scheme: 'bearer',
|
|
9521
|
+
type: 'http'
|
|
9522
|
+
}
|
|
9523
|
+
],
|
|
9524
|
+
url: '/api/v2/assets/{idOrName}/import',
|
|
9525
|
+
...options
|
|
9526
|
+
});
|
|
9527
|
+
};
|
|
9528
|
+
exports.assetActionV2ApiControllerImportPpcToExistingAsset = assetActionV2ApiControllerImportPpcToExistingAsset;
|
|
9529
|
+
/**
|
|
9530
|
+
* Reboot multiple assets
|
|
9531
|
+
*/
|
|
9532
|
+
const assetBulkActionV2ApiControllerReboot = (options) => {
|
|
9533
|
+
return (options.client ?? client_gen_1.client).post({
|
|
9534
|
+
responseType: 'json',
|
|
9535
|
+
security: [
|
|
9536
|
+
{
|
|
9537
|
+
in: 'cookie',
|
|
9538
|
+
name: 'Authentication',
|
|
9539
|
+
type: 'apiKey'
|
|
9540
|
+
},
|
|
9541
|
+
{
|
|
9542
|
+
scheme: 'bearer',
|
|
9543
|
+
type: 'http'
|
|
9544
|
+
}
|
|
9545
|
+
],
|
|
9546
|
+
url: '/api/v2/reboot',
|
|
9547
|
+
...options,
|
|
9548
|
+
headers: {
|
|
9549
|
+
'Content-Type': 'application/json',
|
|
9550
|
+
...options.headers
|
|
9551
|
+
}
|
|
9552
|
+
});
|
|
9553
|
+
};
|
|
9554
|
+
exports.assetBulkActionV2ApiControllerReboot = assetBulkActionV2ApiControllerReboot;
|
|
9555
|
+
/**
|
|
9556
|
+
* Shut down multiple assets
|
|
9557
|
+
*/
|
|
9558
|
+
const assetBulkActionV2ApiControllerShutdown = (options) => {
|
|
9559
|
+
return (options.client ?? client_gen_1.client).post({
|
|
9560
|
+
responseType: 'json',
|
|
9561
|
+
security: [
|
|
9562
|
+
{
|
|
9563
|
+
in: 'cookie',
|
|
9564
|
+
name: 'Authentication',
|
|
9565
|
+
type: 'apiKey'
|
|
9566
|
+
},
|
|
9567
|
+
{
|
|
9568
|
+
scheme: 'bearer',
|
|
9569
|
+
type: 'http'
|
|
9570
|
+
}
|
|
9571
|
+
],
|
|
9572
|
+
url: '/api/v2/shutdown',
|
|
9573
|
+
...options,
|
|
9574
|
+
headers: {
|
|
9575
|
+
'Content-Type': 'application/json',
|
|
9576
|
+
...options.headers
|
|
9577
|
+
}
|
|
9578
|
+
});
|
|
9579
|
+
};
|
|
9580
|
+
exports.assetBulkActionV2ApiControllerShutdown = assetBulkActionV2ApiControllerShutdown;
|
|
9581
|
+
/**
|
|
9582
|
+
* Isolate multiple assets
|
|
9583
|
+
*/
|
|
9584
|
+
const assetBulkActionV2ApiControllerIsolate = (options) => {
|
|
9585
|
+
return (options.client ?? client_gen_1.client).post({
|
|
9586
|
+
responseType: 'json',
|
|
9587
|
+
security: [
|
|
9588
|
+
{
|
|
9589
|
+
in: 'cookie',
|
|
9590
|
+
name: 'Authentication',
|
|
9591
|
+
type: 'apiKey'
|
|
9592
|
+
},
|
|
9593
|
+
{
|
|
9594
|
+
scheme: 'bearer',
|
|
9595
|
+
type: 'http'
|
|
9596
|
+
}
|
|
9597
|
+
],
|
|
9598
|
+
url: '/api/v2/isolate',
|
|
9599
|
+
...options,
|
|
9600
|
+
headers: {
|
|
9601
|
+
'Content-Type': 'application/json',
|
|
9602
|
+
...options.headers
|
|
9603
|
+
}
|
|
9604
|
+
});
|
|
9605
|
+
};
|
|
9606
|
+
exports.assetBulkActionV2ApiControllerIsolate = assetBulkActionV2ApiControllerIsolate;
|
|
9607
|
+
/**
|
|
9608
|
+
* Unisolate multiple assets
|
|
9609
|
+
*/
|
|
9610
|
+
const assetBulkActionV2ApiControllerUnisolate = (options) => {
|
|
9611
|
+
return (options.client ?? client_gen_1.client).post({
|
|
9612
|
+
responseType: 'json',
|
|
9613
|
+
security: [
|
|
9614
|
+
{
|
|
9615
|
+
in: 'cookie',
|
|
9616
|
+
name: 'Authentication',
|
|
9617
|
+
type: 'apiKey'
|
|
9618
|
+
},
|
|
9619
|
+
{
|
|
9620
|
+
scheme: 'bearer',
|
|
9621
|
+
type: 'http'
|
|
9622
|
+
}
|
|
9623
|
+
],
|
|
9624
|
+
url: '/api/v2/unisolate',
|
|
9625
|
+
...options,
|
|
9626
|
+
headers: {
|
|
9627
|
+
'Content-Type': 'application/json',
|
|
9628
|
+
...options.headers
|
|
9629
|
+
}
|
|
9630
|
+
});
|
|
9631
|
+
};
|
|
9632
|
+
exports.assetBulkActionV2ApiControllerUnisolate = assetBulkActionV2ApiControllerUnisolate;
|
|
9633
|
+
/**
|
|
9634
|
+
* Retrieve the agent logs of multiple assets
|
|
9635
|
+
*/
|
|
9636
|
+
const assetBulkActionV2ApiControllerRetrieveLogs = (options) => {
|
|
9637
|
+
return (options.client ?? client_gen_1.client).post({
|
|
9638
|
+
responseType: 'json',
|
|
9639
|
+
security: [
|
|
9640
|
+
{
|
|
9641
|
+
in: 'cookie',
|
|
9642
|
+
name: 'Authentication',
|
|
9643
|
+
type: 'apiKey'
|
|
9644
|
+
},
|
|
9645
|
+
{
|
|
9646
|
+
scheme: 'bearer',
|
|
9647
|
+
type: 'http'
|
|
9648
|
+
}
|
|
9649
|
+
],
|
|
9650
|
+
url: '/api/v2/log-retrieval',
|
|
9651
|
+
...options,
|
|
9652
|
+
headers: {
|
|
9653
|
+
'Content-Type': 'application/json',
|
|
9654
|
+
...options.headers
|
|
9655
|
+
}
|
|
9656
|
+
});
|
|
9657
|
+
};
|
|
9658
|
+
exports.assetBulkActionV2ApiControllerRetrieveLogs = assetBulkActionV2ApiControllerRetrieveLogs;
|
|
9659
|
+
/**
|
|
9660
|
+
* Update the agent version on multiple assets
|
|
9661
|
+
*/
|
|
9662
|
+
const assetBulkActionV2ApiControllerVersionUpdate = (options) => {
|
|
9663
|
+
return (options.client ?? client_gen_1.client).post({
|
|
9664
|
+
responseType: 'json',
|
|
9665
|
+
security: [
|
|
9666
|
+
{
|
|
9667
|
+
in: 'cookie',
|
|
9668
|
+
name: 'Authentication',
|
|
9669
|
+
type: 'apiKey'
|
|
9670
|
+
},
|
|
9671
|
+
{
|
|
9672
|
+
scheme: 'bearer',
|
|
9673
|
+
type: 'http'
|
|
9674
|
+
}
|
|
9675
|
+
],
|
|
9676
|
+
url: '/api/v2/version-update',
|
|
9677
|
+
...options,
|
|
9678
|
+
headers: {
|
|
9679
|
+
'Content-Type': 'application/json',
|
|
9680
|
+
...options.headers
|
|
9681
|
+
}
|
|
9682
|
+
});
|
|
9683
|
+
};
|
|
9684
|
+
exports.assetBulkActionV2ApiControllerVersionUpdate = assetBulkActionV2ApiControllerVersionUpdate;
|
|
9685
|
+
/**
|
|
9686
|
+
* Enable maintenance mode on multiple assets
|
|
9687
|
+
*/
|
|
9688
|
+
const assetBulkActionV2ApiControllerEnableMaintenance = (options) => {
|
|
9689
|
+
return (options.client ?? client_gen_1.client).post({
|
|
9690
|
+
responseType: 'json',
|
|
9691
|
+
security: [
|
|
9692
|
+
{
|
|
9693
|
+
in: 'cookie',
|
|
9694
|
+
name: 'Authentication',
|
|
9695
|
+
type: 'apiKey'
|
|
9696
|
+
},
|
|
9697
|
+
{
|
|
9698
|
+
scheme: 'bearer',
|
|
9699
|
+
type: 'http'
|
|
9700
|
+
}
|
|
9701
|
+
],
|
|
9702
|
+
url: '/api/v2/enable-maintenance',
|
|
9703
|
+
...options,
|
|
9704
|
+
headers: {
|
|
9705
|
+
'Content-Type': 'application/json',
|
|
9706
|
+
...options.headers
|
|
9707
|
+
}
|
|
9708
|
+
});
|
|
9709
|
+
};
|
|
9710
|
+
exports.assetBulkActionV2ApiControllerEnableMaintenance = assetBulkActionV2ApiControllerEnableMaintenance;
|
|
9711
|
+
/**
|
|
9712
|
+
* Disable maintenance mode on multiple assets
|
|
9713
|
+
*/
|
|
9714
|
+
const assetBulkActionV2ApiControllerDisableMaintenance = (options) => {
|
|
9715
|
+
return (options.client ?? client_gen_1.client).post({
|
|
9716
|
+
responseType: 'json',
|
|
9717
|
+
security: [
|
|
9718
|
+
{
|
|
9719
|
+
in: 'cookie',
|
|
9720
|
+
name: 'Authentication',
|
|
9721
|
+
type: 'apiKey'
|
|
9722
|
+
},
|
|
9723
|
+
{
|
|
9724
|
+
scheme: 'bearer',
|
|
9725
|
+
type: 'http'
|
|
9726
|
+
}
|
|
9727
|
+
],
|
|
9728
|
+
url: '/api/v2/disable-maintenance',
|
|
9729
|
+
...options,
|
|
9730
|
+
headers: {
|
|
9731
|
+
'Content-Type': 'application/json',
|
|
9732
|
+
...options.headers
|
|
9733
|
+
}
|
|
9734
|
+
});
|
|
9735
|
+
};
|
|
9736
|
+
exports.assetBulkActionV2ApiControllerDisableMaintenance = assetBulkActionV2ApiControllerDisableMaintenance;
|
|
9737
|
+
/**
|
|
9738
|
+
* Add tag(s) to multiple assets
|
|
9739
|
+
*/
|
|
9740
|
+
const assetBulkMetadataV2ApiControllerAddTags = (options) => {
|
|
9741
|
+
return (options.client ?? client_gen_1.client).post({
|
|
9742
|
+
responseType: 'json',
|
|
9743
|
+
security: [
|
|
9744
|
+
{
|
|
9745
|
+
in: 'cookie',
|
|
9746
|
+
name: 'Authentication',
|
|
9747
|
+
type: 'apiKey'
|
|
9748
|
+
},
|
|
9749
|
+
{
|
|
9750
|
+
scheme: 'bearer',
|
|
9751
|
+
type: 'http'
|
|
9752
|
+
}
|
|
9753
|
+
],
|
|
9754
|
+
url: '/api/v2/assets/tags',
|
|
9755
|
+
...options,
|
|
9756
|
+
headers: {
|
|
9757
|
+
'Content-Type': 'application/json',
|
|
9758
|
+
...options.headers
|
|
9759
|
+
}
|
|
9760
|
+
});
|
|
9761
|
+
};
|
|
9762
|
+
exports.assetBulkMetadataV2ApiControllerAddTags = assetBulkMetadataV2ApiControllerAddTags;
|
|
9763
|
+
/**
|
|
9764
|
+
* Remove tag(s) from multiple assets
|
|
9765
|
+
*/
|
|
9766
|
+
const assetBulkMetadataV2ApiControllerRemoveTags = (options) => {
|
|
9767
|
+
return (options.client ?? client_gen_1.client).post({
|
|
9768
|
+
responseType: 'json',
|
|
9769
|
+
security: [
|
|
9770
|
+
{
|
|
9771
|
+
in: 'cookie',
|
|
9772
|
+
name: 'Authentication',
|
|
9773
|
+
type: 'apiKey'
|
|
9774
|
+
},
|
|
9775
|
+
{
|
|
9776
|
+
scheme: 'bearer',
|
|
9777
|
+
type: 'http'
|
|
9778
|
+
}
|
|
9779
|
+
],
|
|
9780
|
+
url: '/api/v2/assets/tags/delete',
|
|
9781
|
+
...options,
|
|
9782
|
+
headers: {
|
|
9783
|
+
'Content-Type': 'application/json',
|
|
9784
|
+
...options.headers
|
|
9785
|
+
}
|
|
9786
|
+
});
|
|
9787
|
+
};
|
|
9788
|
+
exports.assetBulkMetadataV2ApiControllerRemoveTags = assetBulkMetadataV2ApiControllerRemoveTags;
|
|
9789
|
+
/**
|
|
9790
|
+
* Set the update-exclusion flag on multiple assets
|
|
9791
|
+
*/
|
|
9792
|
+
const assetBulkMetadataV2ApiControllerSetUpdateExclusion = (options) => {
|
|
9793
|
+
return (options.client ?? client_gen_1.client).patch({
|
|
9794
|
+
responseType: 'json',
|
|
9795
|
+
security: [
|
|
9796
|
+
{
|
|
9797
|
+
in: 'cookie',
|
|
9798
|
+
name: 'Authentication',
|
|
9799
|
+
type: 'apiKey'
|
|
9800
|
+
},
|
|
9801
|
+
{
|
|
9802
|
+
scheme: 'bearer',
|
|
9803
|
+
type: 'http'
|
|
9804
|
+
}
|
|
9805
|
+
],
|
|
9806
|
+
url: '/api/v2/assets/update-exclusion',
|
|
9807
|
+
...options,
|
|
9808
|
+
headers: {
|
|
9809
|
+
'Content-Type': 'application/json',
|
|
9810
|
+
...options.headers
|
|
9811
|
+
}
|
|
9812
|
+
});
|
|
9813
|
+
};
|
|
9814
|
+
exports.assetBulkMetadataV2ApiControllerSetUpdateExclusion = assetBulkMetadataV2ApiControllerSetUpdateExclusion;
|
|
9815
|
+
/**
|
|
9816
|
+
* Set or clear the relay connection route on multiple assets
|
|
9817
|
+
*/
|
|
9818
|
+
const assetBulkMetadataV2ApiControllerSetConnectionRoute = (options) => {
|
|
9819
|
+
return (options.client ?? client_gen_1.client).patch({
|
|
9820
|
+
responseType: 'json',
|
|
9821
|
+
security: [
|
|
9822
|
+
{
|
|
9823
|
+
in: 'cookie',
|
|
9824
|
+
name: 'Authentication',
|
|
9825
|
+
type: 'apiKey'
|
|
9826
|
+
},
|
|
9827
|
+
{
|
|
9828
|
+
scheme: 'bearer',
|
|
9829
|
+
type: 'http'
|
|
9830
|
+
}
|
|
9831
|
+
],
|
|
9832
|
+
url: '/api/v2/assets/connection-route',
|
|
9833
|
+
...options,
|
|
9834
|
+
headers: {
|
|
9835
|
+
'Content-Type': 'application/json',
|
|
9836
|
+
...options.headers
|
|
9837
|
+
}
|
|
9838
|
+
});
|
|
9839
|
+
};
|
|
9840
|
+
exports.assetBulkMetadataV2ApiControllerSetConnectionRoute = assetBulkMetadataV2ApiControllerSetConnectionRoute;
|
|
9841
|
+
/**
|
|
9842
|
+
* Set the demanded MITRE ATT&CK Database version on multiple assets
|
|
9843
|
+
*/
|
|
9844
|
+
const assetBulkMetadataV2ApiControllerSetMitreDatabaseVersion = (options) => {
|
|
9845
|
+
return (options.client ?? client_gen_1.client).patch({
|
|
9846
|
+
responseType: 'json',
|
|
9847
|
+
security: [
|
|
9848
|
+
{
|
|
9849
|
+
in: 'cookie',
|
|
9850
|
+
name: 'Authentication',
|
|
9851
|
+
type: 'apiKey'
|
|
9852
|
+
},
|
|
9853
|
+
{
|
|
9854
|
+
scheme: 'bearer',
|
|
9855
|
+
type: 'http'
|
|
9856
|
+
}
|
|
9857
|
+
],
|
|
9858
|
+
url: '/api/v2/assets/mitre-attack-database/version',
|
|
9859
|
+
...options,
|
|
9860
|
+
headers: {
|
|
9861
|
+
'Content-Type': 'application/json',
|
|
9862
|
+
...options.headers
|
|
9863
|
+
}
|
|
9864
|
+
});
|
|
9865
|
+
};
|
|
9866
|
+
exports.assetBulkMetadataV2ApiControllerSetMitreDatabaseVersion = assetBulkMetadataV2ApiControllerSetMitreDatabaseVersion;
|
|
9867
|
+
/**
|
|
9868
|
+
* Bulk delete assets (purge / uninstall / purge-and-uninstall)
|
|
9869
|
+
*/
|
|
9870
|
+
const assetBulkMetadataV2ApiControllerDeleteAssets = (options) => {
|
|
9871
|
+
return (options.client ?? client_gen_1.client).post({
|
|
9872
|
+
responseType: 'json',
|
|
9873
|
+
security: [
|
|
9874
|
+
{
|
|
9875
|
+
in: 'cookie',
|
|
9876
|
+
name: 'Authentication',
|
|
9877
|
+
type: 'apiKey'
|
|
9878
|
+
},
|
|
9879
|
+
{
|
|
9880
|
+
scheme: 'bearer',
|
|
9881
|
+
type: 'http'
|
|
9882
|
+
}
|
|
9883
|
+
],
|
|
9884
|
+
url: '/api/v2/assets/delete',
|
|
9885
|
+
...options,
|
|
9886
|
+
headers: {
|
|
9887
|
+
'Content-Type': 'application/json',
|
|
9888
|
+
...options.headers
|
|
9889
|
+
}
|
|
9890
|
+
});
|
|
9891
|
+
};
|
|
9892
|
+
exports.assetBulkMetadataV2ApiControllerDeleteAssets = assetBulkMetadataV2ApiControllerDeleteAssets;
|
|
9893
|
+
/**
|
|
9894
|
+
* Import an off-network PPC (find-or-create asset + offline task)
|
|
9895
|
+
*/
|
|
9896
|
+
const assetBulkMetadataV2ApiControllerImportOffNetworkPpc = (options) => {
|
|
9897
|
+
return (options.client ?? client_gen_1.client).post({
|
|
9898
|
+
...client_1.formDataBodySerializer,
|
|
9899
|
+
responseType: 'json',
|
|
9900
|
+
security: [
|
|
9901
|
+
{
|
|
9902
|
+
in: 'cookie',
|
|
9903
|
+
name: 'Authentication',
|
|
9904
|
+
type: 'apiKey'
|
|
9905
|
+
},
|
|
9906
|
+
{
|
|
9907
|
+
scheme: 'bearer',
|
|
9908
|
+
type: 'http'
|
|
9909
|
+
}
|
|
9910
|
+
],
|
|
9911
|
+
url: '/api/v2/assets/import',
|
|
9912
|
+
...options,
|
|
9913
|
+
headers: {
|
|
9914
|
+
'Content-Type': null,
|
|
9915
|
+
...options.headers
|
|
9916
|
+
}
|
|
9917
|
+
});
|
|
9918
|
+
};
|
|
9919
|
+
exports.assetBulkMetadataV2ApiControllerImportOffNetworkPpc = assetBulkMetadataV2ApiControllerImportOffNetworkPpc;
|
|
9920
|
+
/**
|
|
9921
|
+
* Run triage rule(s) on multiple assets
|
|
9922
|
+
*/
|
|
9923
|
+
const assetBulkTriageV2ApiControllerRunTriage = (options) => {
|
|
9924
|
+
return (options.client ?? client_gen_1.client).post({
|
|
9925
|
+
responseType: 'json',
|
|
9926
|
+
security: [
|
|
9927
|
+
{
|
|
9928
|
+
in: 'cookie',
|
|
9929
|
+
name: 'Authentication',
|
|
9930
|
+
type: 'apiKey'
|
|
9931
|
+
},
|
|
9932
|
+
{
|
|
9933
|
+
scheme: 'bearer',
|
|
9934
|
+
type: 'http'
|
|
9935
|
+
}
|
|
9936
|
+
],
|
|
9937
|
+
url: '/api/v2/triage',
|
|
9938
|
+
...options,
|
|
9939
|
+
headers: {
|
|
9940
|
+
'Content-Type': 'application/json',
|
|
9941
|
+
...options.headers
|
|
9942
|
+
}
|
|
9943
|
+
});
|
|
9944
|
+
};
|
|
9945
|
+
exports.assetBulkTriageV2ApiControllerRunTriage = assetBulkTriageV2ApiControllerRunTriage;
|
|
9946
|
+
/**
|
|
9947
|
+
* List the triage task history of a single asset
|
|
9948
|
+
* List the triage task history of a single asset
|
|
9949
|
+
*/
|
|
9950
|
+
const assetTriageV2ApiControllerFilterTriageTasks = (options) => {
|
|
9951
|
+
return (options.client ?? client_gen_1.client).get({
|
|
9952
|
+
responseType: 'json',
|
|
9953
|
+
security: [
|
|
9954
|
+
{
|
|
9955
|
+
in: 'cookie',
|
|
9956
|
+
name: 'Authentication',
|
|
9957
|
+
type: 'apiKey'
|
|
9958
|
+
},
|
|
9959
|
+
{
|
|
9960
|
+
scheme: 'bearer',
|
|
9961
|
+
type: 'http'
|
|
9962
|
+
}
|
|
9963
|
+
],
|
|
9964
|
+
url: '/api/v2/assets/{idOrName}/triage',
|
|
9965
|
+
...options
|
|
9966
|
+
});
|
|
9967
|
+
};
|
|
9968
|
+
exports.assetTriageV2ApiControllerFilterTriageTasks = assetTriageV2ApiControllerFilterTriageTasks;
|
|
9969
|
+
/**
|
|
9970
|
+
* Run triage rule(s) on a single asset
|
|
9971
|
+
*/
|
|
9972
|
+
const assetTriageV2ApiControllerRunTriage = (options) => {
|
|
9973
|
+
return (options.client ?? client_gen_1.client).post({
|
|
9974
|
+
responseType: 'json',
|
|
9975
|
+
security: [
|
|
9976
|
+
{
|
|
9977
|
+
in: 'cookie',
|
|
9978
|
+
name: 'Authentication',
|
|
9979
|
+
type: 'apiKey'
|
|
9980
|
+
},
|
|
9981
|
+
{
|
|
9982
|
+
scheme: 'bearer',
|
|
9983
|
+
type: 'http'
|
|
9984
|
+
}
|
|
9985
|
+
],
|
|
9986
|
+
url: '/api/v2/assets/{idOrName}/triage',
|
|
9987
|
+
...options,
|
|
9988
|
+
headers: {
|
|
9989
|
+
'Content-Type': 'application/json',
|
|
9990
|
+
...options.headers
|
|
9991
|
+
}
|
|
9992
|
+
});
|
|
9993
|
+
};
|
|
9994
|
+
exports.assetTriageV2ApiControllerRunTriage = assetTriageV2ApiControllerRunTriage;
|
|
9995
|
+
/**
|
|
9996
|
+
* Cancel triage tasks on a single asset
|
|
9997
|
+
*/
|
|
9998
|
+
const assetTriageV2ApiControllerCancelTriage = (options) => {
|
|
9999
|
+
return (options.client ?? client_gen_1.client).post({
|
|
10000
|
+
responseType: 'json',
|
|
10001
|
+
security: [
|
|
10002
|
+
{
|
|
10003
|
+
in: 'cookie',
|
|
10004
|
+
name: 'Authentication',
|
|
10005
|
+
type: 'apiKey'
|
|
10006
|
+
},
|
|
10007
|
+
{
|
|
10008
|
+
scheme: 'bearer',
|
|
10009
|
+
type: 'http'
|
|
10010
|
+
}
|
|
10011
|
+
],
|
|
10012
|
+
url: '/api/v2/assets/{idOrName}/triage/cancel',
|
|
10013
|
+
...options,
|
|
10014
|
+
headers: {
|
|
10015
|
+
'Content-Type': 'application/json',
|
|
10016
|
+
...options.headers
|
|
10017
|
+
}
|
|
10018
|
+
});
|
|
10019
|
+
};
|
|
10020
|
+
exports.assetTriageV2ApiControllerCancelTriage = assetTriageV2ApiControllerCancelTriage;
|
|
10021
|
+
/**
|
|
10022
|
+
* Delete one asset's triage task assignment
|
|
10023
|
+
*/
|
|
10024
|
+
const assetTriageV2ApiControllerDeleteTriageAssignment = (options) => {
|
|
10025
|
+
return (options.client ?? client_gen_1.client).delete({
|
|
10026
|
+
responseType: 'json',
|
|
10027
|
+
security: [
|
|
10028
|
+
{
|
|
10029
|
+
in: 'cookie',
|
|
10030
|
+
name: 'Authentication',
|
|
10031
|
+
type: 'apiKey'
|
|
10032
|
+
},
|
|
10033
|
+
{
|
|
10034
|
+
scheme: 'bearer',
|
|
10035
|
+
type: 'http'
|
|
10036
|
+
}
|
|
10037
|
+
],
|
|
10038
|
+
url: '/api/v2/assets/{idOrName}/triage/{taskId}',
|
|
10039
|
+
...options
|
|
10040
|
+
});
|
|
10041
|
+
};
|
|
10042
|
+
exports.assetTriageV2ApiControllerDeleteTriageAssignment = assetTriageV2ApiControllerDeleteTriageAssignment;
|
|
10043
|
+
/**
|
|
10044
|
+
* Start an evidence or image acquisition on a single asset
|
|
10045
|
+
*/
|
|
10046
|
+
const assetAcquisitionV2ApiControllerAcquire = (options) => {
|
|
10047
|
+
return (options.client ?? client_gen_1.client).post({
|
|
10048
|
+
responseType: 'json',
|
|
10049
|
+
security: [
|
|
10050
|
+
{
|
|
10051
|
+
in: 'cookie',
|
|
10052
|
+
name: 'Authentication',
|
|
10053
|
+
type: 'apiKey'
|
|
10054
|
+
},
|
|
10055
|
+
{
|
|
10056
|
+
scheme: 'bearer',
|
|
10057
|
+
type: 'http'
|
|
10058
|
+
}
|
|
10059
|
+
],
|
|
10060
|
+
url: '/api/v2/assets/{idOrName}/acquire',
|
|
10061
|
+
...options,
|
|
10062
|
+
headers: {
|
|
10063
|
+
'Content-Type': 'application/json',
|
|
10064
|
+
...options.headers
|
|
10065
|
+
}
|
|
10066
|
+
});
|
|
10067
|
+
};
|
|
10068
|
+
exports.assetAcquisitionV2ApiControllerAcquire = assetAcquisitionV2ApiControllerAcquire;
|
|
10069
|
+
/**
|
|
10070
|
+
* Cancel acquisition tasks on a single asset
|
|
10071
|
+
*/
|
|
10072
|
+
const assetAcquisitionV2ApiControllerCancelAcquisition = (options) => {
|
|
10073
|
+
return (options.client ?? client_gen_1.client).post({
|
|
10074
|
+
responseType: 'json',
|
|
10075
|
+
security: [
|
|
10076
|
+
{
|
|
10077
|
+
in: 'cookie',
|
|
10078
|
+
name: 'Authentication',
|
|
10079
|
+
type: 'apiKey'
|
|
10080
|
+
},
|
|
10081
|
+
{
|
|
10082
|
+
scheme: 'bearer',
|
|
10083
|
+
type: 'http'
|
|
10084
|
+
}
|
|
10085
|
+
],
|
|
10086
|
+
url: '/api/v2/assets/{idOrName}/acquisition/cancel',
|
|
10087
|
+
...options,
|
|
10088
|
+
headers: {
|
|
10089
|
+
'Content-Type': 'application/json',
|
|
10090
|
+
...options.headers
|
|
10091
|
+
}
|
|
10092
|
+
});
|
|
10093
|
+
};
|
|
10094
|
+
exports.assetAcquisitionV2ApiControllerCancelAcquisition = assetAcquisitionV2ApiControllerCancelAcquisition;
|
|
10095
|
+
/**
|
|
10096
|
+
* Delete one asset's acquisition task assignment
|
|
10097
|
+
*/
|
|
10098
|
+
const assetAcquisitionV2ApiControllerDeleteAcquisitionAssignment = (options) => {
|
|
10099
|
+
return (options.client ?? client_gen_1.client).delete({
|
|
10100
|
+
responseType: 'json',
|
|
10101
|
+
security: [
|
|
10102
|
+
{
|
|
10103
|
+
in: 'cookie',
|
|
10104
|
+
name: 'Authentication',
|
|
10105
|
+
type: 'apiKey'
|
|
10106
|
+
},
|
|
10107
|
+
{
|
|
10108
|
+
scheme: 'bearer',
|
|
10109
|
+
type: 'http'
|
|
10110
|
+
}
|
|
10111
|
+
],
|
|
10112
|
+
url: '/api/v2/assets/{idOrName}/acquisition/{taskId}',
|
|
10113
|
+
...options
|
|
10114
|
+
});
|
|
10115
|
+
};
|
|
10116
|
+
exports.assetAcquisitionV2ApiControllerDeleteAcquisitionAssignment = assetAcquisitionV2ApiControllerDeleteAcquisitionAssignment;
|
|
10117
|
+
/**
|
|
10118
|
+
* List the acquisition task history of a single asset
|
|
10119
|
+
* List the acquisition task history of a single asset
|
|
10120
|
+
*/
|
|
10121
|
+
const assetAcquisitionV2ApiControllerFilterAcquisitionTasks = (options) => {
|
|
10122
|
+
return (options.client ?? client_gen_1.client).get({
|
|
10123
|
+
responseType: 'json',
|
|
10124
|
+
security: [
|
|
10125
|
+
{
|
|
10126
|
+
in: 'cookie',
|
|
10127
|
+
name: 'Authentication',
|
|
10128
|
+
type: 'apiKey'
|
|
10129
|
+
},
|
|
10130
|
+
{
|
|
10131
|
+
scheme: 'bearer',
|
|
10132
|
+
type: 'http'
|
|
10133
|
+
}
|
|
10134
|
+
],
|
|
10135
|
+
url: '/api/v2/assets/{idOrName}/acquisition',
|
|
10136
|
+
...options
|
|
10137
|
+
});
|
|
10138
|
+
};
|
|
10139
|
+
exports.assetAcquisitionV2ApiControllerFilterAcquisitionTasks = assetAcquisitionV2ApiControllerFilterAcquisitionTasks;
|
|
10140
|
+
/**
|
|
10141
|
+
* List InterAct messages for an asset
|
|
10142
|
+
* Paginated InterAct command messages for the asset across all of its sessions.
|
|
10143
|
+
*/
|
|
10144
|
+
const assetInteractMessageV2ApiControllerListForAsset = (options) => {
|
|
10145
|
+
return (options.client ?? client_gen_1.client).get({
|
|
10146
|
+
responseType: 'json',
|
|
10147
|
+
security: [
|
|
10148
|
+
{
|
|
10149
|
+
in: 'cookie',
|
|
10150
|
+
name: 'Authentication',
|
|
10151
|
+
type: 'apiKey'
|
|
10152
|
+
},
|
|
10153
|
+
{
|
|
10154
|
+
scheme: 'bearer',
|
|
10155
|
+
type: 'http'
|
|
10156
|
+
}
|
|
10157
|
+
],
|
|
10158
|
+
url: '/api/v2/assets/{idOrName}/interact',
|
|
10159
|
+
...options
|
|
10160
|
+
});
|
|
10161
|
+
};
|
|
10162
|
+
exports.assetInteractMessageV2ApiControllerListForAsset = assetInteractMessageV2ApiControllerListForAsset;
|
|
10163
|
+
/**
|
|
10164
|
+
* Run an InterAct command on an asset
|
|
10165
|
+
* Runs a command; sync returns the message (200), async/timeout returns 202.
|
|
10166
|
+
*/
|
|
10167
|
+
const assetInteractV2ApiControllerRunCommand = (options) => {
|
|
10168
|
+
return (options.client ?? client_gen_1.client).post({
|
|
10169
|
+
responseType: 'json',
|
|
10170
|
+
security: [
|
|
10171
|
+
{
|
|
10172
|
+
in: 'cookie',
|
|
10173
|
+
name: 'Authentication',
|
|
10174
|
+
type: 'apiKey'
|
|
10175
|
+
},
|
|
10176
|
+
{
|
|
10177
|
+
scheme: 'bearer',
|
|
10178
|
+
type: 'http'
|
|
10179
|
+
}
|
|
10180
|
+
],
|
|
10181
|
+
url: '/api/v2/assets/{idOrName}/interact',
|
|
10182
|
+
...options,
|
|
10183
|
+
headers: {
|
|
10184
|
+
'Content-Type': 'application/json',
|
|
10185
|
+
...options.headers
|
|
10186
|
+
}
|
|
10187
|
+
});
|
|
10188
|
+
};
|
|
10189
|
+
exports.assetInteractV2ApiControllerRunCommand = assetInteractV2ApiControllerRunCommand;
|
|
10190
|
+
/**
|
|
10191
|
+
* Cancel the running InterAct command on an asset
|
|
10192
|
+
* Cancels the target/active running command; the session stays open.
|
|
10193
|
+
*/
|
|
10194
|
+
const assetInteractV2ApiControllerCancelCommand = (options) => {
|
|
10195
|
+
return (options.client ?? client_gen_1.client).post({
|
|
10196
|
+
responseType: 'json',
|
|
10197
|
+
security: [
|
|
10198
|
+
{
|
|
10199
|
+
in: 'cookie',
|
|
10200
|
+
name: 'Authentication',
|
|
10201
|
+
type: 'apiKey'
|
|
10202
|
+
},
|
|
10203
|
+
{
|
|
10204
|
+
scheme: 'bearer',
|
|
10205
|
+
type: 'http'
|
|
10206
|
+
}
|
|
10207
|
+
],
|
|
10208
|
+
url: '/api/v2/assets/{idOrName}/interact/cancel',
|
|
10209
|
+
...options,
|
|
10210
|
+
headers: {
|
|
10211
|
+
'Content-Type': 'application/json',
|
|
10212
|
+
...options.headers
|
|
10213
|
+
}
|
|
10214
|
+
});
|
|
10215
|
+
};
|
|
10216
|
+
exports.assetInteractV2ApiControllerCancelCommand = assetInteractV2ApiControllerCancelCommand;
|
|
8170
10217
|
/**
|
|
8171
|
-
*
|
|
8172
|
-
*
|
|
10218
|
+
* Close the InterAct session on an asset
|
|
10219
|
+
* Closes the active/target session; force=true cancels running commands first.
|
|
8173
10220
|
*/
|
|
8174
|
-
const
|
|
8175
|
-
return (options.client ?? client_gen_1.client).
|
|
10221
|
+
const assetInteractV2ApiControllerCloseSession = (options) => {
|
|
10222
|
+
return (options.client ?? client_gen_1.client).post({
|
|
8176
10223
|
responseType: 'json',
|
|
8177
|
-
|
|
10224
|
+
security: [
|
|
10225
|
+
{
|
|
10226
|
+
in: 'cookie',
|
|
10227
|
+
name: 'Authentication',
|
|
10228
|
+
type: 'apiKey'
|
|
10229
|
+
},
|
|
10230
|
+
{
|
|
10231
|
+
scheme: 'bearer',
|
|
10232
|
+
type: 'http'
|
|
10233
|
+
}
|
|
10234
|
+
],
|
|
10235
|
+
url: '/api/v2/assets/{idOrName}/interact/close',
|
|
8178
10236
|
...options,
|
|
8179
10237
|
headers: {
|
|
8180
10238
|
'Content-Type': 'application/json',
|
|
@@ -8182,31 +10240,99 @@ const assetV2ApiControllerUpdateLabel = (options) => {
|
|
|
8182
10240
|
}
|
|
8183
10241
|
});
|
|
8184
10242
|
};
|
|
8185
|
-
exports.
|
|
10243
|
+
exports.assetInteractV2ApiControllerCloseSession = assetInteractV2ApiControllerCloseSession;
|
|
8186
10244
|
/**
|
|
8187
|
-
* List
|
|
8188
|
-
*
|
|
10245
|
+
* List InterAct sessions for an asset
|
|
10246
|
+
* Paginated InterAct sessions for the asset with derived activity state.
|
|
8189
10247
|
*/
|
|
8190
|
-
const
|
|
10248
|
+
const assetInteractMessageV2ApiControllerListSessionsForAsset = (options) => {
|
|
8191
10249
|
return (options.client ?? client_gen_1.client).get({
|
|
8192
10250
|
responseType: 'json',
|
|
8193
|
-
|
|
10251
|
+
security: [
|
|
10252
|
+
{
|
|
10253
|
+
in: 'cookie',
|
|
10254
|
+
name: 'Authentication',
|
|
10255
|
+
type: 'apiKey'
|
|
10256
|
+
},
|
|
10257
|
+
{
|
|
10258
|
+
scheme: 'bearer',
|
|
10259
|
+
type: 'http'
|
|
10260
|
+
}
|
|
10261
|
+
],
|
|
10262
|
+
url: '/api/v2/assets/{idOrName}/interact/sessions',
|
|
8194
10263
|
...options
|
|
8195
10264
|
});
|
|
8196
10265
|
};
|
|
8197
|
-
exports.
|
|
10266
|
+
exports.assetInteractMessageV2ApiControllerListSessionsForAsset = assetInteractMessageV2ApiControllerListSessionsForAsset;
|
|
8198
10267
|
/**
|
|
8199
|
-
*
|
|
8200
|
-
*
|
|
10268
|
+
* Get an InterAct message scoped to an asset
|
|
10269
|
+
* Single InterAct message wrapped in entities[0]; cross-asset mismatch returns 404.
|
|
8201
10270
|
*/
|
|
8202
|
-
const
|
|
10271
|
+
const assetInteractMessageV2ApiControllerGetMessage = (options) => {
|
|
8203
10272
|
return (options.client ?? client_gen_1.client).get({
|
|
8204
10273
|
responseType: 'json',
|
|
8205
|
-
|
|
10274
|
+
security: [
|
|
10275
|
+
{
|
|
10276
|
+
in: 'cookie',
|
|
10277
|
+
name: 'Authentication',
|
|
10278
|
+
type: 'apiKey'
|
|
10279
|
+
},
|
|
10280
|
+
{
|
|
10281
|
+
scheme: 'bearer',
|
|
10282
|
+
type: 'http'
|
|
10283
|
+
}
|
|
10284
|
+
],
|
|
10285
|
+
url: '/api/v2/assets/{idOrName}/interact/{messageId}',
|
|
10286
|
+
...options
|
|
10287
|
+
});
|
|
10288
|
+
};
|
|
10289
|
+
exports.assetInteractMessageV2ApiControllerGetMessage = assetInteractMessageV2ApiControllerGetMessage;
|
|
10290
|
+
/**
|
|
10291
|
+
* Download an InterAct message output
|
|
10292
|
+
* Streams the message output as an attachment; bypasses the JSON envelope.
|
|
10293
|
+
*/
|
|
10294
|
+
const assetInteractMessageV2ApiControllerDownloadMessageOutput = (options) => {
|
|
10295
|
+
return (options.client ?? client_gen_1.client).get({
|
|
10296
|
+
responseType: 'blob',
|
|
10297
|
+
security: [
|
|
10298
|
+
{
|
|
10299
|
+
in: 'cookie',
|
|
10300
|
+
name: 'Authentication',
|
|
10301
|
+
type: 'apiKey'
|
|
10302
|
+
},
|
|
10303
|
+
{
|
|
10304
|
+
scheme: 'bearer',
|
|
10305
|
+
type: 'http'
|
|
10306
|
+
}
|
|
10307
|
+
],
|
|
10308
|
+
url: '/api/v2/assets/{idOrName}/interact/{messageId}/download',
|
|
10309
|
+
...options
|
|
10310
|
+
});
|
|
10311
|
+
};
|
|
10312
|
+
exports.assetInteractMessageV2ApiControllerDownloadMessageOutput = assetInteractMessageV2ApiControllerDownloadMessageOutput;
|
|
10313
|
+
/**
|
|
10314
|
+
* Get an InterAct session report scoped to an asset
|
|
10315
|
+
* Self-contained session report; JSON by default, HTML when format=html.
|
|
10316
|
+
*/
|
|
10317
|
+
const assetInteractMessageV2ApiControllerGetSessionReport = (options) => {
|
|
10318
|
+
return (options.client ?? client_gen_1.client).get({
|
|
10319
|
+
responseType: 'json',
|
|
10320
|
+
security: [
|
|
10321
|
+
{
|
|
10322
|
+
in: 'cookie',
|
|
10323
|
+
name: 'Authentication',
|
|
10324
|
+
type: 'apiKey'
|
|
10325
|
+
},
|
|
10326
|
+
{
|
|
10327
|
+
scheme: 'bearer',
|
|
10328
|
+
type: 'http'
|
|
10329
|
+
}
|
|
10330
|
+
],
|
|
10331
|
+
url: '/api/v2/assets/{idOrName}/interact/sessions/{sessionId}/report',
|
|
8206
10332
|
...options
|
|
8207
10333
|
});
|
|
8208
10334
|
};
|
|
8209
|
-
exports.
|
|
10335
|
+
exports.assetInteractMessageV2ApiControllerGetSessionReport = assetInteractMessageV2ApiControllerGetSessionReport;
|
|
8210
10336
|
const webhookFilterParsers = (options) => {
|
|
8211
10337
|
return (options?.client ?? client_gen_1.client).get({
|
|
8212
10338
|
security: [
|
|
@@ -9128,6 +11254,150 @@ const cloudAcquisitionProfilesUpdate = (options) => {
|
|
|
9128
11254
|
});
|
|
9129
11255
|
};
|
|
9130
11256
|
exports.cloudAcquisitionProfilesUpdate = cloudAcquisitionProfilesUpdate;
|
|
11257
|
+
/**
|
|
11258
|
+
* List cloud acquisition profiles
|
|
11259
|
+
*/
|
|
11260
|
+
const cloudAcquisitionLibraryApiControllerList = (options) => {
|
|
11261
|
+
return (options?.client ?? client_gen_1.client).get({
|
|
11262
|
+
responseType: 'json',
|
|
11263
|
+
security: [
|
|
11264
|
+
{
|
|
11265
|
+
in: 'cookie',
|
|
11266
|
+
name: 'Authentication',
|
|
11267
|
+
type: 'apiKey'
|
|
11268
|
+
},
|
|
11269
|
+
{
|
|
11270
|
+
scheme: 'bearer',
|
|
11271
|
+
type: 'http'
|
|
11272
|
+
}
|
|
11273
|
+
],
|
|
11274
|
+
url: '/api/v2/libraries/acquisition/cloud',
|
|
11275
|
+
...options
|
|
11276
|
+
});
|
|
11277
|
+
};
|
|
11278
|
+
exports.cloudAcquisitionLibraryApiControllerList = cloudAcquisitionLibraryApiControllerList;
|
|
11279
|
+
/**
|
|
11280
|
+
* Create cloud acquisition profile
|
|
11281
|
+
*/
|
|
11282
|
+
const cloudAcquisitionLibraryApiControllerCreate = (options) => {
|
|
11283
|
+
return (options.client ?? client_gen_1.client).post({
|
|
11284
|
+
responseType: 'json',
|
|
11285
|
+
security: [
|
|
11286
|
+
{
|
|
11287
|
+
in: 'cookie',
|
|
11288
|
+
name: 'Authentication',
|
|
11289
|
+
type: 'apiKey'
|
|
11290
|
+
},
|
|
11291
|
+
{
|
|
11292
|
+
scheme: 'bearer',
|
|
11293
|
+
type: 'http'
|
|
11294
|
+
}
|
|
11295
|
+
],
|
|
11296
|
+
url: '/api/v2/libraries/acquisition/cloud',
|
|
11297
|
+
...options,
|
|
11298
|
+
headers: {
|
|
11299
|
+
'Content-Type': 'application/json',
|
|
11300
|
+
...options.headers
|
|
11301
|
+
}
|
|
11302
|
+
});
|
|
11303
|
+
};
|
|
11304
|
+
exports.cloudAcquisitionLibraryApiControllerCreate = cloudAcquisitionLibraryApiControllerCreate;
|
|
11305
|
+
/**
|
|
11306
|
+
* Bulk delete cloud acquisition profiles
|
|
11307
|
+
*/
|
|
11308
|
+
const cloudAcquisitionLibraryApiControllerBulkDelete = (options) => {
|
|
11309
|
+
return (options.client ?? client_gen_1.client).post({
|
|
11310
|
+
responseType: 'json',
|
|
11311
|
+
security: [
|
|
11312
|
+
{
|
|
11313
|
+
in: 'cookie',
|
|
11314
|
+
name: 'Authentication',
|
|
11315
|
+
type: 'apiKey'
|
|
11316
|
+
},
|
|
11317
|
+
{
|
|
11318
|
+
scheme: 'bearer',
|
|
11319
|
+
type: 'http'
|
|
11320
|
+
}
|
|
11321
|
+
],
|
|
11322
|
+
url: '/api/v2/libraries/acquisition/cloud/delete',
|
|
11323
|
+
...options,
|
|
11324
|
+
headers: {
|
|
11325
|
+
'Content-Type': 'application/json',
|
|
11326
|
+
...options.headers
|
|
11327
|
+
}
|
|
11328
|
+
});
|
|
11329
|
+
};
|
|
11330
|
+
exports.cloudAcquisitionLibraryApiControllerBulkDelete = cloudAcquisitionLibraryApiControllerBulkDelete;
|
|
11331
|
+
/**
|
|
11332
|
+
* Delete cloud acquisition profile
|
|
11333
|
+
*/
|
|
11334
|
+
const cloudAcquisitionLibraryApiControllerDelete = (options) => {
|
|
11335
|
+
return (options.client ?? client_gen_1.client).delete({
|
|
11336
|
+
responseType: 'json',
|
|
11337
|
+
security: [
|
|
11338
|
+
{
|
|
11339
|
+
in: 'cookie',
|
|
11340
|
+
name: 'Authentication',
|
|
11341
|
+
type: 'apiKey'
|
|
11342
|
+
},
|
|
11343
|
+
{
|
|
11344
|
+
scheme: 'bearer',
|
|
11345
|
+
type: 'http'
|
|
11346
|
+
}
|
|
11347
|
+
],
|
|
11348
|
+
url: '/api/v2/libraries/acquisition/cloud/{idOrName}',
|
|
11349
|
+
...options
|
|
11350
|
+
});
|
|
11351
|
+
};
|
|
11352
|
+
exports.cloudAcquisitionLibraryApiControllerDelete = cloudAcquisitionLibraryApiControllerDelete;
|
|
11353
|
+
/**
|
|
11354
|
+
* Get cloud acquisition profile by id or name
|
|
11355
|
+
*/
|
|
11356
|
+
const cloudAcquisitionLibraryApiControllerGet = (options) => {
|
|
11357
|
+
return (options.client ?? client_gen_1.client).get({
|
|
11358
|
+
responseType: 'json',
|
|
11359
|
+
security: [
|
|
11360
|
+
{
|
|
11361
|
+
in: 'cookie',
|
|
11362
|
+
name: 'Authentication',
|
|
11363
|
+
type: 'apiKey'
|
|
11364
|
+
},
|
|
11365
|
+
{
|
|
11366
|
+
scheme: 'bearer',
|
|
11367
|
+
type: 'http'
|
|
11368
|
+
}
|
|
11369
|
+
],
|
|
11370
|
+
url: '/api/v2/libraries/acquisition/cloud/{idOrName}',
|
|
11371
|
+
...options
|
|
11372
|
+
});
|
|
11373
|
+
};
|
|
11374
|
+
exports.cloudAcquisitionLibraryApiControllerGet = cloudAcquisitionLibraryApiControllerGet;
|
|
11375
|
+
/**
|
|
11376
|
+
* Update cloud acquisition profile
|
|
11377
|
+
*/
|
|
11378
|
+
const cloudAcquisitionLibraryApiControllerUpdate = (options) => {
|
|
11379
|
+
return (options.client ?? client_gen_1.client).patch({
|
|
11380
|
+
responseType: 'json',
|
|
11381
|
+
security: [
|
|
11382
|
+
{
|
|
11383
|
+
in: 'cookie',
|
|
11384
|
+
name: 'Authentication',
|
|
11385
|
+
type: 'apiKey'
|
|
11386
|
+
},
|
|
11387
|
+
{
|
|
11388
|
+
scheme: 'bearer',
|
|
11389
|
+
type: 'http'
|
|
11390
|
+
}
|
|
11391
|
+
],
|
|
11392
|
+
url: '/api/v2/libraries/acquisition/cloud/{idOrName}',
|
|
11393
|
+
...options,
|
|
11394
|
+
headers: {
|
|
11395
|
+
'Content-Type': 'application/json',
|
|
11396
|
+
...options.headers
|
|
11397
|
+
}
|
|
11398
|
+
});
|
|
11399
|
+
};
|
|
11400
|
+
exports.cloudAcquisitionLibraryApiControllerUpdate = cloudAcquisitionLibraryApiControllerUpdate;
|
|
9131
11401
|
/**
|
|
9132
11402
|
* Get disk image acquisition profiles
|
|
9133
11403
|
* Get disk image acquisition profiles
|
|
@@ -9246,6 +11516,150 @@ const imageEvidenceAcquisitionProfilesDeleteBulk = (options) => {
|
|
|
9246
11516
|
});
|
|
9247
11517
|
};
|
|
9248
11518
|
exports.imageEvidenceAcquisitionProfilesDeleteBulk = imageEvidenceAcquisitionProfilesDeleteBulk;
|
|
11519
|
+
/**
|
|
11520
|
+
* List disk image acquisition profiles
|
|
11521
|
+
*/
|
|
11522
|
+
const diskImageAcquisitionLibraryApiControllerList = (options) => {
|
|
11523
|
+
return (options?.client ?? client_gen_1.client).get({
|
|
11524
|
+
responseType: 'json',
|
|
11525
|
+
security: [
|
|
11526
|
+
{
|
|
11527
|
+
in: 'cookie',
|
|
11528
|
+
name: 'Authentication',
|
|
11529
|
+
type: 'apiKey'
|
|
11530
|
+
},
|
|
11531
|
+
{
|
|
11532
|
+
scheme: 'bearer',
|
|
11533
|
+
type: 'http'
|
|
11534
|
+
}
|
|
11535
|
+
],
|
|
11536
|
+
url: '/api/v2/libraries/acquisition/disk-image',
|
|
11537
|
+
...options
|
|
11538
|
+
});
|
|
11539
|
+
};
|
|
11540
|
+
exports.diskImageAcquisitionLibraryApiControllerList = diskImageAcquisitionLibraryApiControllerList;
|
|
11541
|
+
/**
|
|
11542
|
+
* Create disk image acquisition profile
|
|
11543
|
+
*/
|
|
11544
|
+
const diskImageAcquisitionLibraryApiControllerCreate = (options) => {
|
|
11545
|
+
return (options.client ?? client_gen_1.client).post({
|
|
11546
|
+
responseType: 'json',
|
|
11547
|
+
security: [
|
|
11548
|
+
{
|
|
11549
|
+
in: 'cookie',
|
|
11550
|
+
name: 'Authentication',
|
|
11551
|
+
type: 'apiKey'
|
|
11552
|
+
},
|
|
11553
|
+
{
|
|
11554
|
+
scheme: 'bearer',
|
|
11555
|
+
type: 'http'
|
|
11556
|
+
}
|
|
11557
|
+
],
|
|
11558
|
+
url: '/api/v2/libraries/acquisition/disk-image',
|
|
11559
|
+
...options,
|
|
11560
|
+
headers: {
|
|
11561
|
+
'Content-Type': 'application/json',
|
|
11562
|
+
...options.headers
|
|
11563
|
+
}
|
|
11564
|
+
});
|
|
11565
|
+
};
|
|
11566
|
+
exports.diskImageAcquisitionLibraryApiControllerCreate = diskImageAcquisitionLibraryApiControllerCreate;
|
|
11567
|
+
/**
|
|
11568
|
+
* Bulk delete disk image acquisition profiles
|
|
11569
|
+
*/
|
|
11570
|
+
const diskImageAcquisitionLibraryApiControllerBulkDelete = (options) => {
|
|
11571
|
+
return (options.client ?? client_gen_1.client).post({
|
|
11572
|
+
responseType: 'json',
|
|
11573
|
+
security: [
|
|
11574
|
+
{
|
|
11575
|
+
in: 'cookie',
|
|
11576
|
+
name: 'Authentication',
|
|
11577
|
+
type: 'apiKey'
|
|
11578
|
+
},
|
|
11579
|
+
{
|
|
11580
|
+
scheme: 'bearer',
|
|
11581
|
+
type: 'http'
|
|
11582
|
+
}
|
|
11583
|
+
],
|
|
11584
|
+
url: '/api/v2/libraries/acquisition/disk-image/delete',
|
|
11585
|
+
...options,
|
|
11586
|
+
headers: {
|
|
11587
|
+
'Content-Type': 'application/json',
|
|
11588
|
+
...options.headers
|
|
11589
|
+
}
|
|
11590
|
+
});
|
|
11591
|
+
};
|
|
11592
|
+
exports.diskImageAcquisitionLibraryApiControllerBulkDelete = diskImageAcquisitionLibraryApiControllerBulkDelete;
|
|
11593
|
+
/**
|
|
11594
|
+
* Delete disk image acquisition profile
|
|
11595
|
+
*/
|
|
11596
|
+
const diskImageAcquisitionLibraryApiControllerDelete = (options) => {
|
|
11597
|
+
return (options.client ?? client_gen_1.client).delete({
|
|
11598
|
+
responseType: 'json',
|
|
11599
|
+
security: [
|
|
11600
|
+
{
|
|
11601
|
+
in: 'cookie',
|
|
11602
|
+
name: 'Authentication',
|
|
11603
|
+
type: 'apiKey'
|
|
11604
|
+
},
|
|
11605
|
+
{
|
|
11606
|
+
scheme: 'bearer',
|
|
11607
|
+
type: 'http'
|
|
11608
|
+
}
|
|
11609
|
+
],
|
|
11610
|
+
url: '/api/v2/libraries/acquisition/disk-image/{idOrName}',
|
|
11611
|
+
...options
|
|
11612
|
+
});
|
|
11613
|
+
};
|
|
11614
|
+
exports.diskImageAcquisitionLibraryApiControllerDelete = diskImageAcquisitionLibraryApiControllerDelete;
|
|
11615
|
+
/**
|
|
11616
|
+
* Get disk image acquisition profile by id or name
|
|
11617
|
+
*/
|
|
11618
|
+
const diskImageAcquisitionLibraryApiControllerGet = (options) => {
|
|
11619
|
+
return (options.client ?? client_gen_1.client).get({
|
|
11620
|
+
responseType: 'json',
|
|
11621
|
+
security: [
|
|
11622
|
+
{
|
|
11623
|
+
in: 'cookie',
|
|
11624
|
+
name: 'Authentication',
|
|
11625
|
+
type: 'apiKey'
|
|
11626
|
+
},
|
|
11627
|
+
{
|
|
11628
|
+
scheme: 'bearer',
|
|
11629
|
+
type: 'http'
|
|
11630
|
+
}
|
|
11631
|
+
],
|
|
11632
|
+
url: '/api/v2/libraries/acquisition/disk-image/{idOrName}',
|
|
11633
|
+
...options
|
|
11634
|
+
});
|
|
11635
|
+
};
|
|
11636
|
+
exports.diskImageAcquisitionLibraryApiControllerGet = diskImageAcquisitionLibraryApiControllerGet;
|
|
11637
|
+
/**
|
|
11638
|
+
* Update disk image acquisition profile
|
|
11639
|
+
*/
|
|
11640
|
+
const diskImageAcquisitionLibraryApiControllerUpdate = (options) => {
|
|
11641
|
+
return (options.client ?? client_gen_1.client).patch({
|
|
11642
|
+
responseType: 'json',
|
|
11643
|
+
security: [
|
|
11644
|
+
{
|
|
11645
|
+
in: 'cookie',
|
|
11646
|
+
name: 'Authentication',
|
|
11647
|
+
type: 'apiKey'
|
|
11648
|
+
},
|
|
11649
|
+
{
|
|
11650
|
+
scheme: 'bearer',
|
|
11651
|
+
type: 'http'
|
|
11652
|
+
}
|
|
11653
|
+
],
|
|
11654
|
+
url: '/api/v2/libraries/acquisition/disk-image/{idOrName}',
|
|
11655
|
+
...options,
|
|
11656
|
+
headers: {
|
|
11657
|
+
'Content-Type': 'application/json',
|
|
11658
|
+
...options.headers
|
|
11659
|
+
}
|
|
11660
|
+
});
|
|
11661
|
+
};
|
|
11662
|
+
exports.diskImageAcquisitionLibraryApiControllerUpdate = diskImageAcquisitionLibraryApiControllerUpdate;
|
|
9249
11663
|
/**
|
|
9250
11664
|
* Create Portable Disk Image Task
|
|
9251
11665
|
* Create a portable disk image acquisition task file
|