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 new file mode 100644 index 00000000..fdd60316 --- /dev/null +++ b/rcsofttech/audit-trail-bundle/1.9/config/packages/audit_trail.yaml @@ -0,0 +1,63 @@ +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/1.9/manifest.json b/rcsofttech/audit-trail-bundle/1.9/manifest.json new file mode 100644 index 00000000..d3e8c23b --- /dev/null +++ b/rcsofttech/audit-trail-bundle/1.9/manifest.json @@ -0,0 +1,23 @@ +{ + "bundles": { + "Rcsofttech\\AuditTrailBundle\\AuditTrailBundle": [ + "all" + ] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "AUDIT_TRAIL_INTEGRITY_SECRET": "generate(32)" + }, + "post-install-output": [ + " ", + " AuditTrailBundle ", + " ", + "", + " * Check config/packages/audit_trail.yaml and customize it", + " * Run php bin/console doctrine:migrations:migrate to apply the changes", + "", + " * Read the documentation at https://github.com/rcsofttech85/AuditTrailBundle" + ] +}