Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 67 for auditing (0.26 sec)

  1. staging/src/k8s.io/api/admission/v1/types.go

    	// The UID is meant to track the round trip (request/response) between the KAS and the WebHook, not the user request.
    	// It is suitable for correlating log entries between the webhook and apiserver, for either auditing or debugging.
    	UID types.UID `json:"uid" protobuf:"bytes,1,opt,name=uid"`
    	// Kind is the fully-qualified type of object being submitted (for example, v1.Pod or autoscaling.v1.Scale)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  2. docs/auditlog/auditlog-echo.md

    # `auditlog-echo`: A tool to view MinIO Audit logs on the console
    
    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)
  3. docs/auditlog/auditlog-echo.go

    Aditya Manthramurthy <******@****.***> 1714599073 -0700
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 01 21:31:13 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/endpoints/filters/audit_init.go

    		ctx := audit.WithAuditContext(r.Context())
    		r = r.WithContext(ctx)
    
    		auditID := r.Header.Get(auditinternal.HeaderAuditID)
    		if len(auditID) == 0 {
    			auditID = newAuditIDFunc()
    		}
    
    		// Note: we save the user specified value of the Audit-ID header as is, no truncation is performed.
    		audit.WithAuditID(ctx, types.UID(auditID))
    
    		// We echo the Audit-ID in to the response header.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 14 23:04:35 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  5. cmd/kms-handlers.go

    	"github.com/minio/pkg/v3/policy"
    )
    
    // KMSStatusHandler - GET /minio/kms/v1/status
    func (a kmsAPIHandlers) KMSStatusHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "KMSStatus")
    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    	objectAPI, _ := validateAdminReq(ctx, w, r, policy.KMSStatusAction)
    	if objectAPI == nil {
    		return
    	}
    
    	if GlobalKMS == nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/plugin/pkg/audit/log/backend_test.go

    	install.Install(audit.Scheme)
    }
    
    func TestLogEventsLegacy(t *testing.T) {
    	for _, test := range []struct {
    		event    *auditinternal.Event
    		expected string
    	}{
    		{
    			&auditinternal.Event{
    				AuditID: types.UID(uuid.New().String()),
    			},
    			`[\d\:\-\.\+TZ]+ AUDIT: id="[\w-]+" stage="" ip="<unknown>" method="" user="<none>" groups="<none>" as="<self>" asgroups="<lookup>" user-agent="" namespace="<none>" uri="" response="<deferred>"`,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 08 06:37:26 UTC 2022
    - 5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/audit/request.go

    			klog.ErrorS(err, "Error while dropping managed fields from the response", "auditID", ae.AuditID)
    		}
    		if ok {
    			obj = copy
    		}
    	}
    
    	// TODO(audit): hook into the serializer to avoid double conversion
    	var err error
    	ae.ResponseObject, err = encodeObject(obj, gv, s)
    	if err != nil {
    		klog.ErrorS(err, "Encoding failed of response object", "auditID", ae.AuditID, "obj", obj)
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 03 16:16:51 UTC 2023
    - 9K bytes
    - Viewed (0)
  8. cmd/dummy-handlers.go

    // GetBucketWebsite  - GET bucket website, a dummy api
    func (api objectAPIHandlers) GetBucketWebsiteHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "GetBucketWebsite")
    
    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    
    	vars := mux.Vars(r)
    	bucket := vars["bucket"]
    
    	objAPI := api.ObjectAPI()
    	if objAPI == nil {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrServerNotInitialized), r.URL)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  9. releasenotes/notes/48882.yaml

    apiVersion: release-notes/v2
    kind: bug-fix
    area: telemetry
    releaseNotes:
      - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:30 UTC 2024
    - 216 bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/audit/union_test.go

    			t.Errorf("backend %d wanted %d events, got %d", i, n, got)
    			continue
    		}
    		for j, event := range backend.events {
    			wantID := types.UID(strconv.Itoa(j))
    			if event.AuditID != wantID {
    				t.Errorf("backend %d event %d wanted id %s, got %s", i, j, wantID, event.AuditID)
    			}
    		}
    	}
    }
    
    type cannotMultipleRunBackend struct {
    	started chan struct{}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 20 09:51:25 UTC 2022
    - 2.6K bytes
    - Viewed (0)
Back to top