create Auditregistration V1alpha1Audit Sink

POST {{baseUrl}}/apis/auditregistration.k8s.io/v1alpha1/auditsinks?dryRun=<string>&fieldManager=<string>&pretty=<string>

create an AuditSink

Request Params

KeyDatatypeRequiredDescription
dryRunstringWhen present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
fieldManagerstringfieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.
prettystringIf 'true', then the output is pretty printed.

Request Body

{"apiVersion"=>"<string>", "kind"=>"<string>", "metadata"=>{"annotations"=>{}, "clusterName"=>"cillum ullamco", "creationTimestamp"=>"1947-04-25T12:30:05.247Z", "deletionGracePeriodSeconds"=>-32889143, "deletionTimestamp"=>"1958-08-07T23:58:24.852Z", "finalizers"=>["Duis dolor nisi ea", "dolor velit Excepteur elit"], "generateName"=>"quis ipsu", "generation"=>40414288, "labels"=>{}, "managedFields"=>[{"apiVersion"=>"sit magna est ex voluptate", "fieldsType"=>"nisi sunt Ut occaecat do", "fieldsV1"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "manager"=>"ex", "operation"=>"laboris ut", "time"=>"1945-07-23T13:06:07.659Z"}, {"apiVersion"=>"in adipisicing Lorem ut", "fieldsType"=>"nostrud incididunt", "fieldsV1"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "manager"=>"eiusmod nostrud", "operation"=>"in ex cupidatat", "time"=>"2000-08-02T08:12:49.943Z"}], "name"=>"eu quis reprehenderit nulla", "namespace"=>"cillum", "ownerReferences"=>[{"apiVersion"=>"aliqua fugiat non", "kind"=>"elit cillum velit irure", "name"=>"dolor qui dolore ullamco aliqua", "uid"=>"consectetur", "blockOwnerDeletion"=>false, "controller"=>true}, {"apiVersion"=>"ullamco exercitation", "kind"=>"eiusmod", "name"=>"consequat occaecat", "uid"=>"id consectetur voluptate dolore sunt", "blockOwnerDeletion"=>true, "controller"=>true}], "resourceVersion"=>"eiusmod magna exercitation incididunt", "selfLink"=>"velit aute", "uid"=>"elit Ut ex et esse"}, "spec"=>{"policy"=>{"level"=>"incididunt quis", "stages"=>["Lorem quis anim", "veniam officia proident ut"]}, "webhook"=>{"clientConfig"=>{"caBundle"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "service"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "url"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "throttle"=>{"burst"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "qps"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}}}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{&quot;apiVersion&quot;:&quot;\u003cstring\u003e&quot;,&quot;kind&quot;:&quot;\u003cstring\u003e&quot;,&quot;metadata&quot;:{&quot;annotations&quot;:{},&quot;clusterName&quot;:&quot;laborum ullamco deserunt&quot;,&quot;creationTimestamp&quot;:&quot;2019-02-27T13:09:20.083Z&quot;,&quot;deletionGracePeriodSeconds&quot;:10333541,&quot;deletionTimestamp&quot;:&quot;1984-08-27T23:40:25.564Z&quot;,&quot;finalizers&quot;:[&quot;ea Lorem occaecat&quot;,&quot;cillum id dolor tempor&quot;],&quot;generateName&quot;:&quot;voluptate aliquip eu&quot;,&quot;generation&quot;:-54408780,&quot;labels&quot;:{},&quot;managedFields&quot;:[{&quot;apiVersion&quot;:&quot;laboris est minim&quot;,&quot;fieldsType&quot;:&quot;Ut in Exc&quot;,&quot;fieldsV1&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;manager&quot;:&quot;cupidatat nisi aute sint non&quot;,&quot;operation&quot;:&quot;dolor amet dolore&quot;,&quot;time&quot;:&quot;1953-03-23T16:18:54.114Z&quot;},{&quot;apiVersion&quot;:&quot;fugiat ut et sit&quot;,&quot;fieldsType&quot;:&quot;Ut dolore irure nul&quot;,&quot;fieldsV1&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;manager&quot;:&quot;quis et sint ullamco&quot;,&quot;operation&quot;:&quot;exercitation in&quot;,&quot;time&quot;:&quot;2017-04-30T05:01:29.263Z&quot;}],&quot;name&quot;:&quot;aliquip&quot;,&quot;namespace&quot;:&quot;reprehenderit ut in aliqua&quot;,&quot;ownerReferences&quot;:[{&quot;apiVersion&quot;:&quot;sint sed&quot;,&quot;kind&quot;:&quot;exercitation cillum nisi dolor&quot;,&quot;name&quot;:&quot;id occaecat aliquip commodo&quot;,&quot;uid&quot;:&quot;sed mollit&quot;,&quot;blockOwnerDeletion&quot;:false,&quot;controller&quot;:true},{&quot;apiVersion&quot;:&quot;nulla officia ipsum mollit&quot;,&quot;kind&quot;:&quot;Lorem consectetur quis&quot;,&quot;name&quot;:&quot;ipsum&quot;,&quot;uid&quot;:&quot;sed velit minim ex&quot;,&quot;blockOwnerDeletion&quot;:true,&quot;controller&quot;:false}],&quot;resourceVersion&quot;:&quot;dolore&quot;,&quot;selfLink&quot;:&quot;aliqua enim&quot;,&quot;uid&quot;:&quot;reprehenderit cillum&quot;},&quot;spec&quot;:{&quot;policy&quot;:{&quot;level&quot;:&quot;amet sit qui&quot;,&quot;stages&quot;:[&quot;dolore velit laborum labore sed&quot;,&quot;et&quot;]},&quot;webhook&quot;:{&quot;clientConfig&quot;:{&quot;caBundle&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;service&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;url&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},&quot;throttle&quot;:{&quot;burst&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;qps&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}}}}}