From 522463c968fdebaa44640758b1fa9cfdb3121f15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Bombo?= Date: Tue, 19 Dec 2023 17:10:50 +0000 Subject: [PATCH] agent: Remove obsolete Rego samples all-allowed.rego now lives under src/kata-opa/ and set-policy-allowed.rego will be reintroduced by #123 in the same location. --- .../policy/all-allowed/all-allowed.rego | 38 ------------------- .../set-policy-allowed-data.json | 4 -- .../set-policy-allowed.rego | 3 -- 3 files changed, 45 deletions(-) delete mode 100644 src/agent/samples/policy/all-allowed/all-allowed.rego delete mode 100644 src/agent/samples/policy/set-policy-allowed/set-policy-allowed-data.json delete mode 100644 src/agent/samples/policy/set-policy-allowed/set-policy-allowed.rego diff --git a/src/agent/samples/policy/all-allowed/all-allowed.rego b/src/agent/samples/policy/all-allowed/all-allowed.rego deleted file mode 100644 index 0a974ff6e6c2..000000000000 --- a/src/agent/samples/policy/all-allowed/all-allowed.rego +++ /dev/null @@ -1,38 +0,0 @@ -package agent_policy - -default AddARPNeighborsRequest := true -default AddSwapRequest := true -default CloseStdinRequest := true -default CopyFileRequest := true -default CreateContainerRequest := true -default CreateSandboxRequest := true -default DestroySandboxRequest := true -default ExecProcessRequest = true -default GetMetricsRequest := true -default GetOOMEventRequest := true -default GuestDetailsRequest := true -default ListInterfacesRequest := true -default ListRoutesRequest := true -default MemHotplugByProbeRequest := true -default OnlineCPUMemRequest := true -default PauseContainerRequest := true -default PullImageRequest := true -default ReadStreamRequest := true -default RemoveContainerRequest := true -default RemoveStaleVirtiofsShareMountsRequest := true -default ReseedRandomDevRequest := false -default ResumeContainerRequest := true -default SetGuestDateTimeRequest := true -default SetPolicyRequest := true -default SignalProcessRequest := true -default StartContainerRequest := true -default StartTracingRequest := true -default StatsContainerRequest := true -default StopTracingRequest := true -default TtyWinResizeRequest := true -default UpdateContainerRequest := true -default UpdateEphemeralMountsRequest := true -default UpdateInterfaceRequest := true -default UpdateRoutesRequest := true -default WaitProcessRequest := true -default WriteStreamRequest := true diff --git a/src/agent/samples/policy/set-policy-allowed/set-policy-allowed-data.json b/src/agent/samples/policy/set-policy-allowed/set-policy-allowed-data.json deleted file mode 100644 index faaa015d48ce..000000000000 --- a/src/agent/samples/policy/set-policy-allowed/set-policy-allowed-data.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "coco_data": { - } -} diff --git a/src/agent/samples/policy/set-policy-allowed/set-policy-allowed.rego b/src/agent/samples/policy/set-policy-allowed/set-policy-allowed.rego deleted file mode 100644 index 5cfdb7e610fe..000000000000 --- a/src/agent/samples/policy/set-policy-allowed/set-policy-allowed.rego +++ /dev/null @@ -1,3 +0,0 @@ -package agent_policy - -default SetPolicyRequest := true