Skip to content
This repository has been archived by the owner on Sep 17, 2021. It is now read-only.

Commit

Permalink
Merge f54c395 into 9b19510
Browse files Browse the repository at this point in the history
  • Loading branch information
mikegrima committed Jan 26, 2018
2 parents 9b19510 + f54c395 commit e3c3a1d
Show file tree
Hide file tree
Showing 9 changed files with 29 additions and 10 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,9 @@ Project resources
- [Gitter.im Chat Room](https://gitter.im/Netflix/security_monkey)
- [CloudAux](https://github.com/Netflix-Skunkworks/cloudaux)
- [PolicyUniverse](https://github.com/Netflix-Skunkworks/policyuniverse)


Instance Diagram
---------------
The components that make up Security Monkey are as follows (not AWS specific):
![diagram](docs/images/sm_instance_diagram.png)
5 changes: 4 additions & 1 deletion docs/autostarting.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This document outlines how to configure Security Monkey to:
1. Automatically run the API
1. Automatically scan for changes in your environment.

Each section is important, please read them thoroughly.
Each section is important, please read them thoroughly.

Celery and The Supervisor
------------
Expand Down Expand Up @@ -38,6 +38,9 @@ to make an image of your instance/container and clone new ones to provide the se
For AWS, you can make an AMI off of your Security Monkey instance, and even create separate launch
configurations and auto-scaling groups.

Below is a diagram of the components required by Security Monkey (these are not AWS specific):
![diagram](images/sm_instance_diagram.png)

Autostarting the API and UI
--------------------

Expand Down
Binary file added docs/images/sm_instance_diagram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions docs/images/sm_instance_diagram.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions docs/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ but then "reaches into" other accounts to describe and collect details.

More details on this is outlined in the IAM section below for each respective infrastructure.

Below is a diagram of the instance layout:
![diagram](images/sm_instance_diagram.png)

And for IAM:
(TODO ADD HERE)

Setup on AWS, GCP, or OpenStack
-------------------------------

Expand Down
2 changes: 1 addition & 1 deletion security_monkey/watchers/github/repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def __init__(self, accounts=None, debug=False):
"forks_count",
"open_issues",
"open_issues_count",
"webhooks$*$last_response"
"webhooks$*last_response"
]
self.batched_size = 20
self.done_slurping = False
Expand Down
6 changes: 3 additions & 3 deletions security_monkey/watchers/iam/iam_user.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ def __init__(self, *args, **kwargs):
self.honor_ephemerals = True
self.ephemeral_paths = [
"PasswordLastUsed",
"AccessKeys$*$LastUsedDate",
"AccessKeys$*$Region",
"AccessKeys$*$ServiceName",
"AccessKeys$*LastUsedDate",
"AccessKeys$*Region",
"AccessKeys$*ServiceName",
"_version"]
self.override_region = 'universal'

Expand Down
8 changes: 4 additions & 4 deletions security_monkey/watchers/sqs.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ def __init__(self, **kwargs):
self.honor_ephemerals = True
self.ephemeral_paths = [
'_version',
'Attributes$*$LastModifiedTimestamp',
'Attributes$*$ApproximateNumberOfMessagesNotVisible',
'Attributes$*$ApproximateNumberOfMessages',
'Attributes$*$ApproximateNumberOfMessagesDelayed'
'Attributes$LastModifiedTimestamp',
'Attributes$ApproximateNumberOfMessagesNotVisible',
'Attributes$ApproximateNumberOfMessages',
'Attributes$ApproximateNumberOfMessagesDelayed'
]
self.batched_size = 200

Expand Down
2 changes: 1 addition & 1 deletion security_monkey/watchers/vpc/vpn.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class VPN(Watcher):

def __init__(self, accounts=None, debug=False):
super(VPN, self).__init__(accounts=accounts, debug=debug)
self.ephemeral_paths = ['tunnels$*$last_status_change']
self.ephemeral_paths = ['tunnels$*last_status_change']

@record_exception()
def describe_vpns(self, **kwargs):
Expand Down

0 comments on commit e3c3a1d

Please sign in to comment.