Class AuditLoggerManagementLink

java.lang.Object
hudson.model.ManagementLink
io.jenkins.plugins.auditlogger.AuditLoggerManagementLink
All Implemented Interfaces:
ExtensionPoint, Action, ModelObject

@Extension public class AuditLoggerManagementLink extends ManagementLink
Management link: web UI, paged JSON API, and exports with display-timezone support.
  • Constructor Details

    • AuditLoggerManagementLink

      public AuditLoggerManagementLink()
  • Method Details

    • getIconFileName

      public String getIconFileName()
      Specified by:
      getIconFileName in interface Action
      Specified by:
      getIconFileName in class ManagementLink
    • getDisplayName

      public String getDisplayName()
    • getPageTitle

      public String getPageTitle()
    • getPageHeading

      public String getPageHeading()
    • getPluginVersion

      public String getPluginVersion()
    • getUrlName

      public String getUrlName()
      Specified by:
      getUrlName in interface Action
      Specified by:
      getUrlName in class ManagementLink
    • getDescription

      public String getDescription()
      Overrides:
      getDescription in class ManagementLink
    • getCategory

      public ManagementLink.Category getCategory()
      Overrides:
      getCategory in class ManagementLink
    • getRequiredPermission

      public Permission getRequiredPermission()
      Overrides:
      getRequiredPermission in class ManagementLink
    • doApi

      @GET public void doApi(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 res) throws IOException
      Throws:
      IOException
    • doExportCsv

      @GET public void doExportCsv(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 res) throws IOException
      Throws:
      IOException
    • getDisplayTimeZoneId

      public String getDisplayTimeZoneId()
    • getDefaultViewMode

      public String getDefaultViewMode()
    • getDefaultDatePreset

      public String getDefaultDatePreset()
    • getDefaultDateFrom

      public String getDefaultDateFrom()
    • getDefaultDateTo

      public String getDefaultDateTo()
    • getStatsEnabled

      public boolean getStatsEnabled()
    • getCsvExportEnabled

      public boolean getCsvExportEnabled()
    • getJsonExportEnabled

      public boolean getJsonExportEnabled()
    • getRiskLevelsEnabled

      public boolean getRiskLevelsEnabled()
    • getAnomalyDetectionEnabled

      public boolean getAnomalyDetectionEnabled()
    • getAnomalyRowEnabled

      public boolean getAnomalyRowEnabled()
    • getAnomalyConfigJson

      public String getAnomalyConfigJson()
    • getShowMetricTotal

      public boolean getShowMetricTotal()
    • getShowMetricLogins

      public boolean getShowMetricLogins()
    • getShowMetricFailedLogins

      public boolean getShowMetricFailedLogins()
    • getShowMetricBuilds

      public boolean getShowMetricBuilds()
    • getShowMetricJobs

      public boolean getShowMetricJobs()
    • getShowMetricConfig

      public boolean getShowMetricConfig()
    • getOnboardingStorageKey

      public String getOnboardingStorageKey()
    • doExportJson

      @GET public void doExportJson(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 res) throws IOException
      Throws:
      IOException
    • doExportTxt

      @GET public void doExportTxt(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 res) throws IOException
      Throws:
      IOException
    • doAlerts

      @GET public void doAlerts(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 res) throws IOException
      API endpoint for anomaly alerts, consumed by the dashboard's risk panel.
      Throws:
      IOException
    • doDismissAlert

      @GET public void doDismissAlert(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 res) throws IOException
      Throws:
      IOException