kics icon indicating copy to clipboard operation
kics copied to clipboard

fix(databricks): correct databricks permissions checks

Open kema-dev opened this issue 1 year ago • 2 comments

fix(databricks): correct databricks permissions checks

Reason for Proposed Changes

  • databricks_permissions checks were not working properly

Proposed Changes

  • Move not operator
  • Add test files (containing tests where multiple permissions are present in a single file)

Notes

  • We do not fully understand the way the not operator works, but found out that doing like so brings the desired behavior :shrug: Some more explanations would be appreciated !

I submit this contribution under the Apache-2.0 license.

kema-dev avatar Jun 26 '24 11:06 kema-dev

you forgot to update assets/queries/terraform/databricks/databricks_permissions/test/positive_expected_result.json

dim-ops avatar Jun 26 '24 20:06 dim-ops

@gabriel-cx If you have an explanation, I'd be interested

dim-ops avatar Jun 26 '24 20:06 dim-ops