Skip to content

Commit

Permalink
pgsql: use detect.force-applayer-findtx for content test
Browse files Browse the repository at this point in the history
Ticket: 7199
  • Loading branch information
catenacyber committed Nov 28, 2024
1 parent 05d1095 commit 5ac7b19
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:
force-applayer-findtx: true

0 comments on commit 5ac7b19

Please sign in to comment.