Package org.apache.hadoop.fs.s3a.audit
Class S3AAuditConstants
java.lang.Object
org.apache.hadoop.fs.s3a.audit.S3AAuditConstants
@LimitedPrivate("S3A auditing extensions")
@Unstable
public final class S3AAuditConstants
extends Object
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringIs auditing enabled?static final booleanDefault auditing flag.static final StringList of extra AWS SDK execution interceptors: "fs.s3a.audit.execution.interceptors".static final StringDeprecated list of extra AWS SDK request handlers: "fs.s3a.audit.request.handlers".static final StringName of class used for audit logs: "fs.s3a.audit.service.classname".static final StringSpan name used during initialization.static final StringClassname of the logging auditor: "org.apache.hadoop.fs.s3a.audit.impl.LoggingAuditor".static final StringClassname of the No-op auditor: "org.apache.hadoop.fs.s3a.audit.impl.NoopAuditor".static final StringOperation name for any operation outside of an explicit span.static final StringShould the logging auditor add the HTTP Referrer header?static final booleanShould the logging auditor add the HTTP Referrer header?static final StringList of audit fields to strip from referrer headers.static final StringShould operations outside spans be rejected?static final StringWhat to look for in logs for ops outside any audit. -
Method Summary
-
Field Details
-
UNAUDITED_OPERATION
What to look for in logs for ops outside any audit. "unaudited operation".- See Also:
-
AUDIT_ENABLED
Is auditing enabled? Value: "fs.s3a.audit.enabled".- See Also:
-
AUDIT_ENABLED_DEFAULT
public static final boolean AUDIT_ENABLED_DEFAULTDefault auditing flag. Value: true.- See Also:
-
AUDIT_SERVICE_CLASSNAME
Name of class used for audit logs: "fs.s3a.audit.service.classname".- See Also:
-
LOGGING_AUDIT_SERVICE
Classname of the logging auditor: "org.apache.hadoop.fs.s3a.audit.impl.LoggingAuditor".- See Also:
-
NOOP_AUDIT_SERVICE
Classname of the No-op auditor: "org.apache.hadoop.fs.s3a.audit.impl.NoopAuditor".- See Also:
-
AUDIT_REQUEST_HANDLERS
Deprecated list of extra AWS SDK request handlers: "fs.s3a.audit.request.handlers". UseAUDIT_EXECUTION_INTERCEPTORSinstead.- See Also:
-
AUDIT_EXECUTION_INTERCEPTORS
List of extra AWS SDK execution interceptors: "fs.s3a.audit.execution.interceptors". These are added to the SDK request chain after any audit service.- See Also:
-
REJECT_OUT_OF_SPAN_OPERATIONS
Should operations outside spans be rejected? This is for testing coverage of the span code; if used in production there's a risk of unexpected failures. "fs.s3a.audit.reject.out.of.span.operations".- See Also:
-
REFERRER_HEADER_ENABLED
Should the logging auditor add the HTTP Referrer header? "fs.s3a.audit.referrer.enabled".- See Also:
-
REFERRER_HEADER_ENABLED_DEFAULT
public static final boolean REFERRER_HEADER_ENABLED_DEFAULTShould the logging auditor add the HTTP Referrer header? Default value: true.- See Also:
-
REFERRER_HEADER_FILTER
List of audit fields to strip from referrer headers. "fs.s3a.audit.referrer.filter".- See Also:
-
INITIALIZE_SPAN
Span name used during initialization.- See Also:
-
OUTSIDE_SPAN
Operation name for any operation outside of an explicit span.- See Also:
-