-
Couldn't load subscription status.
- Fork 128
Description
While running the system tests for AWS we saw abnormal behavior. Before adding securityhub_findings and securityhub_insights data streams in the AWS package system tests are getting passed(only ec2_metrics and redshift data streams have system tests).
When the system tests are added for securityhub data stream it gives us an error in the previously passing tests. Below mentioned are the two scenarios that we observed in the AWS package.
1st Scenario
When the policy template of securityhub is kept first in the manifest file, the system test fails. It gives the error "Input template not found, unable to find input type aws/metrics" (ec2_metrics data-stream). In ec2_metrics is terraform.
And in this scenario, if we run a system test for securityhub_findings and securityhub_insights data streams only ( elastic-package test system -d securityhub_findings,securityhub_insights ) it is passing.
2nd Scenario
When the policy template of securityhub is kept at the last level in the manifest file, the system test fails. It gives the error "input template not found, unable to find input type httpjson" (securityhub data-streams). In securityhub is docker.

