diff --git a/x-pack/plugins/security_solution/server/endpoint/services/artifacts/manifest_manager/manifest_manager.ts b/x-pack/plugins/security_solution/server/endpoint/services/artifacts/manifest_manager/manifest_manager.ts index b073e7c4fea38..9c6f1b93ae00c 100644 --- a/x-pack/plugins/security_solution/server/endpoint/services/artifacts/manifest_manager/manifest_manager.ts +++ b/x-pack/plugins/security_solution/server/endpoint/services/artifacts/manifest_manager/manifest_manager.ts @@ -150,7 +150,7 @@ export class ManifestManager { * * The artifact may still remain in the cache. * - * @param artifactId The ID of the artifact to delete.. + * @param artifactIds The IDs of the artifact to delete.. * @returns {Promise} Any errors encountered. */ public async deleteArtifacts(artifactIds: string[]): Promise { @@ -198,6 +198,13 @@ export class ManifestManager { } } + /** + * Builds a new manifest based on the current user exception list. + * + * @param schemaVersion The schema version of the manifest. + * @param baselineManifest A baseline manifest to use for initializing pre-existing artifacts. + * @returns {Promise} A new Manifest object reprenting the current exception list. + */ public async buildNewManifest( schemaVersion: string, baselineManifest?: Manifest