[Security Solution] Adjust policy test to make it more reliable (#123608) (#123656)

* [Security Solution] Adjust policy test to make it more reliable

(cherry picked from commit e528e41360)

Co-authored-by: Kevin Logan <56395104+kevinlog@users.noreply.github.com>
This commit is contained in:
Kibana Machine 2022-01-24 17:24:53 -05:00 committed by GitHub
parent 73708fda30
commit 90787644a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -409,9 +409,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
version: policyInfo.packageInfo.version,
},
},
artifact_manifest: {
manifest_version: agentFullPolicy.inputs[0].artifact_manifest.manifest_version,
},
artifact_manifest: agentFullPolicy.inputs[0].artifact_manifest,
policy: {
linux: {
events: {
@ -458,9 +456,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
version: policyInfo.packageInfo.version,
},
},
artifact_manifest: {
manifest_version: agentFullPolicy.inputs[0].artifact_manifest.manifest_version,
},
artifact_manifest: agentFullPolicy.inputs[0].artifact_manifest,
policy: {
linux: {
advanced: {
@ -497,9 +493,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
version: policyInfo.packageInfo.version,
},
},
artifact_manifest: {
manifest_version: agentFullPolicy.inputs[0].artifact_manifest.manifest_version,
},
artifact_manifest: agentFullPolicy.inputs[0].artifact_manifest,
}),
]);
});