Skip to content

Commit

Permalink
README
Browse files Browse the repository at this point in the history
  • Loading branch information
Limmen committed May 19, 2021
1 parent 98ff743 commit 6d4412f
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 3 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,16 @@ env_name = "optimal-intrusion-response-v1"
env = gym.make(env_name)
```

## Infrastructure

<p align="center">
<img src="docs/env.png" width="600">
</p>

## Traces

Alert/login traces from the emulated infrastructure are available in ([./traces](./traces)).

## Publications

TODO
Expand Down
Binary file added docs/env.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 4 additions & 3 deletions examples/v1/test_dynamics_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,15 @@ def test_model() -> None:
:return: None
"""
save_dynamics_model_dir = "/Users/kimham/workspace/gym-optimal-intrusion-response/examples/v1/"
# save_dynamics_model_dir = "/Users/kimham/workspace/gym-optimal-intrusion-response/examples/v1/"
save_dynamics_model_dir = "/Users/kimham/workspace/gym-optimal-intrusion-response/traces/"

defender_dynamics_model = DefenderDynamicsModel()
new_model = DefenderDynamicsModel()
if save_dynamics_model_dir is not None:
print("loading dynamics model")
defender_dynamics_model.read_model(save_dynamics_model_dir, model_name="new_defender_dynamics_model.json")
new_model.read_model(save_dynamics_model_dir, model_name="new_defender_dynamics_model.json")
defender_dynamics_model.read_model(save_dynamics_model_dir, model_name="traces.json")
new_model.read_model(save_dynamics_model_dir, model_name="traces.json")
print("model loaded")

print("normalizing model counts")
Expand Down
1 change: 1 addition & 0 deletions traces/traces.json

Large diffs are not rendered by default.

0 comments on commit 6d4412f

Please sign in to comment.