Files
kubescape/core/pkg/policyhandler/kubeconfig_mock.json
David Wertenteil b4bdf4d860 Release (#1000)
* fixed flaky loop(cautils): loadpolicy getter

We should not inject pointers to the variable iterated over by the
"range" operator.

Signed-off-by: Frédéric BIDON <fredbi@yahoo.com>

* fixed more flaky pointers in loops (registryadaptors, opaprocessor)

Signed-off-by: Frédéric BIDON <fredbi@yahoo.com>

* fixed more flaky pointers in loops (resultshandling)

Signed-off-by: Frédéric BIDON <fredbi@yahoo.com>

* enabled golangci linter in CI

Signed-off-by: Frédéric BIDON <fredbi@yahoo.com>

* fixed linting issues with minimal linters config

Signed-off-by: Frédéric BIDON <fredbi@yahoo.com>

* bump go version to 1.19

* English and typos

* Support AKS parser (#994)

* support GKE parser

* update go mod

* support GKE parser

* update go mod

* update k8s-interface pkg

* Added KS desgin.drawio

* revert k8s.io to v0.25.3

* ran go mod tidy

* update sign-up url

* [wip] Adding CreateAccount support

* revert to docs URL

* update opa-utils pkg

* Print attack tree (optional, with argument) (#997)

* Print attack tree with the argument


Signed-off-by: Frédéric BIDON <fredbi@yahoo.com>
Co-authored-by: Frédéric BIDON <frederic@oneconcern.com>
Co-authored-by: Frédéric BIDON <fredbi@yahoo.com>
Co-authored-by: Oshrat Nir <45561829+Oshratn@users.noreply.github.com>
Co-authored-by: Amir Malka <amirm@armosec.io>
Co-authored-by: David Wertenteil <dwertent@armosec.io>
2023-01-03 11:30:09 +02:00

82 lines
2.5 KiB
JSON

{
"preferences": {},
"clusters": {
"xxxx-2": {
"server": "https://XXX.XX.XXX.azmk8s.io:443"
},
"arn:aws:eks:eu-west-1:xxx:cluster/xxxx": {
"server": "https://XX.XX.eu-west-1.eks.amazonaws.com"
},
"xxxx-0": {
"server": "https://kubernetes.docker.XXX:6443"
},
"xxxx-1": {
"server": "https://127.0.0.1:49498"
},
"gke_xxx-xx-0000_us-central1-c_xxxx-1": {
"server": "https://0.0.0.0"
},
"microk8s-cluster": {
"server": "https://0.0.0.0:16443"
}
},
"users": {
"arn:aws:eks:eu-west-1:xxx:cluster/xxxx": {
"exec": {
"command": "aws",
"args": [
"--region",
"eu-west-1",
"eks",
"get-token",
"--cluster-name",
"xxx"
],
"env": null,
"apiVersion": "client.authentication.k8s.io/v1beta1",
"provideClusterInfo": false,
"Config": null,
"InteractiveMode": "IfAvailable",
"StdinUnavailable": false,
"StdinUnavailableMessage": ""
}
},
"gke_elated-pottery-xxx_us-central1-c_xxxx-1": {
"auth-provider": {
"name": "gcp",
"config": {
"cmd-args": "config config-helper --format=json",
"cmd-path": "/opt/homebrew/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/bin/gcloud"
}
}
}
},
"contexts": {
"xxxx-2": {
"cluster": "xxxx-2",
"user": "clusterUser_MyResourceGroup_xxxx-2"
},
"arn:aws:eks:eu-west-1:xxx:cluster/xxxx": {
"cluster": "arn:aws:eks:eu-west-1:xxx:cluster/xxxx",
"user": "arn:aws:eks:eu-west-1:xxx:cluster/xxxx"
},
"docker-desktop": {
"cluster": "docker-desktop",
"user": "docker-desktop"
},
"xxxx-0": {
"cluster": "xxxx-0",
"user": "xxxx-0",
"namespace": "default"
},
"gke_xxx-xx-0000_us-central1-c_xxxx-1": {
"cluster": "gke_xxx-xx-0000_us-central1-c_xxxx-1",
"user": "gke_xxx-xx-0000_us-central1-c_xxxx-1"
},
"microk8s": {
"cluster": "microk8s-cluster",
"user": "admin"
}
},
"current-context": "xxxx-0"
}