From b8677013aef6d41c6968c64eef56b8b97364ef61 Mon Sep 17 00:00:00 2001 From: rahul chavan Date: Sun, 29 Mar 2026 07:17:25 +0530 Subject: [PATCH] The doctrine transport config key has been replaced with database. (#1956) Co-authored-by: rahul chavan --- .../1.9/config/packages/audit_trail.yaml | 63 ------------------- .../2.1/config/packages/audit_trail.yaml | 36 +++++++++++ .../{1.9 => 2.1}/manifest.json | 0 3 files changed, 36 insertions(+), 63 deletions(-) delete mode 100644 rcsofttech/audit-trail-bundle/1.9/config/packages/audit_trail.yaml create mode 100644 rcsofttech/audit-trail-bundle/2.1/config/packages/audit_trail.yaml rename rcsofttech/audit-trail-bundle/{1.9 => 2.1}/manifest.json (100%) diff --git a/rcsofttech/audit-trail-bundle/1.9/config/packages/audit_trail.yaml b/rcsofttech/audit-trail-bundle/1.9/config/packages/audit_trail.yaml deleted file mode 100644 index fdd60316..00000000 --- a/rcsofttech/audit-trail-bundle/1.9/config/packages/audit_trail.yaml +++ /dev/null @@ -1,63 +0,0 @@ -audit_trail: - # Enable or disable the audit trail bundle globally - enabled: true - - # Database table customization - # table_prefix: '' - # table_suffix: '' - - # Timezone for audit logs (default: UTC) - # timezone: UTC - - # Number of days to keep audit logs before they are eligible for cleanup - # retention_days: 365 - - # Tracking options - # track_ip_address: true - # track_user_agent: true - - # Soft delete handling - # enable_soft_delete: true - # soft_delete_field: deletedAt - - # Hard delete handling - # enable_hard_delete: true - - # Transport behavior - # defer_transport_until_commit: true - # fail_on_transport_error: false - # fallback_to_database: true - - # Properties to ignore globally for all entities - ignored_properties: - - updatedAt - - updated_at - - # Entities to ignore globally - # ignored_entities: [] - - # Transport configuration - transports: - # Save audit logs to the local database via Doctrine - doctrine: true - - # Send audit logs to a remote HTTP endpoint - # http: - # enabled: false - # endpoint: 'https://api.example.com/audit' - # headers: [] - # timeout: 5 - - # Dispatch audit logs via Symfony Messenger - # queue: - # enabled: false - # bus: null - # api_key: null - - # Integrity check for audit logs (HMAC signature) - integrity: - enabled: false - # The secret key used for HMAC signature. - # It's recommended to use the generated environment variable. - secret: '%env(AUDIT_TRAIL_INTEGRITY_SECRET)%' - algorithm: sha256 diff --git a/rcsofttech/audit-trail-bundle/2.1/config/packages/audit_trail.yaml b/rcsofttech/audit-trail-bundle/2.1/config/packages/audit_trail.yaml new file mode 100644 index 00000000..a473734f --- /dev/null +++ b/rcsofttech/audit-trail-bundle/2.1/config/packages/audit_trail.yaml @@ -0,0 +1,36 @@ +audit_trail: + enabled: true + ignored_properties: + - password + - salt + - updatedAt + ignored_entities: { } + # integrity: + # enabled: true + # secret: 92e6112673ffcde6e16be9995c3b5c413fb4a74d895fab58dec65db4e04d341f + # algorithm: sha256 + + + + # collection_serialization_mode: ids_only + + + transports: + database: + enabled: true + # async: true + # http: + # enabled: false + # endpoint: 'http://host.docker.internal/api/ingest' + # headers: + # X_API_KEY: dfebeb903c180b5ffe2ceac733b9f10b52296a3d2cba35fb0eff61e32778af6a + # timeout: 5 + # queue: + # enabled: false + # api_key: 99cae1bd2da3d0caecb232c45f417c953b9d1a848c8f7743764a7cb8d0ded74c + + + + + # cache_pool: redis_cache + diff --git a/rcsofttech/audit-trail-bundle/1.9/manifest.json b/rcsofttech/audit-trail-bundle/2.1/manifest.json similarity index 100% rename from rcsofttech/audit-trail-bundle/1.9/manifest.json rename to rcsofttech/audit-trail-bundle/2.1/manifest.json