Pinal Shah created ATLAS-5202:
---------------------------------
Summary: DISCARD audit filter rule is not working with rdbms
backend
Key: ATLAS-5202
URL: https://issues.apache.org/jira/browse/ATLAS-5202
Project: Atlas
Issue Type: Task
Reporter: Pinal Shah
Assignee: Pinal Shah
*Issue:*
When an audit filter rule is applied to DISCARD for any action for a particular
type, It is not getting discarded
{*}Steps to reproduce{*}:
- Create audit filter rule like below
{code:java}
curl 'https://<>/api/atlas/admin/audits/rules' \
-H 'Content-Type: application/json' \
-d '{"desc": "Test rule creation", "action": "DISCARD", "ruleName": "Rule_21",
"ruleExpr": {"ruleExprObjList": [{"typeName": "hive_db", "attributeName":
"operationType", "operator": "==", "attributeValue": "ENTITY_CREATE"}]}}' \
{code}
- Create database in hive
- Check audits in Atlas corresponding to that database.
*Expected:* ENTITY_CREATE audit shouldn't be seen
*Actual:* It is not discarded and seen in audit list.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)