Project

General

Profile

Actions

Bug #20995

open

Rudder API does not check for allowed_networks unicity

Added by Félix DALLIDET about 2 years ago. Updated 7 days ago.

Status:
New
Priority:
N/A
Assignee:
-
Category:
API
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Operational - other Techniques | Rudder settings | Plugins
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:

Description

Whenever you add a new allowed_network via the API, it does not check if it is already defined.
To reproduce, just run multiple times in a row the command below:

 curl -k -X POST -H "X-API-Token: $(cat /var/rudder/run/api-token)" -H "Content-Type: application/json" -d '"{\"allowed_networks\": {\"add\": [\"192.168.0.0/16\"]}}"' 'https://localhost/rudder/api/latest/settings/allowed_networks/<relay id>/diff'
Actions #1

Updated by Vincent MEMBRÉ about 2 years ago

  • Target version changed from 7.1.0 to 7.1.1
Actions #2

Updated by Vincent MEMBRÉ almost 2 years ago

  • Target version changed from 7.1.1 to 7.1.2
Actions #3

Updated by Vincent MEMBRÉ almost 2 years ago

  • Target version changed from 7.1.2 to 7.1.3
Actions #4

Updated by Vincent MEMBRÉ almost 2 years ago

  • Target version changed from 7.1.3 to 7.1.4
  • Priority changed from 32 to 31
Actions #5

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 7.1.4 to 7.1.5
  • Priority changed from 31 to 0
Actions #6

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 7.1.5 to 7.1.6
Actions #7

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 7.1.6 to 7.1.7
Actions #8

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 7.1.7 to 7.1.8
Actions #9

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 7.1.8 to 7.1.9
Actions #10

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 7.1.9 to 7.1.10
Actions #11

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 7.1.10 to 1016
Actions #12

Updated by Alexis Mousset about 1 year ago

  • Target version changed from 1016 to 7.2.5
Actions #13

Updated by Vincent MEMBRÉ about 1 year ago

  • Target version changed from 7.2.5 to 7.2.6
Actions #14

Updated by Vincent MEMBRÉ 12 months ago

  • Target version changed from 7.2.6 to 7.2.7
Actions #15

Updated by Vincent MEMBRÉ 12 months ago

  • Target version changed from 7.2.7 to 7.2.8
Actions #16

Updated by Vincent MEMBRÉ 10 months ago

  • Target version changed from 7.2.8 to 7.2.9
Actions #17

Updated by Vincent MEMBRÉ 10 months ago

  • Target version changed from 7.2.9 to 7.2.10
Actions #18

Updated by Alexis Mousset 9 months ago

  • Target version changed from 7.2.10 to 7.2.11
Actions #19

Updated by Vincent MEMBRÉ 8 months ago

  • Target version changed from 7.2.11 to 1046
Actions #20

Updated by Alexis Mousset 7 months ago

  • Target version changed from 1046 to 7.3.8
Actions #21

Updated by Vincent MEMBRÉ 6 months ago

  • Target version changed from 7.3.8 to 7.3.9
Actions #22

Updated by Vincent MEMBRÉ 6 months ago

  • Target version changed from 7.3.9 to 7.3.10
Actions #23

Updated by Vincent MEMBRÉ 5 months ago

  • Target version changed from 7.3.10 to 7.3.11
Actions #24

Updated by Vincent MEMBRÉ 3 months ago

  • Target version changed from 7.3.11 to 7.3.12
Actions #25

Updated by Vincent MEMBRÉ 2 months ago

  • Target version changed from 7.3.12 to 7.3.13
Actions #26

Updated by Vincent MEMBRÉ about 2 months ago

  • Target version changed from 7.3.13 to 7.3.14
Actions #27

Updated by Vincent MEMBRÉ 7 days ago

  • Target version changed from 7.3.14 to 7.3.15
Actions

Also available in: Atom PDF