-
Notifications
You must be signed in to change notification settings - Fork 298
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
Venom: Test security event autoreg using DHCP fingerprint #6816
Conversation
I re-run a pipeline and it works. I will review this PR soon. |
941b013
to
2c490a2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
General remarks:
- Can we merge this test suite to another scenario ? I'm thinking about captive_portal scenario
- I think there is a risk that DHCP fingerprint can change when we will upgrade node01 OS or make some changes on infrastructure.
- I think it could be interesting to check if security event has been triggered on node using API. Can be done later.
- Could you add a short
TESTSUITE.md
which explain test suite ?
t/venom/test_suites/security_event_autoreg/prepare/00_create_autoreg_security_event.yml
Outdated
Show resolved
Hide resolved
t/venom/test_suites/security_event_autoreg/prepare/00_create_autoreg_security_event.yml
Outdated
Show resolved
Hide resolved
The "problem" with this is that since this suite involves switching from a VLAN to another it may break the other scenarios as they expand. Having one dedicated to security events (that would include isolation for suricata events, etc) made sense to me since it will be implicit that it involves multiple VLAN switches. I'm fine to merge it if you disagree, I'm just scared of the potential breakage that can happen due to it (either now or in the future)
It's a variable so we can always change it in the future when that happens. If I use dhcp_test, it won't be as "real" as using node01
👍
Will do |
Agree with your answers @julsemaan. |
PIpeline with fixes: https://gitlab.com/inverse-inc/packetfence/-/pipelines/456839663 |
LGTM. I will just adjust syntax of variables to avoid spaces inside curly brackets like we have for all Venom test suites.
|
Description
Test security event autoreg using DHCP fingerprint
Impacts
Venom tests
Delete branch after merge
YES