Adding upstream version 1.2.0.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-05 11:55:09 +01:00
parent 77504588ab
commit 6fd6eb426a
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
154 changed files with 7346 additions and 5000 deletions

View file

@ -110,6 +110,17 @@ anta_title: Frequently Asked Questions (FAQ)
pip install -U pyopenssl>22.0
```
## Caveat running on non-POSIX platforms (e.g. Windows)
???+ faq "Caveat running on non-POSIX platforms (e.g. Windows)"
While ANTA should in general work on non-POSIX platforms (e.g. Windows),
there are some known limitations:
- On non-Posix platforms, ANTA is not able to check and/or adjust the system limit of file descriptors.
ANTA test suite is being run in the CI on a Windows runner.
## `__NSCFConstantString initialize` error on OSX
???+ faq "`__NSCFConstantString initialize` error on OSX"
@ -124,6 +135,40 @@ anta_title: Frequently Asked Questions (FAQ)
export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
```
## EOS AAA configuration for an ANTA-only user
???+ faq "EOS AAA configuration for an ANTA-only user"
Here is a starting guide to configure an ANTA-only user to run ANTA tests on a device.
!!! warning
This example is not using TACACS / RADIUS but only local AAA
1. Configure the following role.
```bash
role anta-users
10 permit command show
20 deny command .*
```
You can then add other commands if they are required for your test catalog (`ping` for example) and then tighten down the show commands to only those required for your tests.
2. Configure the following authorization (You may need to adapt depending on your AAA setup).
```bash
aaa authorization commands all default local
```
3. Configure a user for the role.
```bash
user anta role anta-users secret <secret>
```
4. You can then use the credentials `anta` / `<secret>` to run ANTA against the device and adjust the role as required.
# Still facing issues?
If you've tried the above solutions and continue to experience problems, please follow the [troubleshooting](troubleshooting.md) instructions and report the issue in our [GitHub repository](https://github.com/aristanetworks/anta).