- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 118 for auditID (0.19 sec)
-
staging/src/k8s.io/apiserver/plugin/pkg/audit/fake/fake.go
limitations under the License. */ package fake import ( auditinternal "k8s.io/apiserver/pkg/apis/audit" "k8s.io/apiserver/pkg/audit" ) var _ audit.Backend = &Backend{} // Backend is a fake audit backend for testing purposes. type Backend struct { OnRequest func(events []*auditinternal.Event) } // Run does nothing.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 16 09:32:49 UTC 2018 - 1.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/audit/types.go
See the License for the specific language governing permissions and limitations under the License. */ package audit import ( auditinternal "k8s.io/apiserver/pkg/apis/audit" ) type Sink interface { // ProcessEvents handles events. Per audit ID it might be that ProcessEvents is called up to three times. // Errors might be logged by the sink itself. If an error should be fatal, leading to an internal
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 16 09:32:49 UTC 2018 - 1.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/policy_decision.go
const ( // AuditAnnotationActionPublish indicates that the audit annotation should be // published with the audit event. AuditAnnotationActionPublish PolicyAuditAnnotationAction = "publish" // AuditAnnotationActionError indicates that the valueExpression resulted // in an error. AuditAnnotationActionError PolicyAuditAnnotationAction = "error" // AuditAnnotationActionExclude indicates that the audit annotation should be excluded
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 12 18:58:24 UTC 2024 - 2.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/audit/union.go
See the License for the specific language governing permissions and limitations under the License. */ package audit import ( "fmt" "strings" "k8s.io/apimachinery/pkg/util/errors" auditinternal "k8s.io/apiserver/pkg/apis/audit" ) // Union returns an audit Backend which logs events to a set of backends. The returned // Sink implementation blocks in turn for each call to ProcessEvents.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 20 09:51:25 UTC 2022 - 1.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/filters/authn_audit_test.go
limitations under the License. */ package filters import ( "crypto/tls" "crypto/x509" "net/http" "net/http/httptest" "strings" "testing" auditinternal "k8s.io/apiserver/pkg/apis/audit" "k8s.io/apiserver/pkg/audit/policy" ) func TestFailedAuthnAudit(t *testing.T) { sink := &fakeAuditSink{} fakeRuleEvaluator := policy.NewFakePolicyRuleEvaluator(auditinternal.LevelRequestResponse, nil)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Aug 12 21:42:41 UTC 2021 - 5.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/plugin/pkg/audit/fake/doc.go
See the License for the specific language governing permissions and limitations under the License. */ // Package fake provides a fake audit.Backend interface implementation for testing.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 10 17:16:18 UTC 2018 - 719 bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/interfaces.go
// By default, an annotation gets logged into audit event if the request's audit level is greater or // equal to Metadata. AddAnnotation(key, value string) error // AddAnnotationWithLevel sets annotation according to key-value pair with additional intended audit level. // An Annotation gets logged into audit event if the request's audit level is greater or equal to the // intended audit level.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 28 14:03:18 UTC 2021 - 8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authentication/token/cache/cached_token_authenticator.go
} recorder := &recorder{} ctx = warning.WithWarningRecorder(ctx, recorder) ctx = audit.WithAuditContext(ctx) ac := audit.AuditContextFrom(ctx) // since this is shared work between multiple requests, we have no way of knowing if any // particular request supports audit annotations. thus we always attempt to record them. ac.Event.Level = auditinternal.LevelMetadata
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 03 16:16:51 UTC 2023 - 9.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/audit/register.go
See the License for the specific language governing permissions and limitations under the License. */ package audit import ( "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime/schema" ) // GroupName is the group name use in this package const GroupName = "audit.k8s.io" // SchemeGroupVersion is group version used to register these objects
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 10 17:25:26 UTC 2017 - 1.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/options/recommended.go
type RecommendedOptions struct { Etcd *EtcdOptions SecureServing *SecureServingOptionsWithLoopback Authentication *DelegatingAuthenticationOptions Authorization *DelegatingAuthorizationOptions Audit *AuditOptions Features *FeatureOptions CoreAPI *CoreAPIOptions // FeatureGate is a way to plumb feature gate through if you have them. FeatureGate featuregate.FeatureGate
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 22 18:51:27 UTC 2024 - 6K bytes - Viewed (0)