[
https://issues.apache.org/jira/browse/RANGER-5170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17950403#comment-17950403
]
Radhika Kundam commented on RANGER-5170:
----------------------------------------
As part of this change, two new endpoints have been introduced to fetch V2 log
reports.
The existing APIs — /report and /report/\{transactionId} — continue to return
logs in the same format, which combines the object change information for all
log entries within a single transaction.
To improve clarity and allow consumers to see exactly what changed in each
individual log entry, the new endpoints return V2 logs which is a per-log-entry
basis.
Additionally, as part of this admin logging enhancement:
The primary object being created or modified now includes full details of the
actual changes.
All other impacted objects will log references to the primary object using the
fields:
* affectedObjectId
* affectedObjectClassType
* affectedObjectClassName
To inspect the specific changes at any time, we can refer to the individual log
entry associated with the primary object.
> Enhance Ranger Logging to Capture Events For All Impacted Objects
> -----------------------------------------------------------------
>
> Key: RANGER-5170
> URL: https://issues.apache.org/jira/browse/RANGER-5170
> Project: Ranger
> Issue Type: Task
> Components: Ranger
> Reporter: Radhika Kundam
> Assignee: Radhika Kundam
> Priority: Major
>
> Improve Ranger logging to capture events for all impacted objects for better
> visibility and traceability.
> Currently, Ranger logs only direct changes to an entity, missing related
> updates across interconnected entities. For example, when a resource is
> created or updated, only a resource log is generated, making it difficult to
> track associated changes in dependent entities.
> With the new architecture, Ranger should generate logs for all impacted
> entities. Example:
> * If a resource is modified, logs should be created for:
> ** *Resource*
> ** *Datashare*
> ** *Dataset*
> Each log entry should include details of the changed resource to ensure
> complete visibility.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)