Skip to content

Commit 5115d5b

Browse files
authored
Merge pull request #295 from nccgroup/release/5.0.0
Release/5.0.0-beta
2 parents ed25eee + 1c5bc50 commit 5115d5b

File tree

250 files changed

+5528
-4865
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

250 files changed

+5528
-4865
lines changed

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ language: python
44
sudo: false
55

66
python:
7-
- "2.7"
8-
- "3.4"
97
- "3.5"
108
- "3.6"
119

@@ -36,6 +34,7 @@ script:
3634
# - 'nosetests tests/test-utils.py'
3735
# - '[ "${TRAVIS_SECURE_ENV_VARS}" = "true" ] && nosetests tests/test-utils_sns.py || false'
3836
- nosetests --with-coverage tests/test-main.py
37+
- nosetests --with-coverage tests/test-aws_resources.py
3938
- nosetests --with-coverage tests/test-rules-ruleset.py
4039
- nosetests --with-coverage tests/test-rules-processingengine.py
4140
- nosetests --with-coverage --nocapture tests/test-scoutsuite.py -a "!credential"

CODE_OF_CONDUCT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ This Code of Conduct applies both within project spaces and in public spaces whe
3232

3333
## Enforcement
3434

35-
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team. All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
35+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at <[email protected]>. All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
3636

3737
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project’s leadership.
3838

CONTRIBUTING.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Contributing
2+
23
## Table of Contents
34
* [Introduction](#introduction)
45
* [Getting started](#getting-started)
@@ -32,7 +33,7 @@ So you want to contribute some code, that's great! This project follows the [Git
3233

3334
## How to report a bug
3435

35-
When filing an issue, make sure to answer these five questions:
36+
When filing an issue, make sure to answer these five questions:
3637

3738
1. What version of Python are you using?
3839
2. What operating system and processor architecture are you using?
@@ -46,4 +47,4 @@ If you find yourself wishing for a feature that doesn't exist in Scout Suite, yo
4647

4748
## Code review process
4849

49-
The pull request are reviewed on a regular basis by the core team. We require a minimum of two reviewers before it is merged.
50+
Pull requests are regularly reviewed by the core team. We require a minimum of two reviewers before allowing to merge.

README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ Scout Suite is stable and actively maintained, but a number of features and inte
2020
with us as we find time to work on, and improve, the tool. Feel free to report a bug with details (please provide
2121
console output using the `--debug` argument), request a new feature, or send a pull request.
2222

23+
The project team can be contacted at <[email protected]>.
24+
2325
**Note:**
2426

2527
The latest (and final) version of Scout2 can be found in <https://github.com/nccgroup/Scout2/releases> and
@@ -30,8 +32,8 @@ The latest (and final) version of Scout2 can be found in <https://github.com/ncc
3032
The following cloud providers are currently supported/planned:
3133

3234
- Amazon Web Services
33-
- Google Cloud Platform (beta)
34-
- Azure (alpha)
35+
- Google Cloud Platform
36+
- Microsoft Azure (beta)
3537

3638
## Installation
3739

@@ -67,7 +69,7 @@ Scout Suite is written in Python and supports the following versions:
6769
- 3.6
6870
- 3.7
6971

70-
WARNING: Python 2.7 & 3.4 support will soon be deprecated in the following releases.
72+
**WARNING**: Python 2.7 & 3.4 support is planned to be deprecated in the following releases.
7173

7274
The required libraries can be found in the
7375
[requirements.txt](https://github.com/nccgroup/ScoutSuite/blob/master/requirements.txt) file.
@@ -84,7 +86,7 @@ permissions:
8486
- `ReadOnlyAccess`
8587
- `SecurityAudit`
8688

87-
If the usage of multi-factor authentication (MFA) is enabled, please consult [this page](https://aws.amazon.com/premiumsupport/knowledge-center/authenticate-mfa-cli/) in order to
89+
If multi-factor authentication (MFA) is enabled, refer to [the AWS documentation](https://aws.amazon.com/premiumsupport/knowledge-center/authenticate-mfa-cli/) in order to
8890
configure MFA authentication through the management of session tokens.
8991

9092
#### Google Cloud Platform
@@ -244,3 +246,5 @@ You can also pass the credentials you want directly with command line arguments.
244246
interactively:
245247

246248
$ python Scout.py azure --username <USERNAME> --password <PASSWORD>
249+
250+
Additional information can be found in [the wiki](https://github.com/nccgroup/ScoutSuite/wiki).

Scout.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
# -*- coding: utf-8 -*-
33

44
import sys
5-
65
from ScoutSuite.__main__ import main
76

87
if __name__ == "__main__":
9-
sys.exit(main())
8+
main()
9+
sys.exit()

ScoutSuite/__init__.py

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
11
# -*- coding: utf-8 -*-
22

33
__author__ = 'NCC Group'
4-
__version__ = '4.3.0'
5-
6-
AWSCONFIG = 42
7-
EXCEPTIONS = 4242
8-
HTMLREPORT = 424242
9-
AWSRULESET = 42424242
4+
__version__ = '5.0.0-alpha'
105

116
DEFAULT_REPORT_DIR = 'scoutsuite-report'
12-
AWSCONFIG_FILE = 'scoutsuite-results/scoutsuite_results.js'
13-
AWSRULESET_FILE = 'scoutsuite-results/scoutsuite_ruleset.js'
14-
EXCEPTIONS_FILE = 'scoutsuite-results/scoutsuite_exceptions.js'
15-
HTMLREPORT_FILE = 'report.html'
16-
GENERATOR_FILE = 'ruleset-generator.html'
7+
DEFAULT_RESULT_FILE = 'scoutsuite-results/scoutsuite_results.js'
8+
DEFAULT_RULESET_FILE = 'scoutsuite-results/scoutsuite_ruleset.js'
9+
DEFAULT_EXCEPTIONS_FILE = 'scoutsuite-results/scoutsuite_exceptions.js'
10+
DEFAULT_ERRORS_FILE = 'scoutsuite-results/scoutsuite_errors_log.json'
11+
DEFAULT_HTMLREPORT_FILE = 'report.html'
12+
DEFAULT_GENERATOR_FILE = 'ruleset-generator.html'
13+
14+
ERRORS_LIST = []
1715

18-
REPORT_TITLE = 'Scout Suite Report'
16+
DEFAULT_REPORT_TITLE = 'Scout Suite Report'

ScoutSuite/__listall__.py

Lines changed: 0 additions & 118 deletions
This file was deleted.

0 commit comments

Comments
 (0)