IBM-Security / ibmsecurity

Idempotent functions for IBM Security Appliance REST APIs. Currently covering ISAM and ISDS Appliances.
Apache License 2.0
47 stars 73 forks source link

remote_http_header's value in Junction set #408

Open djorgen-ibm opened 7 months ago

djorgen-ibm commented 7 months ago

In the set function for junctions, on line 554, it is replacing '_' with '-' on the returned remote_http_header value from existing junction. On line 548, if current value for remote_http_header is "all", then it changes the value to ['iv_creds', 'iv_groups', 'iv_user']. Later on line 650 when it compares current junction values with existing values, it will always find differences since current value is ['iv_creds', 'iv_groups', 'iv_user'] and existing value is ['iv-creds', 'iv-groups', 'iv-user'].