diff --git a/integration/lql_constants.go b/integration/lql_constants.go index 99dc667e9..9b0f0f74d 100644 --- a/integration/lql_constants.go +++ b/integration/lql_constants.go @@ -22,7 +22,7 @@ package integration const ( evaluatorID string = "Cloudtrail" queryID string = "CLI_AWS_CTA_IntegrationTest" - queryHostID string = "CLI_HOST_Files_IntegrationTest" + queryHostID string = "CLI_Host_Files_IntegrationTest" queryText string = "{ source { CloudTrailRawEvents } return { INSERT_ID } }" queryUpdateText string = "{ source { CloudTrailRawEvents } return { INSERT_ID, INSERT_TIME } }" queryJSONTemplate string = `{ @@ -30,5 +30,5 @@ const ( "queryText": "%s" }` queryURL string = "https://raw.githubusercontent.com/lacework/go-sdk/main/integration/test_resources/lql/CLI_AWS_CTA_IntegrationTest.yaml" - queryHostURL string = "https://raw.githubusercontent.com/lacework/go-sdk/main/integration/test_resources/lql/CLI_HOST_Files_IntegrationTest.yaml" + queryHostURL string = "https://raw.githubusercontent.com/lacework/go-sdk/main/integration/test_resources/lql/CLI_Host_Files_IntegrationTest.yaml" ) diff --git a/integration/policy_test.go b/integration/policy_test.go index ca9482a01..fadf57289 100644 --- a/integration/policy_test.go +++ b/integration/policy_test.go @@ -48,7 +48,7 @@ tags: newHostPolicyYAML string = `--- evaluatorId: policyType: Violation -queryId: CLI_HOST_Files_IntegrationTest +queryId: CLI_Host_Files_IntegrationTest title: My Policy Title enabled: false description: My Policy Description diff --git a/integration/test_resources/lql/CLI_Host_Files_IntegrationTest.yaml b/integration/test_resources/lql/CLI_Host_Files_IntegrationTest.yaml index abbc2bd05..67cabdf2a 100644 --- a/integration/test_resources/lql/CLI_Host_Files_IntegrationTest.yaml +++ b/integration/test_resources/lql/CLI_Host_Files_IntegrationTest.yaml @@ -1,10 +1,10 @@ --- evaluatorId: -queryId: CLI_HOST_Files_IntegrationTest +queryId: CLI_Host_Files_IntegrationTest queryText: |- --- This query produces a web (github) hosted object for "lacework query" integration testing --- Specifically: TestPolicyCreateHost - CLI_HOST_Files_IntegrationTest { + CLI_Host_Files_IntegrationTest { source { LW_HE_FILES }