forked from cloud-ark/kubeprovenance
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
I fixed types.go, readded kind_compositions because need the kindMap …
…for the rest api endpoints, and now I'm getting a problem with how my container is built. cannot panic: stat kube-apiserver-audit.log: no such file or directory
- Loading branch information
Showing
7 changed files
with
252 additions
and
491 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{"kind":"Event","apiVersion":"audit.k8s.io/v1beta1","metadata":{"creationTimestamp":"2018-08-05T00:16:20Z"},"level":"Request","timestamp":"2018-08-05T00:16:20Z","auditID":"99b27a2b-e320-4ca7-94bf-9a3a080cb2f2","stage":"ResponseComplete","requestURI":"/apis/postgrescontroller.kubeplus/v1/namespaces/default/postgreses","verb":"create","user":{"username":"system:admin","groups":["system:masters","system:authenticated"]},"sourceIPs":["127.0.0.1"],"userAgent":"kubectl/v1.12.0 (linux/amd64) kubernetes/f1b6611","objectRef":{"resource":"postgreses","namespace":"default","apiGroup":"postgrescontroller.kubeplus","apiVersion":"v1"},"responseStatus":{"metadata":{},"code":201},"requestObject":{"apiVersion":"postgrescontroller.kubeplus/v1","kind":"Postgres","metadata":{"creationTimestamp":null,"name":"client25","namespace":"default"},"spec":{"databases":["moodle"],"deploymentName":"client25","image":"postgres:9.3","initcommands":["\\c moodle;","create table moodle_data1 (items varchar(250));","insert into moodle_data1 (items) values ('Moodle data1');","insert into moodle_data1 (items) values ('Moodle data1');","insert into moodle_data1 (items) values ('Moodle data2');","GRANT ALL PRIVILEGES ON TABLE moodle_data1 TO devdatta;","GRANT ALL PRIVILEGES ON TABLE moodle_data1 TO pallavi;"],"replicas":1,"users":[{"password":"pass123","username":"devdatta"},{"password":"pass234","username":"pallavi"}]}},"requestReceivedTimestamp":"2018-08-05T00:16:20.176744Z","stageTimestamp":"2018-08-05T00:16:20.180766Z","annotations":{"authorization.k8s.io/decision":"allow","authorization.k8s.io/reason":""}} | ||
{"kind":"Event","apiVersion":"audit.k8s.io/v1beta1","metadata":{"creationTimestamp":"2018-08-05T00:16:46Z"},"level":"Request","timestamp":"2018-08-05T00:16:46Z","auditID":"e20539e0-d8a6-40b8-88e0-2592f1f4ac0c","stage":"ResponseComplete","requestURI":"/apis/postgrescontroller.kubeplus/v1/namespaces/default/postgreses/client25","verb":"patch","user":{"username":"system:admin","groups":["system:masters","system:authenticated"]},"sourceIPs":["127.0.0.1"],"userAgent":"kubectl/v1.12.0 (linux/amd64) kubernetes/f1b6611","objectRef":{"resource":"postgreses","namespace":"default","name":"client25","apiGroup":"postgrescontroller.kubeplus","apiVersion":"v1"},"responseStatus":{"metadata":{},"code":200},"requestObject":{"metadata":{"annotations":{"kubectl.kubernetes.io/last-applied-configuration":"{\"apiVersion\":\"postgrescontroller.kubeplus/v1\",\"kind\":\"Postgres\",\"metadata\":{\"annotations\":{},\"name\":\"client25\",\"namespace\":\"default\"},\"spec\":{\"databases\":[\"moodle\",\"wordpress\",\"ecommerce\"],\"deploymentName\":\"client25\",\"image\":\"postgres:9.3\",\"replicas\":1,\"users\":[{\"password\":\"pass123\",\"username\":\"devdatta\"},{\"password\":\"pass234\",\"username\":\"pallavi\"}]}}\n"}},"spec":{"databases":["moodle","wordpress","ecommerce"]}},"requestReceivedTimestamp":"2018-08-05T00:16:46.921618Z","stageTimestamp":"2018-08-05T00:16:46.923885Z","annotations":{"authorization.k8s.io/decision":"allow","authorization.k8s.io/reason":""}} | ||
{"kind":"Event","apiVersion":"audit.k8s.io/v1beta1","metadata":{"creationTimestamp":"2018-08-05T00:16:51Z"},"level":"Request","timestamp":"2018-08-05T00:16:51Z","auditID":"68551497-6eca-4d6a-afc7-16d5909bfd78","stage":"ResponseComplete","requestURI":"/apis/postgrescontroller.kubeplus/v1/namespaces/default/postgreses/client25","verb":"patch","user":{"username":"system:admin","groups":["system:masters","system:authenticated"]},"sourceIPs":["127.0.0.1"],"userAgent":"kubectl/v1.12.0 (linux/amd64) kubernetes/f1b6611","objectRef":{"resource":"postgreses","namespace":"default","name":"client25","apiGroup":"postgrescontroller.kubeplus","apiVersion":"v1"},"responseStatus":{"metadata":{},"code":200},"requestObject":{"metadata":{"annotations":{"kubectl.kubernetes.io/last-applied-configuration":"{\"apiVersion\":\"postgrescontroller.kubeplus/v1\",\"kind\":\"Postgres\",\"metadata\":{\"annotations\":{},\"name\":\"client25\",\"namespace\":\"default\"},\"spec\":{\"databases\":[\"moodle\",\"wordpress\"],\"deploymentName\":\"client25\",\"image\":\"postgres:9.3\",\"replicas\":1,\"users\":[{\"password\":\"pass123\",\"username\":\"devdatta\"},{\"password\":\"pass234\",\"username\":\"pallavi\"}]}}\n"}},"spec":{"databases":["moodle","wordpress"]}},"requestReceivedTimestamp":"2018-08-05T00:16:51.839690Z","stageTimestamp":"2018-08-05T00:16:51.841691Z","annotations":{"authorization.k8s.io/decision":"allow","authorization.k8s.io/reason":""}} | ||
{"kind":"Event","apiVersion":"audit.k8s.io/v1beta1","metadata":{"creationTimestamp":"2018-08-05T00:17:12Z"},"level":"Request","timestamp":"2018-08-05T00:17:12Z","auditID":"fa44d2d5-f13e-4ff3-8e32-f4e693546f7a","stage":"ResponseComplete","requestURI":"/apis/postgrescontroller.kubeplus/v1/namespaces/default/postgreses/client25","verb":"patch","user":{"username":"system:admin","groups":["system:masters","system:authenticated"]},"sourceIPs":["127.0.0.1"],"userAgent":"kubectl/v1.12.0 (linux/amd64) kubernetes/f1b6611","objectRef":{"resource":"postgreses","namespace":"default","name":"client25","apiGroup":"postgrescontroller.kubeplus","apiVersion":"v1"},"responseStatus":{"metadata":{},"code":200},"requestObject":{"metadata":{"annotations":{"kubectl.kubernetes.io/last-applied-configuration":"{\"apiVersion\":\"postgrescontroller.kubeplus/v1\",\"kind\":\"Postgres\",\"metadata\":{\"annotations\":{},\"name\":\"client25\",\"namespace\":\"default\"},\"spec\":{\"databases\":[\"moodle\",\"wordpress\"],\"deploymentName\":\"client25\",\"image\":\"postgres:9.3\",\"replicas\":1,\"users\":[{\"password\":\"pass123\",\"username\":\"devdatta\"},{\"password\":\"pass234\",\"username\":\"pallavi\"},{\"password\":\"pass1\",\"username\":\"shrinivas\"}]}}\n"}},"spec":{"users":[{"password":"pass123","username":"devdatta"},{"password":"pass234","username":"pallavi"},{"password":"pass1","username":"shrinivas"}]}},"requestReceivedTimestamp":"2018-08-05T00:17:12.759670Z","stageTimestamp":"2018-08-05T00:17:12.761817Z","annotations":{"authorization.k8s.io/decision":"allow","authorization.k8s.io/reason":""}} | ||
{"kind":"Event","apiVersion":"audit.k8s.io/v1beta1","metadata":{"creationTimestamp":"2018-08-05T00:17:20Z"},"level":"Request","timestamp":"2018-08-05T00:17:20Z","auditID":"0edc056d-c370-4f29-b41c-ee584fc54c53","stage":"ResponseComplete","requestURI":"/apis/postgrescontroller.kubeplus/v1/namespaces/default/postgreses/client25","verb":"patch","user":{"username":"system:admin","groups":["system:masters","system:authenticated"]},"sourceIPs":["127.0.0.1"],"userAgent":"kubectl/v1.12.0 (linux/amd64) kubernetes/f1b6611","objectRef":{"resource":"postgreses","namespace":"default","name":"client25","apiGroup":"postgrescontroller.kubeplus","apiVersion":"v1"},"responseStatus":{"metadata":{},"code":200},"requestObject":{"metadata":{"annotations":{"kubectl.kubernetes.io/last-applied-configuration":"{\"apiVersion\":\"postgrescontroller.kubeplus/v1\",\"kind\":\"Postgres\",\"metadata\":{\"annotations\":{},\"name\":\"client25\",\"namespace\":\"default\"},\"spec\":{\"databases\":[\"moodle\",\"wordpress\"],\"deploymentName\":\"client25\",\"image\":\"postgres:9.3\",\"replicas\":1,\"users\":[{\"password\":\"pass123\",\"username\":\"devdatta\"},{\"password\":\"pass234\",\"username\":\"pallavi\"}]}}\n"}},"spec":{"users":[{"password":"pass123","username":"devdatta"},{"password":"pass234","username":"pallavi"}]}},"requestReceivedTimestamp":"2018-08-05T00:17:20.526592Z","stageTimestamp":"2018-08-05T00:17:20.528723Z","annotations":{"authorization.k8s.io/decision":"allow","authorization.k8s.io/reason":""}} | ||
{"kind":"Event","apiVersion":"audit.k8s.io/v1beta1","metadata":{"creationTimestamp":"2018-08-05T00:17:26Z"},"level":"Request","timestamp":"2018-08-05T00:17:26Z","auditID":"cf460fc3-a11a-4b8f-a393-5ae60f7d662b","stage":"ResponseComplete","requestURI":"/apis/postgrescontroller.kubeplus/v1/namespaces/default/postgreses/client25","verb":"patch","user":{"username":"system:admin","groups":["system:masters","system:authenticated"]},"sourceIPs":["127.0.0.1"],"userAgent":"kubectl/v1.12.0 (linux/amd64) kubernetes/f1b6611","objectRef":{"resource":"postgreses","namespace":"default","name":"client25","apiGroup":"postgrescontroller.kubeplus","apiVersion":"v1"},"responseStatus":{"metadata":{},"code":200},"requestObject":{"metadata":{"annotations":{"kubectl.kubernetes.io/last-applied-configuration":"{\"apiVersion\":\"postgrescontroller.kubeplus/v1\",\"kind\":\"Postgres\",\"metadata\":{\"annotations\":{},\"name\":\"client25\",\"namespace\":\"default\"},\"spec\":{\"databases\":[\"moodle\",\"wordpress\"],\"deploymentName\":\"client25\",\"image\":\"postgres:9.3\",\"replicas\":1,\"users\":[{\"password\":\"pass123\",\"username\":\"devdatta\"},{\"password\":\"pass123\",\"username\":\"pallavi\"}]}}\n"}},"spec":{"users":[{"password":"pass123","username":"devdatta"},{"password":"pass123","username":"pallavi"}]}},"requestReceivedTimestamp":"2018-08-05T00:17:26.047828Z","stageTimestamp":"2018-08-05T00:17:26.049674Z","annotations":{"authorization.k8s.io/decision":"allow","authorization.k8s.io/reason":""}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.