Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 273 for auditID (0.15 sec)

  1. cmd/kube-apiserver/app/options/options_test.go

    		"--audit-log-truncate-max-batch-size=45",
    		"--audit-log-truncate-max-event-size=44",
    		"--audit-log-version=audit.k8s.io/v1",
    		"--audit-policy-file=/policy",
    		"--audit-webhook-config-file=/webhook-config",
    		"--audit-webhook-mode=blocking",
    		"--audit-webhook-batch-buffer-size=42",
    		"--audit-webhook-batch-max-size=43",
    		"--audit-webhook-batch-max-wait=1s",
    		"--audit-webhook-batch-throttle-enable=false",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:57:37 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/apis/audit/validation/validation.go

    }
    
    var validLevels = []string{
    	string(audit.LevelNone),
    	string(audit.LevelMetadata),
    	string(audit.LevelRequest),
    	string(audit.LevelRequestResponse),
    }
    
    var validOmitStages = []string{
    	string(audit.StageRequestReceived),
    	string(audit.StageResponseStarted),
    	string(audit.StageResponseComplete),
    	string(audit.StagePanic),
    }
    
    func validateLevel(level audit.Level, fldPath *field.Path) field.ErrorList {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 15 14:13:07 UTC 2019
    - 4.6K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. staging/src/k8s.io/apiserver/plugin/pkg/audit/buffered/doc.go

    limitations under the License.
    */
    
    // Package buffered provides an implementation for the audit.Backend interface
    // that batches incoming audit events and sends batches to the delegate audit.Backend.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 22 18:40:46 UTC 2018
    - 809 bytes
    - Viewed (0)
  7. 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)
  8. cluster/gce/gci/configure-kubeapiserver.sh

        if [[ "${ADVANCED_AUDIT_BACKEND:-log}" == *"log"* ]]; then
          # The advanced audit log backend config matches the basic audit log config.
          params+=" --audit-log-path=/var/log/kube-apiserver-audit.log"
          params+=" --audit-log-maxage=0"
          params+=" --audit-log-maxbackup=0"
          # Lumberjack doesn't offer any way to disable size-based rotation. It also
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 11:08:30 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/plugin/pkg/audit/log/backend.go

    }
    
    type backend struct {
    	out     io.Writer
    	format  string
    	encoder runtime.Encoder
    }
    
    var _ audit.Backend = &backend{}
    
    func NewBackend(out io.Writer, format string, groupVersion schema.GroupVersion) audit.Backend {
    	return &backend{
    		out:     out,
    		format:  format,
    		encoder: audit.Codecs.LegacyCodec(groupVersion),
    	}
    }
    
    func (b *backend) ProcessEvents(events ...*auditinternal.Event) bool {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 03 14:38:47 UTC 2019
    - 2.4K bytes
    - Viewed (0)
  10. cluster/gce/gci/audit_policy_test.go

    limitations under the License.
    */
    
    package gci
    
    import (
    	"fmt"
    	"os"
    	"path/filepath"
    	"testing"
    
    	"k8s.io/apiserver/pkg/apis/audit"
    	auditinstall "k8s.io/apiserver/pkg/apis/audit/install"
    	auditpkg "k8s.io/apiserver/pkg/audit"
    	auditpolicy "k8s.io/apiserver/pkg/audit/policy"
    	"k8s.io/apiserver/pkg/authentication/serviceaccount"
    	"k8s.io/apiserver/pkg/authentication/user"
    	"k8s.io/apiserver/pkg/authorization/authorizer"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Oct 30 06:23:50 UTC 2021
    - 9.8K bytes
    - Viewed (0)
Back to top