package
0.9.0
Repository: https://github.com/datadog/datadog-agent.git
Documentation: pkg.go.dev

# Packages

Package agent implements the Compliance Agent entrypoint.
Package checks implements Compliance Agent checks.
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

BuildReportForError returns a report for the given error.
BuildReportForUnstructured returns default Report for Kubernetes objects.
CheckName returns a canonical name of a check for a rule ID and description.
NewKubeUnstructuredResource instantiates a new KubeUnstructuredResource.
ParseSuite loads a single compliance suite.

# Constants

Fields & functions available for Audit.
Fields & functions available for Audit.
Fields & functions available for Audit.
Fields & functions available for Command.
Fields & functions available for Command.
Fields & functions available for Docker.
Fields & functions available for Docker.
Fields & functions available for Docker.
Fields & functions available for Docker.
Fields & functions available for Docker.
Fields & functions available for Docker.
Fields & functions available for Docker.
Fields & functions available for Docker.
Fields & functions available for Docker.
Fields & functions available for Docker.
Fields & functions available for Docker.
Fields & functions available for Docker.
DockerScope const.
Fields & functions available for Docker.
Fields & functions available for Docker.
Fields & functions available for Docker.
Fields & functions available for Docker.
Fields & functions available for Docker.
Fields & functions available for Docker.
Fields & functions available for Docker.
Fields & functions available for File.
Fields & functions available for File.
Fields & functions available for File.
Fields & functions available for File.
Fields & functions available for File.
Fields & functions available for File.
Fields & functions available for File.
Fields & functions available for File.
Fields & functions available for File.
Fields & functions available for Group.
Fields & functions available for Group.
Fields & functions available for Group.
KindAudit is used for an Audit resource.
KindCommand is used for a Command resource.
KindCustom is used for a Custom check.
KindDocker is used for a DockerResource resource.
KindFile is used for a file resource.
KindGroup is used for a Group resource.
KindInvalid is set in case resource is invalid.
KindKubernetes is used for a KubernetesResource.
KindProcess is used for a Process resource.
Fields & functions available for KubernetesResource.
Fields & functions available for KubernetesResource.
Fields & functions available for KubernetesResource.
Fields & functions available for KubernetesResource.
Fields & functions available for KubernetesResource.
Fields & functions available for KubernetesResource.
Fields & functions available for KubernetesResource.
KubernetesClusterScope const.
KubernetesNodeScope const.
Fields & functions available for Process.
Fields & functions available for Process.
Fields & functions available for Process.
Fields & functions available for Process.
Fields & functions available for Process.
Fields & functions available for Process.

# Variables

ErrUnsupportedSchemaVersion is returned for a schema version not supported by this version of the agent.

# Structs

Audit describes an audited file resource.
BinaryCmd describes a command in form of a name + args.
CheckStatus describes current status for a check.
Command describes a command resource usually reporting exit code or output.
ConditionFallbackRule defines a rule in a compliance config.
Custom is a special resource handled by a dedicated function.
DockerResource describes a resource from docker daemon.
Fallback specifies optional fallback configuration for a resource.
File describes a file resource.
Group describes a group membership resource.
KubernetesAPIRequest defines it check applies to a single object or a list.
KubernetesResource describes any object in Kubernetes (incl.
KubeUnstructuredResource describes a Kubernetes Unstructured that implements the ReportResource interface.
Process describes a process resource.
RegoResource describes supported resource types observed by a Rego Rule.
RegoRule defines a rule in a compliance config.
Report contains the result of a compliance check.
ReportResource holds the id and type of the resource associated with a report.
Resource describes supported resource types observed by a Rule.
ResourceCommon describes the base fields of resource types.
RuleCommon defines the base fields of a rule in a compliance config.
ShellCmd describes a command to be run through a shell.
Suite represents a set of compliance checks reporting events.
SuiteMeta contains metadata for a compliance suite.
SuiteSchema defines versioning for a compliance suite.

# Interfaces

Rule defines an interface for rego and condition-fallback rules.

# Type aliases

Check is the interface for compliance checks.
CheckStatusList describes status for all configured checks.
CheckVisitor defines a visitor func for compliance checks.
ResourceKind represents resource kind.
RuleScope defines scope for applicability of a rule.
RuleScopeList is a set of RuleScopes.