MCPcopy Index your code
hub / github.com/controlplaneio/simulator

github.com/controlplaneio/simulator @v2.0.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v2.0.0 ↗ · + Follow
44,871 symbols 182,605 edges 1,098 files 6,104 documented · 14%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

License Platforms Conventional Commits Maintenance

Simulator

A distributed systems and infrastructure simulator for attacking and debugging Kubernetes: simulator creates a Kubernetes cluster for you in your AWS account; runs scenarios which misconfigure it and/or leave it vulnerable to compromise and trains you in mitigating against these vulnerabilities.

For details on why we created this project and our initial goals take a look at the vision statement. For details of the vision and drivers for Simulator V2, take a look at version two

Prerequisites

Download

Please download the latest release from the releases page

AWS Credentials

Simulator supports the following methods of authentication to provision the AWS infrastructure. Refer to AWS IAM Permissions for details of the required permissions.

Getting Started

Core Components

Extension points exported contracts — how you extend this code

AMIBuilder (Interface)
(no doc) [2 implementers]
core/tools/packer.go
BucketManager (Interface)
(no doc) [1 implementers]
core/aws/buckets.go
SimulatorCmdOptions (FuncType)
(no doc)
internal/cli/simulator.go
InfraManager (Interface)
(no doc) [2 implementers]
core/tools/terraform.go
AMIManager (Interface)
(no doc) [1 implementers]
core/aws/amis.go
ScenarioManager (Interface)
(no doc) [2 implementers]
core/tools/ansible.go

Core symbols most depended-on inside this repo

len
called by 4136
scenarios/coastline-cluster-attack/emydocephalus/static/brython.js
assertFalse
called by 1874
scenarios/coastline-cluster-attack/emydocephalus/static/Lib/unittest/case.py
join
called by 1713
scenarios/coastline-cluster-attack/emydocephalus/static/Lib/browser/aio.py
isinstance
called by 1661
scenarios/coastline-cluster-attack/emydocephalus/static/brython.js
str
called by 1651
scenarios/coastline-cluster-attack/emydocephalus/static/Lib/locale.py
assertIs
called by 1569
scenarios/coastline-cluster-attack/emydocephalus/static/Lib/unittest/case.py
assertIn
called by 1537
scenarios/coastline-cluster-attack/emydocephalus/static/Lib/unittest/case.py
eq
called by 1331
scenarios/coastline-cluster-attack/emydocephalus/static/Lib/operator.py

Shape

Method 32,718
Class 7,138
Function 4,829
Route 152
Struct 26
Interface 5
TypeAlias 2
FuncType 1

Languages

Python98%
TypeScript2%
Go1%

Modules by API surface

scenarios/coastline-cluster-attack/emydocephalus/static/Lib/asyncio.py1,028 symbols
scenarios/coastline-cluster-attack/emydocephalus/static/Lib/test/test_socket.py790 symbols
scenarios/coastline-cluster-attack/emydocephalus/static/Lib/test/test_descr.py652 symbols
scenarios/coastline-cluster-attack/emydocephalus/static/Lib/test/test_email/test_email.py535 symbols
scenarios/coastline-cluster-attack/emydocephalus/static/Lib/test/test_inspect.py532 symbols
scenarios/coastline-cluster-attack/emydocephalus/static/Lib/test/test_io.py504 symbols
scenarios/coastline-cluster-attack/emydocephalus/static/Lib/test/datetimetester.py503 symbols
scenarios/coastline-cluster-attack/emydocephalus/static/Lib/test/test_argparse.py484 symbols
scenarios/coastline-cluster-attack/emydocephalus/static/brython.js434 symbols
scenarios/coastline-cluster-attack/emydocephalus/static/Lib/test/test_os.py419 symbols
scenarios/coastline-cluster-attack/emydocephalus/static/Lib/test/test_logging.py418 symbols
scenarios/coastline-cluster-attack/emydocephalus/static/Lib/test/pickletester.py380 symbols

Datastores touched

(mongodb)Database · 1 repos

For agents

$ claude mcp add simulator \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact