GitLab now enforces expiry dates on tokens that originally had no set expiration date. Those tokens were given an expiration date of one year later. Please review your personal access tokens, project access tokens, and group access tokens to ensure you are aware of upcoming expirations. Administrators of GitLab can find more information on how to identify and mitigate interruption in our documentation.
"README.md" did not exist on "07e62f111f743ab378367b594aba309eb523dcb4"
By design, the NetBox DNS DNSsync feature does not check DNS permissions when syncing DNS records through an action done in the IPAM.
### Permissions validation on dns_name
The script *dnssync_perm.py* provides partial permission validation for DNSsync, but only when adding or modifying an IP address.
By design, the NetBox DNS DNSsync feature does not check DNS permissions
when syncing DNS records through an action done in the IPAM.
NamePermissionValidator provides partial permission validation for
DNSsync, but only when adding or modifying an IP address.
NB: No permission is checked when deleting an IP address. This is
consistent with the idea that IPAM actions have complete control over
the DNSsync-ed records.
### Correctness of dns_name
NameZoneValidator implement a strict policy for dns_name when used with
dns_sync, ensuring that the name is not empty and only contains a
valid zone.
No permission is checked when deleting an IP address This is consistent with the idea that IPAM actions have complete control over the DNSsync-ed records.
## Installation
...
...
@@ -15,10 +26,10 @@ Copy this script to a "validators" directory into Netbox:
mkdir -p /opt/netbox/netbox/validators
cp dnssync_perm.py /opt/netbox/netbox/validators/
Activate the validator by adding the following lines in /opt/netbox/netbox/netbox/configuration.py:
Activate the validators by adding the following lines in /opt/netbox/netbox/netbox/configuration.py:
from validators.dnssync_perm import NamePermissionValidator
from validators.dnssync_perm import NamePermissionValidator, NameZoneValidator,