Skip to content

Commit 917c553

Browse files
authored
Deploy Error Fix 🎫 (#10)
* Attempting new deployment * adding different logging * removing logs * pushing changelog update
1 parent d58eeed commit 917c553

File tree

2 files changed

+4
-24
lines changed

2 files changed

+4
-24
lines changed

‎CHANGELOG.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [v1.1.1](https://github.com/NickLiffen/GSSAR/releases/v1.1.1) - 2021-12-06
9+
10+
- Removed Logging that was failing the stack build
11+
812
## [v1.1.0](https://github.com/NickLiffen/GSSAR/releases/v1.1.0) - 2021-12-06
913

1014
- Better Codespaces setup

‎template.yml‎

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,6 @@ Description: >
55
GitHub Secret Scanner Auto Remediator (GSSAR)
66
77
Resources:
8-
### Log Groups ###
9-
10-
HttpApiAccessLogs:
11-
Type: "AWS::Logs::LogGroup"
12-
13-
SecretScannerStateMachineLogGroup:
14-
Type: AWS::Logs::LogGroup
15-
Properties:
16-
RetentionInDays: 7
17-
188
### Lambda Functions ###
199

2010
## Authorizers
@@ -151,14 +141,6 @@ Resources:
151141
HttpApi:
152142
Type: AWS::Serverless::HttpApi
153143
Properties:
154-
AccessLogSettings:
155-
DestinationArn: !GetAtt HttpApiAccessLogs.Arn
156-
Format: >-
157-
{ "requestId":"$context.requestId","ip": "$context.identity.sourceIp",
158-
"requestTime":"$context.requestTime","httpMethod":"$context.httpMethod",
159-
"routeKey":"$context.routeKey","status":"$context.status",
160-
"protocol":"$context.protocol","responseLength":"$context.responseLength",
161-
"error" : $context.authorizer.error }
162144
FailOnWarnings: True
163145
RouteSettings:
164146
"POST /github/webhook/validate":
@@ -249,12 +231,6 @@ Resources:
249231
- custom.kickOffSecretScanRemediation
250232
detail-type:
251233
- transaction
252-
Logging:
253-
Destinations:
254-
- CloudWatchLogsLogGroup:
255-
LogGroupArn: !GetAtt SecretScannerStateMachineLogGroup.Arn
256-
IncludeExecutionData: true
257-
Level: ALL
258234
Policies:
259235
- LambdaInvokePolicy:
260236
FunctionName: !Ref GitHubWebhookSecretValidator

0 commit comments

Comments
 (0)