Add patch code for min_severity due to Xray API bug in <3.60.2. Include new test that only executes when Xray version is prior to 3.60.2.
This breaks from our convention that the provider only support latest version of Xray. Since the API bug has already been fixed in theory this patch is unnecessary. However, I think this patch will be useful for customers who aren't yet ready/won't upgrade Xray in immediate future.
Yeah, we came across this bug as well, as we're implementing the Xray provider and noticed the issue when importing existing policies. We ended up upgrading Xray to resolve.
Fixes #84
Add patch code for
min_severity
due to Xray API bug in <3.60.2. Include new test that only executes when Xray version is prior to 3.60.2.This breaks from our convention that the provider only support latest version of Xray. Since the API bug has already been fixed in theory this patch is unnecessary. However, I think this patch will be useful for customers who aren't yet ready/won't upgrade Xray in immediate future.