Skip to content

Instantly share code, notes, and snippets.

View poonai's full-sized avatar
🦑
Confused

Poonai poonai

🦑
Confused
  • kumari kandam
  • 08:51 (UTC +05:30)
  • X @poonai_
View GitHub Profile
@poonai
poonai / diffshare.diff
Created August 14, 2022 13:39
created using diffshare
diff --git a/.vscode/launch.json b/.vscode/launch.json
index 01f10d4..ef8af5d 100644
--- a/.vscode/launch.json
+++ b/.vscode/launch.json
@@ -6,7 +6,7 @@
"type": "go",
"request": "launch",
"mode": "debug",
- "program": "${workspaceFolder}/server.go"
+ "program": "${workspaceFolder}"
@poonai
poonai / diffshare.diff
Created August 14, 2022 12:18
created using diffshare
diff --git a/go.mod b/go.mod
index 7ce40cf..6cc0ad0 100644
--- a/go.mod
+++ b/go.mod
@@ -1,3 +1,17 @@
-module github.com/microsoft/vscode-remote-try-go
+module github.com/poonai/diffshare
go 1.14
+
@poonai
poonai / diffshare.diff
Created August 14, 2022 11:48
created using diffshare
diff --git a/go.mod b/go.mod
index 7ce40cf..66c480e 100644
--- a/go.mod
+++ b/go.mod
@@ -1,3 +1,16 @@
-module github.com/microsoft/vscode-remote-try-go
+module github.com/poonai/diffshare
go 1.14
+
@poonai
poonai / diffshare.diff
Created August 14, 2022 11:47
created using diffshare
diff --git a/go.mod b/go.mod
index 7ce40cf..66c480e 100644
--- a/go.mod
+++ b/go.mod
@@ -1,3 +1,16 @@
-module github.com/microsoft/vscode-remote-try-go
+module github.com/poonai/diffshare
go 1.14
+
@poonai
poonai / diffshare.diff
Created August 14, 2022 09:27
created using diffshare
diff --git a/go.mod b/go.mod
index 7ce40cf..66c480e 100644
--- a/go.mod
+++ b/go.mod
@@ -1,3 +1,16 @@
-module github.com/microsoft/vscode-remote-try-go
+module github.com/poonai/diffshare
go 1.14
+
@poonai
poonai / diffshare.diff
Created August 14, 2022 09:24
created using diffshare
diff --git a/go.mod b/go.mod
index 7ce40cf..66c480e 100644
--- a/go.mod
+++ b/go.mod
@@ -1,3 +1,16 @@
-module github.com/microsoft/vscode-remote-try-go
+module github.com/poonai/diffshare
go 1.14
+
@poonai
poonai / diffshare.diff
Created August 14, 2022 09:23
created using diffshare
diff --git a/go.mod b/go.mod
index 7ce40cf..66c480e 100644
--- a/go.mod
+++ b/go.mod
@@ -1,3 +1,16 @@
-module github.com/microsoft/vscode-remote-try-go
+module github.com/poonai/diffshare
go 1.14
+
@poonai
poonai / diffshare.diff
Created August 14, 2022 06:36
created using diffshare
diff --git a/go.mod b/go.mod
index 7ce40cf..66c480e 100644
--- a/go.mod
+++ b/go.mod
@@ -1,3 +1,16 @@
-module github.com/microsoft/vscode-remote-try-go
+module github.com/poonai/diffshare
go 1.14
+
@poonai
poonai / policy_explaination.md
Last active July 12, 2022 09:03
policy_explaination.md

Policy Configuration

In order to configure policy, user supposed to write policy in rego format and push the policy to github repository.

Then the github repository should be mentioned on the controlplane config file.

sample controlplane config with policy_repo

postgres_host: "streak-production-final.cyym8n3wehdv.ap-south-1.rds.amazonaws.com"

Tutorial

In this tutorial, we'll learn how to deploy inspektor to enforce access polices.

Prerequsite

  • docker
  • docker-compose
  • psql
  • linux machine