maor.rayzin
1339ab723f
* mistaken _ with -...
2018-11-29 15:48:41 +02:00
maor.rayzin
e24e9b90f7
* Added fallback case for urllib failure to get the region
...
* Added some safe checks for formatting and happy flows
* Removed productARN from server_config.json - it will now be inserted in deb build.
* Added the awscli lib to be installed via pip
2018-11-28 18:54:50 +02:00
maor.rayzin
1c99636414
* Changed the resource id to be instance arn and not only instance id
2018-11-28 17:40:32 +02:00
maor.rayzin
25340e9998
* Deleted print statement
...
* Added further inspection in telemtry
2018-11-28 17:05:10 +02:00
maor.rayzin
9d36cf3990
* add the right key in telemetry
...
* added error handling in report.py
2018-11-28 15:30:46 +02:00
maor.rayzin
0fe7a9c6e1
* Match it back to aws env
2018-11-28 15:02:17 +02:00
maor.rayzin
8397af4c6b
* Added region to finding sending configuration for boto3
2018-11-28 14:56:46 +02:00
maor.rayzin
bdecc7ade6
* added dynamic region lookup
...
* building the product ARN dynamically
* Resource type is now Other in case we dont have instance_id
2018-11-28 13:27:35 +02:00
maor.rayzin
7d94185a10
* fixed a wrong IF statement that prevented issues from appending
2018-11-28 12:53:58 +02:00
maor.rayzin
83ea8af9e0
* Added error handling in case the aws cli wasn't properly installed.
2018-11-27 22:28:06 +02:00
maor.rayzin
2f1240cc0e
* Added the boto3 pckg to the right req'.txt file
...
* Added a safe dict key access for aws_instance_id in report.py
* Added a skip in the aws_export if there is no instance_id in the issue.
2018-11-27 20:21:39 +02:00
Daniel Goldberg
8efed2de22
Fix path that run.sh executes
2018-11-27 18:33:08 +02:00
maor.rayzin
e8c604d7c5
* Changed the exporter to work in aws and not standard (was used for debugging)
2018-11-27 17:48:40 +02:00
maor.rayzin
af97fb6ffc
* Added a check to no issues list
...
* Changed the productARN to the monkey's ARN
2018-11-27 17:45:31 +02:00
maor.rayzin
0a6b3a12fa
* Separated the configuration functions to support both island's and monkey's needs
...
* Removed space char from the default value of the aws keys
* Changed the submit function in the JS to point to the right endpoint
2018-11-27 17:32:46 +02:00
maor.rayzin
9e6b2b2d26
* Added missing findings
...
* switched to using the aws account id from the island's configuration page
2018-11-27 16:57:53 +02:00
maor.rayzin
fb5ae63f04
* Fixed the aws env class to not be static anymore after itay's change.
...
* Added aws region getter
2018-11-27 14:45:44 +02:00
maor.rayzin
7f8a00ddc1
Merge remote-tracking branch 'origin/feature/report_exporters' into feature/report_exporters
2018-11-27 14:45:12 +02:00
maor.rayzin
bf29cddf4d
* Fixed the aws env class to not be static anymore after itay's change.
...
* Added aws region getter
2018-11-27 14:44:39 +02:00
maor.rayzin
8e6ab5b9f5
* Added aws region getter
...
* Moved productARN to server_config.json file
2018-11-27 14:16:06 +02:00
maor.rayzin
a42d621340
* Added another configuration endpoint for the island specific fields
2018-11-27 14:16:06 +02:00
maor.rayzin
90554f63cb
* Exceptions handling for sending findings
2018-11-27 14:16:06 +02:00
maor.rayzin
f506eb3dd1
* a small fixup
2018-11-27 14:16:06 +02:00
maor.rayzin
a00bfc17e3
* add instance id to domain issues too
2018-11-27 14:16:06 +02:00
maor.rayzin
1912a27422
* added instance ID to each issue in an aws machine
...
* changed findings resource to ec2 instance id instead of IP
2018-11-27 14:16:06 +02:00
maor.rayzin
f8f7421c47
* Added aws creds keys to configuration
...
* Added boto session creation using credentials
* Added a flag in the get_config function to separate island configuration values from monkey ones.
2018-11-27 14:16:00 +02:00
maor.rayzin
dd5bbdec35
* encrypted config
2018-11-27 14:14:41 +02:00
maor.rayzin
148ee3f0f0
* Added env' config
...
* Added exporters and aws exporter
* changed report generation to be automatic on monkey death with support of on-demand report generation and mongo storage
2018-11-27 14:14:41 +02:00
maor.rayzin
c888ab7bc9
adding the exporter father class and aws implement
2018-11-27 14:14:41 +02:00
maor.rayzin
673605b721
* Added aws region getter
...
* Moved productARN to server_config.json file
2018-11-27 14:13:50 +02:00
Daniel Goldberg
fdeeed40f4
Merge pull request #214 from guardicore/feature/collect-aws-instanceid
...
Add AWS instance id collector
2018-11-27 04:12:45 -08:00
Daniel Goldberg
1c75fbecf0
Modern classes and not old school classes
2018-11-27 14:12:23 +02:00
Daniel Goldberg
b3afeee3c0
Rename Aws to proper AWS
2018-11-27 14:10:46 +02:00
Paul-Emmanuel Raoul
c1c8c33c85
Delete installation files
2018-11-27 11:19:26 +00:00
Paul-Emmanuel Raoul
195a3c8304
Add 'DEBIAN_FRONTEND' as 'ARG'
...
Using 'ARG' instead of 'ENV' allows to define environment variables only
for the build stage. See
https://github.com/moby/moby/issues/4032#issuecomment-34597177 .
2018-11-27 11:15:48 +00:00
Daniel Goldberg
b7bfdd7afd
Quick move from unicode to text_type
2018-11-27 11:26:09 +02:00
Daniel Goldberg
f82069e9bf
Merge pull request #215 from guardicore/feature/add-support-encrypted-values
...
Add support for strings to be encrypted
2018-11-27 01:20:12 -08:00
maor.rayzin
c47572cd53
* Added another configuration endpoint for the island specific fields
2018-11-27 11:08:43 +02:00
maor.rayzin
4365ed2a14
Merge branch 'feature/add-support-encrypted-values' into feature/report_exporters
2018-11-27 10:30:00 +02:00
maor.rayzin
8eca2ca1e9
* Exceptions handling for sending findings
2018-11-27 10:28:41 +02:00
Paul-Emmanuel Raoul
f1dd30d18c
Add EXPOSE instruction to Dockerfile
2018-11-26 21:03:45 +00:00
Paul-Emmanuel Raoul
8ac1f35142
Fix installation issue in Dockerfile
2018-11-26 20:52:35 +00:00
Paul-Emmanuel Raoul
1edba2d13b
Specify the release installed by Dockerfile using an argument
2018-11-26 20:50:47 +00:00
maor.rayzin
984a64561e
* a small fixup
2018-11-26 15:04:25 +02:00
Daniel Goldberg
45cc7f0bf0
Merge pull request #216 from VakarisZ/web_rce_get_ports_bugfix
...
Small bugfix for web_rce get_open_service_ports function
2018-11-26 05:04:05 -08:00
maor.rayzin
4cc85448d7
* add instance id to domain issues too
2018-11-26 14:01:46 +02:00
VakarisZ
85d832938d
Small bugfix in web_rce get_open_service_ports
2018-11-26 13:43:15 +02:00
maor.rayzin
a79c60e9bc
* added instance ID to each issue in an aws machine
...
* changed findings resource to ec2 instance id instead of IP
2018-11-26 12:59:06 +02:00
maor.rayzin
30a6d7542f
* deleted a line
2018-11-26 12:12:24 +02:00
maor.rayzin
2dfbc16450
* Added aws creds keys to configuration
...
* Added boto session creation using credentials
* Added a flag in the get_config function to separate island configuration values from monkey ones.
*
2018-11-26 11:48:43 +02:00