Skip to content

Commit

Permalink
pgsql: use detect.guess-applayer-tx for content test
Browse files Browse the repository at this point in the history
Ticket: 7199
  • Loading branch information
catenacyber committed Dec 2, 2024
1 parent c60c3c8 commit 09c0a3b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
3 changes: 3 additions & 0 deletions tests/pgsql/pgsql-7000-ids/suricata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ app-layer:
protocols:
pgsql:
enabled: yes

detect:
force-applayer-findtx: true
7 changes: 0 additions & 7 deletions tests/pgsql/pgsql-7000-ids/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -171,11 +171,4 @@ checks:
[email protected].....\n[email protected]...'[email protected]...)[email protected]...,[email protected]...'[email protected]...)[email protected][email protected]...\r\
SELECT 8.Z....I"
pcap_cnt: 87
pgsql.request.simple_query: SELECT * FROM new_table;
pgsql.response.command_completed: SELECT 8
pgsql.response.data_rows: 8
pgsql.response.data_size: 236
pgsql.response.field_count: 2
pgsql.tx_id: 26
stream: 1
tx_id: 25
3 changes: 3 additions & 0 deletions tests/pgsql/pgsql-bug-6983-ips/suricata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,6 @@ app-layer:
protocols:
pgsql:
enabled: yes

detect:
guess-applayer-tx: true

0 comments on commit 09c0a3b

Please sign in to comment.