Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test/ftp: FTP command tests #2242

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

jlucovsky
Copy link
Contributor

@jlucovsky jlucovsky commented Jan 20, 2025

Issue: 7502

Add test cases for the keyword ftp.command:

  • Validate matches
  • Validate keyword can't be used for server responses

Ticket

If your pull request is related to a Suricata ticket, please provide
the full URL to the ticket here so this pull request can monitor
changes to the ticket status:

Redmine ticket: https://redmine.openinfosecfoundation.org/issues/7502

@jlucovsky jlucovsky added the requires suricata pr Depends on a PR in Suricata label Jan 20, 2025
Issue: 7502

Add test cases for the keyword ftp.command:
- Validate matches
- Validate keyword can't be used for server responses
count: 1
match:
event_type: alert
ftp.command: USER
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you add the alert.signature_id checks here as well? Want to make sure the correct sig matches in each case

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
requires suricata pr Depends on a PR in Suricata
Development

Successfully merging this pull request may close these issues.

2 participants