From 3e9c8aaac689d9b0a11849b09aced266b48b3af8 Mon Sep 17 00:00:00 2001 From: "Dr. Stefan Schimanski" Date: Mon, 29 May 2017 13:24:21 +0200 Subject: [PATCH] audit-types: add Panic stage --- staging/src/k8s.io/apiserver/pkg/apis/audit/types.go | 2 ++ staging/src/k8s.io/apiserver/pkg/apis/audit/v1alpha1/types.go | 2 ++ 2 files changed, 4 insertions(+) diff --git a/staging/src/k8s.io/apiserver/pkg/apis/audit/types.go b/staging/src/k8s.io/apiserver/pkg/apis/audit/types.go index 47ed85d615c..0ca857678ce 100644 --- a/staging/src/k8s.io/apiserver/pkg/apis/audit/types.go +++ b/staging/src/k8s.io/apiserver/pkg/apis/audit/types.go @@ -61,6 +61,8 @@ const ( // The stage for events generated once the response body has been completed, and no more bytes // will be sent. StageResponseComplete = "ResponseComplete" + // The stage for events generated when a panic occured. + StagePanic = "Panic" ) // Event captures all the information that can be included in an API audit log. diff --git a/staging/src/k8s.io/apiserver/pkg/apis/audit/v1alpha1/types.go b/staging/src/k8s.io/apiserver/pkg/apis/audit/v1alpha1/types.go index 33886a6e426..a08e55da83a 100644 --- a/staging/src/k8s.io/apiserver/pkg/apis/audit/v1alpha1/types.go +++ b/staging/src/k8s.io/apiserver/pkg/apis/audit/v1alpha1/types.go @@ -62,6 +62,8 @@ const ( // The stage for events generated once the response body has been completed, and no more bytes // will be sent. StageResponseComplete = "ResponseComplete" + // The stage for events generated when a panic occured. + StagePanic = "Panic" ) // Event captures all the information that can be included in an API audit log.