Skip to content

Add properties in audit log (GONRG-940)

Rustam Lotsmanenko (EPAM) requested to merge add-properties-in-audit-log into master

Type of change

  • Feature

Issue:

osdu/platform/deployment-and-operations/audit-and-metrics#8 (closed)

Does this introduce a change in the core logic?

  • [Yes]

Does this introduce a change in the cloud provider implementation, if so which cloud?

  • AWS
  • Azure
  • GCP
  • IBM

Does this introduce a breaking change?

  • [No]

What is the current behavior?

hard-coded value in audit log:

private static final String PROPERTY_VALUE = "Property Values";

.resources(singletonList(PROPERTY_VALUE))

What is the new/expected behavior?

in audit log were added real properties:

ReadablePropertyValues output = new ReadablePropertyValues();

auditLogger.readLegalPropertiesSuccess(Collections.singletonList(output.toString()));

Have you added/updated Unit Tests and Integration Tests?

  • [Yes]

Any relevant logs, error output, etc?

https://ghostbin.com/paste/a19AC

Any other useful information

contains changes from !68 (merged)

Edited by Riabokon Stanislav(EPAM)[GCP]

Merge request reports