When trying to test schemas with pantherlog, I get the following error message:
Error: Not equal: expected: "" actual : "Custom.SampleLog.V1" Diff: --- Expected +++ Actual @@ -1 +1 @@ - +Custom.SampleLog.V1
To resolve this issue:
- Make sure your schema test does not attempt to include multiple tests, like this:
input: | 1,staging 2,production
pantherlogto run multiple tests at once using the following format:
$ pantherlog test schema.yml schema_tests.yml other_schema_tests.yml
If you experience this error, but the symptom listed here does not apply to your use case, please contact the Panther Support team.
This can occur if your schema test includes multiple tests formatted incorrectly.