5 Commits

Author SHA1 Message Date
jh629g
42f1c52620 Collapse policy.json files
RMS has three rules which were not included into
the top level policy.json. These rules have been
moved to the top level in order to fix 403 against
uuid server. RMS specific policy.json was not
pointed at by any code, so with this fix
the file has been removed.

Change-Id: I8bf507a6336b8b07885e3e11490f1324bf29c5d4
2020-04-22 13:23:36 -05:00
jh629g
09fb39e961 Change ranger policy.json
changed ranger policy.json to allow
use of expected project when running
tempest tests against ranger

Change-Id: I1319404899a68140443517a818497ac0856746f5
2020-03-06 10:32:26 -06:00
jh629g
3f76cb63b9 Fix Transactions table breaking when image url too long
When an image is created with a url that is in excess
of 240 characters, the transacations table in ranger
audit database throws error "sqlalchemy.exc.DataError:
(MySQLdb._exceptions.DataError) (1406, "Data too long
for column 'event_details' at row 1")". By removing
this url from the log, we prevent this error while
maintaining other important data. Also restored ranger
to allowed projects in ranger policy.json

Change-Id: I4af73beed9bd40054f8d1e7281bc6f9216fdd243
2020-03-05 15:26:59 -06:00
jh629g
93c873bc96 Update RDS to create resources as specified in Ranger Region
Ranger region now includes a field which declares
which openstack domain a resource should be deployed
in. This change updates rds to create resources in
that domain via the heat template

Change-Id: I43144eb75a34661fae15399b9d32842d65327621
2020-02-21 18:07:49 +00:00
jh629g
a41951c6f7 update policy.json
policy.json will be updated to become
monolithic under orm/ directory, maintaining
all previous rules. Also update policy.json to
allow for ranger project as an authorized project
to use for authing through ranger. Also removes
unused git classes.

Change-Id: I547cb601318b507f759c264644c781743673be72
2020-01-30 14:27:25 -06:00