Roman Levytskyi
06/10/2024, 2:23 PMoguzhan
Roman Levytskyi
06/10/2024, 2:31 PMoguzhan
Roman Levytskyi
06/10/2024, 2:52 PMoguzhan
Roman Levytskyi
06/10/2024, 4:04 PMaddOrUpdatePolicies
methodRoman Levytskyi
06/10/2024, 4:05 PMoguzhan
<kind>.<name>.<version>/<scope>
) of the policy to determine whether to add a new policy or update an existing policy.
If a policy with the same policy ID exists, it updates (basically overwrites) the policy in the database. Given that you are constructing the same exact policy, I’d expect you to see same policy being updated without any additions.
Unfortunately, I couldn’t manage to reproduce the same problem for now.
Is it possible for you to log the policy that you are passing to addOrUpdatePolicies
function to see if it is what you expect?Roman Levytskyi
06/10/2024, 4:24 PMRoman Levytskyi
06/10/2024, 6:14 PMoguzhan