- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 68 for auditID (0.13 sec)
-
staging/src/k8s.io/apiserver/plugin/pkg/audit/webhook/webhook.go
*/ // Package webhook implements the audit.Backend interface using HTTP webhooks. package webhook import ( "context" "fmt" "time" "go.opentelemetry.io/otel/attribute" "k8s.io/apimachinery/pkg/runtime/schema" utilnet "k8s.io/apimachinery/pkg/util/net" "k8s.io/apimachinery/pkg/util/wait" auditinternal "k8s.io/apiserver/pkg/apis/audit" "k8s.io/apiserver/pkg/apis/audit/install" "k8s.io/apiserver/pkg/audit"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 07 21:13:31 UTC 2022 - 4.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/audit/policy/reader_test.go
"reflect" "strings" "testing" "k8s.io/apiserver/pkg/apis/audit" // import to call webhook's init() function to register audit.Policy to schema _ "k8s.io/apiserver/plugin/pkg/audit/webhook" "github.com/google/go-cmp/cmp" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) const policyDefPattern = ` apiVersion: audit.k8s.io/{version} kind: Policy rules: - level: None
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:46:12 UTC 2023 - 4.2K bytes - Viewed (0) -
internal/logger/message/audit/entry.go
package audit import ( "net/http" "strings" "time" "github.com/minio/pkg/v3/logger/message/audit" "github.com/minio/minio/internal/handlers" xhttp "github.com/minio/minio/internal/http" ) // Version - represents the current version of audit log structure. const Version = "1" // NewEntry - constructs an audit entry object with some fields filled
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 2.2K bytes - Viewed (0) -
docs/auditlog/auditlog-echo.md
1. Run the tool with: ``` go run docs/auditlog/auditlog-echo.go ``` The listen port has a default value (8080), but can be set with the `-port` flag. 2. Configure audit logging in MinIO with for example: ``` mc admin config set myminio audit_webhook enable=on endpoint=http://localhost:8080 ```
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 01 21:31:13 UTC 2024 - 447 bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/audit_test.go
limitations under the License. */ package admission import ( "context" "fmt" "sync" "testing" "k8s.io/apimachinery/pkg/runtime/schema" auditinternal "k8s.io/apiserver/pkg/apis/audit" "k8s.io/apiserver/pkg/audit" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) // fakeHandler implements Interface type fakeHandler struct { // return value of Admit() admit error
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 03 16:16:51 UTC 2023 - 5.8K bytes - Viewed (0) -
src/main/resources/log4j2.xml
</Delete> </DefaultRolloverStrategy> </RollingFile> <RollingFile name="AuditFile" fileName="${log.file.basedir}/audit.log" filePattern="${log.file.basedir}/audit${backup.date.suffix}-%i.log.gz"> <PatternLayout> <Pattern>${audit.log.pattern}</Pattern> </PatternLayout> <Policies> <TimeBasedTriggeringPolicy /> <SizeBasedTriggeringPolicy size="100 MB" /> </Policies>
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Mon Feb 20 13:17:33 UTC 2023 - 3.7K bytes - Viewed (0) -
internal/logger/help.go
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Mar 07 20:17:46 UTC 2024 - 6.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/audit/context_test.go
} func TestAuditAnnotationsWithAuditLoggingSetup(t *testing.T) { // No audit context data in the request context ctx := context.Background() AddAuditAnnotation(ctx, "nil", "0") // initialize audit context, policy not evaluated yet ctx = WithAuditContext(ctx) AddAuditAnnotation(ctx, "before-evaluation", "1") // policy evaluated, audit logging enabled if ac := AuditContextFrom(ctx); ac != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 03 16:16:51 UTC 2023 - 5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/filters/authn_audit.go
auditinternal "k8s.io/apiserver/pkg/apis/audit" "k8s.io/apiserver/pkg/audit" "k8s.io/apiserver/pkg/endpoints/handlers/responsewriters" ) // WithFailedAuthenticationAudit decorates a failed http.Handler used in WithAuthentication handler. // It is meant to log only failed authentication requests. func WithFailedAuthenticationAudit(failedHandler http.Handler, sink audit.Sink, policy audit.PolicyRuleEvaluator) http.Handler {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 03 16:16:51 UTC 2023 - 2.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/filters/authorization.go
"net/http" "time" "k8s.io/klog/v2" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apiserver/pkg/audit" "k8s.io/apiserver/pkg/authorization/authorizer" "k8s.io/apiserver/pkg/endpoints/handlers/responsewriters" "k8s.io/apiserver/pkg/endpoints/request" ) const ( // Annotation key names set in advanced audit decisionAnnotationKey = "authorization.k8s.io/decision" reasonAnnotationKey = "authorization.k8s.io/reason"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 20 13:35:55 UTC 2023 - 3.8K bytes - Viewed (0)