-
Notifications
You must be signed in to change notification settings - Fork 452
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
proofpoint_tap: improve clarity of agent config and fix pagination lo…
…gic (#11361) There was no check for the pagination termination state, which for this API is an empty array of events. Add that check after clarifying the HTTPJSON configuration, including ensuring that all time ranges are valid queries. Extend system test conditions to exercise pagination logic and termination, and fix configuration of request tracing in system tests.
- Loading branch information
Showing
11 changed files
with
700 additions
and
25 deletions.
There are no files selected for viewing
511 changes: 503 additions & 8 deletions
511
packages/proofpoint_tap/_dev/deploy/docker/files/config.yml
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 3 additions & 1 deletion
4
packages/proofpoint_tap/data_stream/clicks_blocked/_dev/test/system/test-default-config.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
input: httpjson | ||
service: proofpoint_tap | ||
vars: | ||
enable_request_tracer: true | ||
url: http://{{Hostname}}:{{Port}} | ||
principal: xxxx | ||
secret: xxxx | ||
data_stream: | ||
vars: | ||
preserve_original_event: true | ||
enable_request_tracer: true | ||
assert: | ||
hit_count: 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 3 additions & 1 deletion
4
...ages/proofpoint_tap/data_stream/clicks_permitted/_dev/test/system/test-default-config.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
input: httpjson | ||
service: proofpoint_tap | ||
vars: | ||
enable_request_tracer: true | ||
url: http://{{Hostname}}:{{Port}} | ||
principal: xxxx | ||
secret: xxxx | ||
data_stream: | ||
vars: | ||
preserve_original_event: true | ||
enable_request_tracer: true | ||
assert: | ||
hit_count: 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 3 additions & 1 deletion
4
packages/proofpoint_tap/data_stream/message_blocked/_dev/test/system/test-default-config.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
input: httpjson | ||
service: proofpoint_tap | ||
vars: | ||
enable_request_tracer: true | ||
url: http://{{Hostname}}:{{Port}} | ||
principal: xxxx | ||
secret: xxxx | ||
data_stream: | ||
vars: | ||
preserve_original_event: true | ||
enable_request_tracer: true | ||
assert: | ||
hit_count: 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 3 additions & 1 deletion
4
...ges/proofpoint_tap/data_stream/message_delivered/_dev/test/system/test-default-config.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
input: httpjson | ||
service: proofpoint_tap | ||
vars: | ||
enable_request_tracer: true | ||
url: http://{{Hostname}}:{{Port}} | ||
principal: xxxx | ||
secret: xxxx | ||
data_stream: | ||
vars: | ||
preserve_original_event: true | ||
enable_request_tracer: true | ||
assert: | ||
hit_count: 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters