feat(authn) : add case to test multiples CIDR #34 #35

Merged
wpetit merged 1 commits from issue-4 into develop 2024-09-25 15:15:13 +02:00
Owner

Lié à #34

Ajout d'un cas de test authenticatoir CIDR pour tester les CIDR autorisés multiples

Commande de test en isolation :

go test -v -count=1  ./internal/proxy/director/layer/authn/network/...
Lié à https://forge.cadoles.com/Cadoles/bouncer/issues/34 Ajout d'un cas de test authenticatoir CIDR pour tester les CIDR autorisés multiples Commande de test en isolation : ``` go test -v -count=1 ./internal/proxy/director/layer/authn/network/... ```
mlamalle added 1 commit 2024-08-08 08:46:16 +02:00
Cadoles/bouncer/pipeline/head There was a failure building this commit Details
Cadoles/bouncer/pipeline/pr-develop There was a failure building this commit Details
5f948ce83a
feat(authn) : add case to test multiples CIDR
wpetit requested changes 2024-08-08 08:53:16 +02:00
@ -42,0 +45,4 @@
"192.168.1.0/24",
"192.168.1.5/32",
},
ExpectedResult: false,
Owner

Le résultat attendu me semble erroné. L'IP 192.168.1.15 est bien contenu dans le réseau 192.168.1.0/24, le résultat sera donc true. Est ce une erreur ?

Le résultat attendu me semble erroné. L'IP `192.168.1.15` est bien contenu dans le réseau `192.168.1.0/24`, le résultat sera donc `true`. Est ce une erreur ?
wpetit marked this conversation as resolved
mlamalle force-pushed issue-4 from 5f948ce83a to a1b07c568e 2024-08-08 08:57:56 +02:00 Compare
mlamalle changed title from feat(authn) : add case to test multiples CIDR to feat(authn) : add case to test multiples CIDR #4 2024-08-08 09:01:54 +02:00
mlamalle changed title from feat(authn) : add case to test multiples CIDR #4 to feat(authn) : add case to test multiples CIDR #34 2024-08-08 09:02:14 +02:00
wpetit force-pushed issue-4 from a1b07c568e to 5eac425fda 2024-09-25 15:15:06 +02:00 Compare
wpetit merged commit cb9260ac2b into develop 2024-09-25 15:15:13 +02:00
wpetit deleted branch issue-4 2024-09-25 15:15:15 +02:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Cadoles/bouncer#35
No description provided.