Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Commit

Permalink
Updated to version 4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua Leaverton committed Dec 18, 2020
1 parent 30d9927 commit a44dcfe
Show file tree
Hide file tree
Showing 57 changed files with 4,151 additions and 3,348 deletions.
12 changes: 12 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# don't ever lint node_modules
node_modules
cdk.out
# don't lint build output (make sure it's set to your correct build folder name)
dist
# don't lint nyc coverage output
coverage
*.config.js
*.eslint*



23 changes: 23 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
module.exports = {
root: true,
env: {
node: true,
es2017: true,
mocha: true,
},
extends: ["eslint:recommended"],
overrides: [
{
files: ["**/*.ts"],
parser: "@typescript-eslint/parser",
plugins: ["@typescript-eslint"],
extends: [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"prettier",
"prettier/@typescript-eslint",
],
},
],
};
37 changes: 37 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
name: Bug report
about: Create a report to help us improve
title: ""
labels: bug
assignees: ""
---

**Describe the bug**

<!--- A clear and concise description of what the bug is -->

**To Reproduce**

<!--- Steps to reproduce the behavior -->

**Expected behavior**

<!--- A clear and concise description of what you expected to happen -->

**Please complete the following information about the solution:**

- [ ] Version: [e.g. v1.0.0]

To get the version of the solution, you can look at the description of the created CloudFormation stack. For example, "_(SO0134) - The AWS CloudFormation template for deployment of the AWS Centralized WAF & SG Management. Version **v1.0.0**_". You can also find the version from [releases](https://github.com/awslabs/aws-centralized-logging/releases)

- [ ] Region: [e.g. us-east-1]
- [ ] Was the solution modified from the version published on this repository?
- [ ] If the answer to the previous question was yes, are the changes available on GitHub?
- [ ] Have you checked your [service quotas](https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html) for the sevices this solution uses?
- [ ] Were there any errors in the CloudWatch Logs? [How to enable debug mode?](https://docs.aws.amazon.com/solutions/latest/centralized-logging/appendix-d.html)

**Screenshots**
If applicable, add screenshots to help explain your problem (please **DO NOT include sensitive information**).

**Additional context**
Add any other context about the problem here.
17 changes: 17 additions & 0 deletions .github/ISSUE_TEMPLATE/documentation-improvements.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
name: Documentation improvements
about: Suggest a documentation update
title: ''
labels: documentation
assignees: ''

---

**What were you initially searching for in the docs?**
<!--- Please help us understand how you looked for information that was either not available or unclear -->

**Is this related to an existing part of the documentation? Please share a link**

**Describe how we could make it clearer**

**If you have a proposed update, please share it here**
17 changes: 17 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
name: Feature request
about: Suggest an idea for this solution
title: ''
labels: feature-request, enhancement
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
<!--- A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] -->

**Describe the feature you'd like**
<!--- A clear and concise description of what you want to happen -->

**Additional context**
<!--- Add any other context or screenshots about the feature request here -->
5 changes: 5 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
*Issue #, if available:*

*Description of changes:*

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
27 changes: 27 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Test and Compiler files
**test.json
**test.js

# distribution folders
global-s3-assets
regional-s3-assets
open-source

# Generated ouputs
dist
coverage
docs
npm-debug.log
*.zip
.scannerwork
*.xml
reports

# Node dependencies
node_modules
package-lock.json

# CDK asset staging directory
.cdk.staging
cdk.out
__snapshots__
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
12 changes: 12 additions & 0 deletions .prettierrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# .prettierrc or .prettierrc.yaml
arrowParens: "always"
bracketSpacing: true
endOfLine: "lf"
htmlWhitespaceSensitivity: "css"
proseWrap: "preserve"
trailingComma: "es5"
tabWidth: 2
semi: true
singleQuote: false
quoteProps: "as-needed"
printWidth: 80
61 changes: 54 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,71 @@
# Change Log
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [3.2] - BUGFIX 2020-09-28
- Changed Cognito user pool to only allow account creation by the Cognito Admin user
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [4.0.0] - 2020-12-15

### Added

- VPC with 2 isolated & 2 public subnets
- Elasticsearch domain in isolated subnets
- Kinesis Data Stream and Kinesis Firehose for data streaming
- CloudWatch Logs Destination for cross account/region data streaming
- Windows jumpbox for accessing kibana
- Security group for jumpbox
- Security group for ES and Kinesis resources

### Updated

- Elasticsearch V7.7
- Lambda log event transformer
- AWS CDK constructs for IaC

### Removed

- Spoke templates
- Cross account IAM role for Lambda (cross account streaming now uses CloudWatch Logs Destination)

## [3.2.1] - 2020-09-14

### Added

- SNS topic is now encrypted using KMS CMK
- Optional MFA support for Cognito users

### Updated

- Now uses CDK to create deployment templates
- Leverages AWS Solutions Contruct for Lambda/ElasticSearch/Kibana
- Updated to use Amazon Elasticsearch Service v7.7

### Removed

- Demo Access Logging bucket no longer enables versioning
- Removed global egress access from the VPC security group
- Removed all hard-coded logical resource IDs and names to enable multiple stacks to be deployed, such as for testing or migration

## [3.2] - 2019-12-18

### Added

- Backward-compatible to v3.0.0
- Includes all v3.0.1 changes
- Do NOT upgrade from v3.0.1 to v3.2

## [3.0.1] - 2019-11-29

### Added

- Uses SSM Parameters to retrieve the latest HVM x86_64 AMI
- Block public access to 2 buckets created for demo
- CLFullAccessUserRole replaces CognitoAuthorizedRole. It is associated with the Admin group. Initial user is placed in this group.
- CLReadOnlyAccessRole is added. It provides read-only access to users in UserPoolGroupROAccess. This is the default role for Authenticated users in the pool.

### Updated

- Nodejs8.10 to Nodejs12.x Lambda run time.
- Updated license to Apache License version 2.0
- Corrected Master_Role environmental variable in spoke template to MASTER_ROLE
Expand All @@ -36,16 +79,20 @@
- Tightened security on IAM roles to specific methods and resources

### Removed

- Unreferenced SolutionHelperRole in demo template
- Unreferenced S3 bucket mapping in demo template
- AMIInfo lookup Lambda
- CognitoUnAuthorizedRole / unauthenticated Cognito access

## [0.0.1] - 2019-09-09

### Added

- CHANGELOG template file to fix new pipeline standards

### Updated

- updated buildspec.yml to meet new pipeline build standards
- updated build-s3-dist.sh to meet new pipeline build standards
- updated run-unit-tests.sh for correct references to folders
Expand Down
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ information to effectively respond to your bug report or contribution.

We welcome you to use the GitHub issue tracker to report bugs or suggest features.

When filing an issue, please check [existing open](https://github.com/awslabs/aws-centralized-logging/issues), or [recently closed](https://github.com/awslabs/aws-centralized-logging/issues?q=is%3Aissue+is%3Aclosed), issues to make sure somebody else hasn't already
When filing an issue, please check [existing open](https://github.com/awslabs/%%SOLUTION_NAME%%/issues), or [recently closed](https://github.com/awslabs/%%SOLUTION_NAME%%/issues?utf8=%E2%9C%93&q=is%3Aissue%20is%3Aclosed%20), issues to make sure somebody else hasn't already
reported the issue. Please try to include as much information as you can. Details like these are incredibly useful:

* A reproducible test case or series of steps
Expand Down Expand Up @@ -41,7 +41,7 @@ GitHub provides additional document on [forking a repository](https://help.githu


## Finding contributions to work on
Looking at the existing issues is a great way to find something to contribute on. As our projects, by default, use the default GitHub issue labels ((enhancement/bug/duplicate/help wanted/invalid/question/wontfix), looking at any ['help wanted'](https://github.com/awslabs/aws-centralized-logging/labels/help%20wanted) issues is a great place to start.
Looking at the existing issues is a great way to find something to contribute on. As our projects, by default, use the default GitHub issue labels ((enhancement/bug/duplicate/help wanted/invalid/question/wontfix), looking at any ['help wanted'](https://github.com/awslabs/%%SOLUTION_NAME%%/labels/help%20wanted) issues is a great place to start.


## Code of Conduct
Expand All @@ -55,7 +55,7 @@ If you discover a potential security issue in this project we ask that you notif


## Licensing
See the [LICENSE](https://github.com/awslabs/aws-centralized-logging/blob/master/LICENSE.txt) file for our project's licensing. We will ask you to confirm the licensing of your contribution.

See the [LICENSE](https://github.com/awslabs/%%SOLUTION_NAME%%/blob/master/LICENSE) file for our project's licensing. We will ask you to confirm the licensing of your contribution.

We may ask you to sign a [Contributor License Agreement (CLA)](http://en.wikipedia.org/wiki/Contributor_License_Agreement) for larger changes.
22 changes: 8 additions & 14 deletions NOTICE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
AWS Centralized Logging Solution
AWS Centralized Logging

Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Licensed under the Apache License Version 2.0 (the "License"). You may not use this file except
in compliance with the License. A copy of the License is located at http://www.apache.org/licenses/
or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
Expand All @@ -12,15 +12,9 @@ THIRD PARTY COMPONENTS
**********************
This software includes third party software subject to the following copyrights:

AWS SDK under the Apache License Version 2.0
aws-sdk-mock under the Apache License Version 2.
chai under the Massachusetts Institute of Technology (MIT) license
https under the Massachusetts Institute of Technology (MIT) license
mocha under the Massachusetts Institute of Technology (MIT) license
moment under the Massachusetts Institute of Technology (MIT) license
npm-run-all under the Massachusetts Institute of Technology (MIT) license
nyc under the ISC License
sinon under The 3-Clause BSD License
sinon-chai under The 2-Clause BSD License
stream under the Massachusetts Institute of Technology (MIT) license
uuid under the Massachusetts Institute of Technology (MIT) license
aws-sdk under Apache License 2.0
aws-cdk under Apache License 2.0
got under MIT License
moment under MIT License
uuid under MIT License
winston under MIT License
Loading

0 comments on commit a44dcfe

Please sign in to comment.