Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 90 for auditID (0.17 sec)

  1. 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)
  2. staging/src/k8s.io/apiserver/pkg/audit/OWNERS

    # See the OWNERS docs at https://go.k8s.io/owners
    
    approvers:
      - sig-auth-audit-approvers
    reviewers:
      - sig-auth-audit-reviewers
    labels:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 10 02:31:26 UTC 2021
    - 152 bytes
    - Viewed (0)
  3. 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)
  4. internal/logger/help.go

    			Optional:    true,
    			Type:        "number",
    		},
    		config.HelpKV{
    			Key:         QueueDir,
    			Description: `staging dir for undelivered audit messages e.g. '/home/audit-events'`,
    			Optional:    true,
    			Type:        "string",
    		},
    		config.HelpKV{
    			Key:         config.Comment,
    			Description: config.DefaultComment,
    			Optional:    true,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Mar 07 20:17:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  5. 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)
  6. staging/src/k8s.io/apiserver/plugin/pkg/audit/OWNERS

    # See the OWNERS docs at https://go.k8s.io/owners
    
    approvers:
      - sig-auth-audit-approvers
    reviewers:
      - sig-auth-audit-reviewers
    labels:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 10 02:31:26 UTC 2021
    - 152 bytes
    - Viewed (0)
  7. 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)
  8. staging/src/k8s.io/apiserver/plugin/pkg/audit/buffered/buffered.go

    	"k8s.io/apimachinery/pkg/util/runtime"
    	"k8s.io/apimachinery/pkg/util/wait"
    	auditinternal "k8s.io/apiserver/pkg/apis/audit"
    	"k8s.io/apiserver/pkg/audit"
    	"k8s.io/client-go/util/flowcontrol"
    )
    
    // PluginName is the name reported in error metrics.
    const PluginName = "buffered"
    
    // BatchConfig represents batching delegate audit backend configuration.
    type BatchConfig struct {
    	// BufferSize defines a size of the buffering queue.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 9.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/apis/audit/install/install.go

    import (
    	"k8s.io/apimachinery/pkg/runtime"
    	utilruntime "k8s.io/apimachinery/pkg/util/runtime"
    	"k8s.io/apiserver/pkg/apis/audit"
    	"k8s.io/apiserver/pkg/apis/audit/v1"
    )
    
    // Install registers the API group and adds types to a scheme
    func Install(scheme *runtime.Scheme) {
    	utilruntime.Must(audit.AddToScheme(scheme))
    	utilruntime.Must(v1.AddToScheme(scheme))
    	utilruntime.Must(scheme.SetVersionPriority(v1.SchemeGroupVersion))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 08 06:37:26 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/audit/scheme.go

    // TODO: Delete this file if we generate a clientset.
    package audit
    
    import (
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/runtime/schema"
    	"k8s.io/apimachinery/pkg/runtime/serializer"
    	utilruntime "k8s.io/apimachinery/pkg/util/runtime"
    	auditinternal "k8s.io/apiserver/pkg/apis/audit"
    	"k8s.io/apiserver/pkg/apis/audit/v1"
    )
    
    var Scheme = runtime.NewScheme()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 08 06:37:26 UTC 2022
    - 1.3K bytes
    - Viewed (0)
Back to top