Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-15144

Add Audit Logs Housekeeping Policy

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9.1
    • Component/s: None
    • Labels:
      None
    • Edition:
      Enterprise
    • Production Notes:
      None

      Description

      Backend

      • Add Housekeeping setting: sonar.dbcleaner.auditHousekeepingPeriod
      • Limited options: Weekly, Monthly, Every 3 Months, Yearly
      • It should be in its own Audits subcategory
      • Implement cleaning up job based on housekeeping setting to remove outdated data in the Audit table.
        • It will be handled as a CE Task which will be enqueued initially 1 hour after SQ starts, and re-enqueued every 12 hours
        • The initial delay for enqueueing and the enqueueing frequency are configurable

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jeremy.davis Jeremy Davis
              Reporter:
              belen.pruvost Belén Pruvost
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: