-
Notifications
You must be signed in to change notification settings - Fork 30
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
feat(anta.tests): Added the testcase to verify hostname, location and contact #523
Conversation
anta/tests/snmp.py
Outdated
|
||
name = "VerifySnmpLocation" | ||
description = "Verifies the SNMP location of a device." | ||
categories = ["security"] |
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.
going to change the categories in next commit. missed to update. Same for VerifySnmpContact
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.
Yes please. There is an snmp
category :)
categories = ["security"] | |
categories = ["snmp"] |
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.
LGTM after changing the categories of the tests.
anta/tests/snmp.py
Outdated
|
||
name = "VerifySnmpLocation" | ||
description = "Verifies the SNMP location of a device." | ||
categories = ["security"] |
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.
Yes please. There is an snmp
category :)
categories = ["security"] | |
categories = ["snmp"] |
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
5fc538f
to
12d508b
Compare
12d508b
to
68665ba
Compare
Conflicts have been resolved. A maintainer will review the pull request shortly. |
Description
Added the testcase to verify hostname, location and contact details.
Fixes #521
Checklist:
pre-commit run
)tox -e testenv
)