Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 90 for auditID (0.23 sec)

  1. internal/logger/targets.go

    }
    
    // CurrentStats returns the current statistics.
    func CurrentStats() map[string]types.TargetStats {
    	sys := SystemTargets()
    	audit := AuditTargets()
    	res := make(map[string]types.TargetStats, len(sys)+len(audit))
    	cnt := make(map[string]int, len(sys)+len(audit))
    
    	// Add system and audit.
    	for _, t := range sys {
    		key := strings.ToLower(t.Type().String())
    		n := cnt[key]
    		cnt[key]++
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 03 15:44:50 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. cmd/bucket-lifecycle-audit.go

    Harshavardhana <******@****.***> 1701446184 -0800
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Dec 01 15:56:24 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/audit/policy/checker.go

    import (
    	"strings"
    
    	"k8s.io/apiserver/pkg/apis/audit"
    	auditinternal "k8s.io/apiserver/pkg/audit"
    	"k8s.io/apiserver/pkg/authorization/authorizer"
    )
    
    const (
    	// DefaultAuditLevel is the default level to audit at, if no policy rules are matched.
    	DefaultAuditLevel = audit.LevelNone
    )
    
    // NewPolicyRuleEvaluator creates a new policy rule evaluator.
    func NewPolicyRuleEvaluator(policy *audit.Policy) auditinternal.PolicyRuleEvaluator {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 02 22:24:14 UTC 2022
    - 6.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/apis/audit/validation/validation_test.go

    				audit.Stage("RequestReceived"),
    			},
    		},
    	}
    	successCases := []audit.Policy{}
    	for _, rule := range validRules {
    		successCases = append(successCases, audit.Policy{Rules: []audit.PolicyRule{rule}})
    	}
    	successCases = append(successCases, audit.Policy{})                         // Empty policy is valid.
    	successCases = append(successCases, audit.Policy{OmitStages: []audit.Stage{ // Policy with omitStages
    		audit.Stage("RequestReceived")}})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 02 07:48:42 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/endpoints/filters/audit_init_test.go

    			name: "user does not specify a value for Audit-ID in the request header",
    			newAuditIDFunc: func() string {
    				return "foo-bar-baz"
    			},
    			auditIDExpected: "foo-bar-baz",
    		},
    		{
    			name:             "the value in Audit-ID request header is too large, should not be truncated",
    			auditIDSpecified: largeAuditID,
    			auditIDExpected:  largeAuditID,
    		},
    		{
    			name: "the generated Audit-ID is too large, should not be truncated",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 14 23:04:35 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  6. 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)
  7. staging/src/k8s.io/apiserver/plugin/pkg/audit/truncate/truncate.go

    	utilerrors "k8s.io/apimachinery/pkg/util/errors"
    	auditinternal "k8s.io/apiserver/pkg/apis/audit"
    	"k8s.io/apiserver/pkg/audit"
    )
    
    const (
    	// PluginName is the name reported in error metrics.
    	PluginName = "truncate"
    
    	// annotationKey defines the name of the annotation used to indicate truncation.
    	annotationKey = "audit.k8s.io/truncated"
    	// annotationValue defines the value of the annotation used to indicate truncation.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 29 00:03:53 UTC 2022
    - 4.7K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top