Package io.jenkins.plugins.auditlogger
Class AuditLoggerConfiguration
java.lang.Object
hudson.model.Descriptor<GlobalConfiguration>
jenkins.model.GlobalConfiguration
io.jenkins.plugins.auditlogger.AuditLoggerConfiguration
- All Implemented Interfaces:
ExtensionPoint,Describable<GlobalConfiguration>,Saveable,Loadable,OnMaster
Global configuration for Jenkins Audit Logger plugin.
Manage Jenkins -> Configure System -> Audit Logger
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.SelfNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields inherited from class hudson.model.Descriptor
clazz -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanconfigure(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject json) static AuditLoggerConfigurationget()intReturn anomaly detection rules as a JSON string for dashboard JS consumption.intintintintintintintintintintintintlongintintbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanvoidsetAlertEmailAddresses(String alertEmailAddresses) voidsetAnomalyFailedLogins(boolean anomalyFailedLogins) voidsetAnomalyFailedLoginsThreshold(int anomalyFailedLoginsThreshold) voidsetAnomalyFailedLoginsWindowMinutes(int anomalyFailedLoginsWindowMinutes) voidsetBatchFlushIntervalSeconds(int batchFlushIntervalSeconds) voidsetBatchWriteSize(int batchWriteSize) voidsetDisplayTimeZoneId(String displayTimeZoneId) voidsetEnableAlertEngine(boolean enableAlertEngine) voidsetEnableAuditApi(boolean enableAuditApi) voidsetEnableAuthenticationEvents(boolean enableAuthenticationEvents) voidsetEnableBuildEvents(boolean enableBuildEvents) voidsetEnableCredentialEvents(boolean enableCredentialEvents) voidsetEnableCsvExport(boolean enableCsvExport) voidsetEnableDashboardStats(boolean enableDashboardStats) voidsetEnableEmailAlerts(boolean enableEmailAlerts) voidsetEnableJobConfigEvents(boolean enableJobConfigEvents) voidsetEnableJsonExport(boolean enableJsonExport) voidsetEnableLogRotation(boolean enableLogRotation) voidsetEnablePluginEvents(boolean enablePluginEvents) voidsetEnableRiskLevels(boolean enableRiskLevels) voidsetEnableSlackAlerts(boolean enableSlackAlerts) voidsetEnableSystemConfigEvents(boolean enableSystemConfigEvents) voidsetEnableTeamsAlerts(boolean enableTeamsAlerts) voidsetEnableWebhookAlerts(boolean enableWebhookAlerts) voidsetLogRetentionDays(int logRetentionDays) voidsetMaskCreditCards(boolean maskCreditCards) voidsetMaskEmailAddresses(boolean maskEmailAddresses) voidsetMaskTokens(boolean maskTokens) voidsetMaxLogFileSizeMB(int maxLogFileSizeMB) voidsetShowMetricBuilds(boolean showMetricBuilds) voidsetShowMetricConfig(boolean showMetricConfig) voidsetShowMetricFailedLogins(boolean showMetricFailedLogins) voidsetShowMetricJobs(boolean showMetricJobs) voidsetShowMetricLogins(boolean showMetricLogins) voidsetShowMetricTotal(boolean showMetricTotal) voidsetSlackWebhookUrl(String slackWebhookUrl) voidsetStartupGracePeriodSeconds(int startupGracePeriodSeconds) voidsetTeamsWebhookUrl(String teamsWebhookUrl) voidsetWebhookUrl(String webhookUrl) Methods inherited from class jenkins.model.GlobalConfiguration
all, configure, getDescriptor, getGlobalConfigPageMethods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getStaticHelpUrl, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
AuditLoggerConfiguration
public AuditLoggerConfiguration()
-
-
Method Details
-
get
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject json) throws Descriptor.FormException - Overrides:
configurein classGlobalConfiguration- Throws:
Descriptor.FormException
-
setEnableAuthenticationEvents
@DataBoundSetter public void setEnableAuthenticationEvents(boolean enableAuthenticationEvents) -
setEnableBuildEvents
@DataBoundSetter public void setEnableBuildEvents(boolean enableBuildEvents) -
setEnableJobConfigEvents
@DataBoundSetter public void setEnableJobConfigEvents(boolean enableJobConfigEvents) -
setEnableCredentialEvents
@DataBoundSetter public void setEnableCredentialEvents(boolean enableCredentialEvents) -
setEnablePluginEvents
@DataBoundSetter public void setEnablePluginEvents(boolean enablePluginEvents) -
setEnableSystemConfigEvents
@DataBoundSetter public void setEnableSystemConfigEvents(boolean enableSystemConfigEvents) -
setAnomalyFailedLogins
@DataBoundSetter public void setAnomalyFailedLogins(boolean anomalyFailedLogins) -
setAnomalyFailedLoginsThreshold
@DataBoundSetter public void setAnomalyFailedLoginsThreshold(int anomalyFailedLoginsThreshold) -
setAnomalyFailedLoginsWindowMinutes
@DataBoundSetter public void setAnomalyFailedLoginsWindowMinutes(int anomalyFailedLoginsWindowMinutes) -
setEnableDashboardStats
@DataBoundSetter public void setEnableDashboardStats(boolean enableDashboardStats) -
setEnableRiskLevels
@DataBoundSetter public void setEnableRiskLevels(boolean enableRiskLevels) -
setDisplayTimeZoneId
-
setShowMetricTotal
@DataBoundSetter public void setShowMetricTotal(boolean showMetricTotal) -
setShowMetricLogins
@DataBoundSetter public void setShowMetricLogins(boolean showMetricLogins) -
setShowMetricFailedLogins
@DataBoundSetter public void setShowMetricFailedLogins(boolean showMetricFailedLogins) -
setShowMetricBuilds
@DataBoundSetter public void setShowMetricBuilds(boolean showMetricBuilds) -
setShowMetricJobs
@DataBoundSetter public void setShowMetricJobs(boolean showMetricJobs) -
setShowMetricConfig
@DataBoundSetter public void setShowMetricConfig(boolean showMetricConfig) -
setEnableCsvExport
@DataBoundSetter public void setEnableCsvExport(boolean enableCsvExport) -
setEnableJsonExport
@DataBoundSetter public void setEnableJsonExport(boolean enableJsonExport) -
setEnableAuditApi
@DataBoundSetter public void setEnableAuditApi(boolean enableAuditApi) -
setEnableAlertEngine
@DataBoundSetter public void setEnableAlertEngine(boolean enableAlertEngine) -
setEnableEmailAlerts
@DataBoundSetter public void setEnableEmailAlerts(boolean enableEmailAlerts) -
setEnableWebhookAlerts
@DataBoundSetter public void setEnableWebhookAlerts(boolean enableWebhookAlerts) -
setAlertEmailAddresses
-
setWebhookUrl
-
setEnableSlackAlerts
@DataBoundSetter public void setEnableSlackAlerts(boolean enableSlackAlerts) -
setSlackWebhookUrl
-
setEnableTeamsAlerts
@DataBoundSetter public void setEnableTeamsAlerts(boolean enableTeamsAlerts) -
setTeamsWebhookUrl
-
setLogRetentionDays
@DataBoundSetter public void setLogRetentionDays(int logRetentionDays) -
setMaxLogFileSizeMB
@DataBoundSetter public void setMaxLogFileSizeMB(int maxLogFileSizeMB) -
setEnableLogRotation
@DataBoundSetter public void setEnableLogRotation(boolean enableLogRotation) -
setStartupGracePeriodSeconds
@DataBoundSetter public void setStartupGracePeriodSeconds(int startupGracePeriodSeconds) -
setBatchWriteSize
@DataBoundSetter public void setBatchWriteSize(int batchWriteSize) -
setBatchFlushIntervalSeconds
@DataBoundSetter public void setBatchFlushIntervalSeconds(int batchFlushIntervalSeconds) -
setMaskTokens
@DataBoundSetter public void setMaskTokens(boolean maskTokens) -
setMaskEmailAddresses
@DataBoundSetter public void setMaskEmailAddresses(boolean maskEmailAddresses) -
setMaskCreditCards
@DataBoundSetter public void setMaskCreditCards(boolean maskCreditCards) -
isEnableAuthenticationEvents
public boolean isEnableAuthenticationEvents() -
isEnableBuildEvents
public boolean isEnableBuildEvents() -
isEnableJobConfigEvents
public boolean isEnableJobConfigEvents() -
isEnablePipelineEvents
public boolean isEnablePipelineEvents() -
isEnableCredentialEvents
public boolean isEnableCredentialEvents() -
isEnablePluginEvents
public boolean isEnablePluginEvents() -
isEnableSystemConfigEvents
public boolean isEnableSystemConfigEvents() -
isEnableNodeEvents
public boolean isEnableNodeEvents() -
isEnableApiEvents
public boolean isEnableApiEvents() -
isEnableFailedLoginDetection
public boolean isEnableFailedLoginDetection() -
getFailedLoginThreshold
public int getFailedLoginThreshold() -
getFailedLoginTimeWindowMinutes
public int getFailedLoginTimeWindowMinutes() -
isEnableProductionJobChangeAlert
public boolean isEnableProductionJobChangeAlert() -
isEnableCredentialUpdateAlert
public boolean isEnableCredentialUpdateAlert() -
isEnablePluginInstallAlert
public boolean isEnablePluginInstallAlert() -
isAnomalyFailedLogins
public boolean isAnomalyFailedLogins() -
getAnomalyFailedLoginsThreshold
public int getAnomalyFailedLoginsThreshold() -
getAnomalyFailedLoginsWindowMinutes
public int getAnomalyFailedLoginsWindowMinutes() -
isAnomalyCredentialChanges
public boolean isAnomalyCredentialChanges() -
getAnomalyCredentialChangesThreshold
public int getAnomalyCredentialChangesThreshold() -
isAnomalyPluginChanges
public boolean isAnomalyPluginChanges() -
getAnomalyPluginChangesThreshold
public int getAnomalyPluginChangesThreshold() -
isAnomalyGlobalConfigChanges
public boolean isAnomalyGlobalConfigChanges() -
getAnomalyGlobalConfigChangesThreshold
public int getAnomalyGlobalConfigChangesThreshold() -
isAnomalyJobConfigChanges
public boolean isAnomalyJobConfigChanges() -
getAnomalyJobConfigChangesThreshold
public int getAnomalyJobConfigChangesThreshold() -
getAnomalyWatchedJobPatterns
-
isAnomalySecurityConfigChanges
public boolean isAnomalySecurityConfigChanges() -
getAnomalySecurityConfigChangesThreshold
public int getAnomalySecurityConfigChangesThreshold() -
isAnomalyOffHoursAdmin
public boolean isAnomalyOffHoursAdmin() -
isAnomalyBuildFailures
public boolean isAnomalyBuildFailures() -
getAnomalyBuildFailuresThreshold
public int getAnomalyBuildFailuresThreshold() -
isEnableAdminOffHoursAlert
public boolean isEnableAdminOffHoursAlert() -
getLogRetentionDays
public int getLogRetentionDays() -
getMaxLogFileSizeMB
public int getMaxLogFileSizeMB() -
getMaxLogFileSizeBytes
public long getMaxLogFileSizeBytes() -
isEnableLogRotation
public boolean isEnableLogRotation() -
getStartupGracePeriodSeconds
public int getStartupGracePeriodSeconds() -
isEnableAdvancedIndexing
public boolean isEnableAdvancedIndexing() -
isEnableAnomalyDetection
public boolean isEnableAnomalyDetection() -
isEnableMetricsCollection
public boolean isEnableMetricsCollection() -
getBatchWriteSize
public int getBatchWriteSize() -
getBatchFlushIntervalSeconds
public int getBatchFlushIntervalSeconds() -
isMaskTokens
public boolean isMaskTokens() -
isMaskEmailAddresses
public boolean isMaskEmailAddresses() -
isMaskCreditCards
public boolean isMaskCreditCards() -
isEnableAlertEngine
public boolean isEnableAlertEngine() -
isEnableEmailAlerts
public boolean isEnableEmailAlerts() -
getAlertEmailAddresses
-
isEnableComplianceReports
public boolean isEnableComplianceReports() -
isEnableWebhookAlerts
public boolean isEnableWebhookAlerts() -
getWebhookUrl
-
isEnableSlackAlerts
public boolean isEnableSlackAlerts() -
getSlackWebhookUrl
-
isEnableTeamsAlerts
public boolean isEnableTeamsAlerts() -
getTeamsWebhookUrl
-
isEnableRiskLevels
public boolean isEnableRiskLevels() -
isEnableEventCategories
public boolean isEnableEventCategories() -
isEnableTimelineView
public boolean isEnableTimelineView() -
isEnableSensitiveEventsPanel
public boolean isEnableSensitiveEventsPanel() -
isEnableDashboardMetrics
public boolean isEnableDashboardMetrics() -
isEnableDashboardStats
public boolean isEnableDashboardStats() -
isEnableAnomalyRow
public boolean isEnableAnomalyRow() -
getDisplayTimeZoneId
-
getDisplayTimeZoneDisplayName
-
getDisplayTimeZone
-
getAvailableDisplayTimeZoneIds
-
getPopularDisplayTimeZoneIds
-
getAvailableDisplayTimeZonesJson
-
getPopularDisplayTimeZonesJson
-
doFillDisplayTimeZoneIdItems
-
isShowMetricTotal
public boolean isShowMetricTotal() -
isShowMetricLogins
public boolean isShowMetricLogins() -
isShowMetricFailedLogins
public boolean isShowMetricFailedLogins() -
isShowMetricBuilds
public boolean isShowMetricBuilds() -
isShowMetricJobs
public boolean isShowMetricJobs() -
isShowMetricConfig
public boolean isShowMetricConfig() -
isEnableCsvExport
public boolean isEnableCsvExport() -
isEnableJsonExport
public boolean isEnableJsonExport() -
isEnablePdfExport
public boolean isEnablePdfExport() -
isEnableAuditApi
public boolean isEnableAuditApi() -
getAnomalyConfigJson
Return anomaly detection rules as a JSON string for dashboard JS consumption.
-