Skip to content

Commit

Permalink
[Security solution][Endpoint] Removes 'none' compression as it not us…
Browse files Browse the repository at this point in the history
…ed anymore (elastic#102767)

* Removes 'none' compression as it not used anymore

* Revert type because none type is needed for the first time the artifact is created befor the compression
  • Loading branch information
dasansol92 authored and kibanamachine committed Jun 22, 2021
1 parent f252a9a commit bcaefe1
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,6 @@ export class ManifestManager {
for (const result of results) {
await iterateArtifactsBuildResult(result, async (artifact, policyId) => {
const artifactToAdd = baselineManifest.getArtifact(getArtifactId(artifact)) || artifact;
artifactToAdd.compressionAlgorithm = 'none';
if (!internalArtifactCompleteSchema.is(artifactToAdd)) {
throw new Error(`Incomplete artifact detected: ${getArtifactId(artifactToAdd)}`);
}
Expand Down

0 comments on commit bcaefe1

Please sign in to comment.