-
Notifications
You must be signed in to change notification settings - Fork 255
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #66 from tekdj7/code_standardizations
code, consistency, readme, naming
- Loading branch information
Showing
202 changed files
with
10,087 additions
and
5,945 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
[flake8] | ||
max-line-length = 150 | ||
max-parameters-amount = 7 | ||
min_python_version = 3.9.0 | ||
copyright-regexp = Copyright Amazon.com, Inc\..* | ||
exclude = | ||
.git, | ||
__pycache__, | ||
.vscode | ||
|
||
# enables all flake8 checks | ||
select = A,B,B9,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,0,1,2,3,4,5,6,7,8,9 | ||
|
||
# disable below checks: | ||
ignore = | ||
FS003 # f-string missing prefix (false positives with raw strings) | ||
T003: # add link on issue into TODO | ||
|
||
# disable flake8 checks for Lambda function source code that will be used inline. (max 4096 characters) | ||
per-file-ignores = | ||
inline_lambda.py:D100,D103,C801 | ||
; D100 # missing docstring in public module | ||
; D103 # missing docstring in public function | ||
; C801 # copyright notice not present |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"MD013": false, | ||
"MD024": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,69 @@ | ||
# Change Log | ||
# Change Log <!-- omit in toc --> | ||
|
||
## Table of Contents <!-- omit in toc --> | ||
|
||
- [Introduction](#introduction) | ||
- [2021-11-19](#2021-11-19) | ||
- [2021-09-02](#2021-09-02) | ||
- [2021-09-01](#2021-09-01) | ||
|
||
--- | ||
|
||
## Introduction | ||
|
||
All notable changes to this project will be documented in this file. | ||
|
||
--- | ||
|
||
## 2021-11-19 | ||
|
||
### Added <!-- omit in toc --> | ||
|
||
- Added `.flake8`, `poetry.lock`, `pyproject.toml`, and `.markdownlint.json` to define coding standards that we will require and use when building future solutions. Contributors should use the standards defined within these files before submitting | ||
pull requests. Existing solutions will get refactored to these standards in future updates. | ||
- Added S3 `BucketKeyEnabled` to the solutions that create S3 objects (e.g. CloudTrail, GuardDuty, and Macie) | ||
|
||
### Changed <!-- omit in toc --> | ||
|
||
- Removed the AWS Config Aggregator account solution since AWS Control Tower deploys an account aggregator within the Audit account. | ||
- Modified the directory structure to support multiple internal packages (e.g. 1 for each solution). The folder structure also allows for tests (integration, unit, etc.). See | ||
[Real Python Application with Internal Packages](https://realpython.com/python-application-layouts/#application-with-internal-packages) | ||
- Renamed folders and files with snake_case to align with [PEP8 Package and Module Names](https://www.python.org/dev/peps/pep-0008/#package-and-module-names) | ||
- Modified links within `README.md` files to align with the updated folders and file names | ||
- Updated the `README.md` files to provide consistency and improved formatting. | ||
- Renamed parameter and template files to `sra-<solution_name>...` | ||
- Updated default values for parameters for resource names with sra- prefix to help with protecting resources deployed | ||
|
||
## 2021-09-02 | ||
|
||
### Added | ||
### Added <!-- omit in toc --> | ||
|
||
- Nothing Added | ||
|
||
### Changed | ||
### Changed <!-- omit in toc --> | ||
|
||
- Removed all code and references to AWS Landing Zone as it is currently in Long-term Support and will not receive any | ||
additional features. | ||
- Removed all code and references to AWS Landing Zone as it is currently in Long-term Support and will not receive any additional features. | ||
|
||
### Fixed | ||
### Fixed <!-- omit in toc --> | ||
|
||
- Nothing Fixed | ||
|
||
--- | ||
|
||
## 2021-09-01 | ||
|
||
### Added | ||
### Added <!-- omit in toc --> | ||
|
||
- AWS IAM Access Analyzer solution | ||
- Organization AWS Config Aggregator Solution | ||
- Common Register Delegated Administrator Solution | ||
|
||
### Changed | ||
### Changed <!-- omit in toc --> | ||
|
||
- Nothing Changed | ||
|
||
### Fixed | ||
### Fixed <!-- omit in toc --> | ||
|
||
- Nothing Fixed | ||
|
||
--- | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
Andy Wickersham | ||
Kisshore Gunasekaran | ||
Neal Rothleder | ||
Todd Gruet | ||
Todd Gruet | ||
Julio Delgado Jr. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.