configauditreport

package
v0.7.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 16, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConfigAuditReportFinalizer = "starboard-exporter.giantswarm.io/configauditreport"
)

Variables

View Source
var (
	ConfigAuditSummary = prometheus.NewGaugeVec(
		prometheus.GaugeOpts{
			Namespace: metricNamespace,
			Subsystem: metricSubsystem,
			Name:      "resource_checks_summary_count",
			Help:      "Exposes the number of checks of a particular severity.",
		},
		metricLabels,
	)
)

Gauge for the count of all config audit rules summary

Functions

func RequeueReportsForPod added in v0.5.0

func RequeueReportsForPod(c client.Client, log logr.Logger, podIP string)

Types

type ConfigAuditReportReconciler

type ConfigAuditReportReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme

	MaxJitterPercent int
	ShardHelper      *utils.ShardHelper
}

ConfigAuditReportReconciler reconciles a ConfigAuditReport object

func (*ConfigAuditReportReconciler) Reconcile

+kubebuilder:rbac:groups=aquasecurity.github.io.giantswarm,resources=configauditreports,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=aquasecurity.github.io.giantswarm,resources=configauditreports/status,verbs=get;update;patch +kubebuilder:rbac:groups=aquasecurity.github.io.giantswarm,resources=configauditreports/finalizers,verbs=update

func (*ConfigAuditReportReconciler) SetupWithManager

func (r *ConfigAuditReportReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL