Skip to content

Commit d411a9e

Browse files
authored
Merge pull request #227 from aws-solutions/release/v3.2.2
Add AppRegistry integration
2 parents a7d940f + 850eb29 commit d411a9e

File tree

2 files changed

+68
-0
lines changed

2 files changed

+68
-0
lines changed

CHANGELOG.md

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

6+
## [3.2.2] - 2022-12-05
7+
### Added
8+
- Added AppRegistry integration
69
## [3.2.1] - 2022-08-30
710
### Added
811
- Added support for configuring oversize handling for requests components

deployment/aws-waf-security-automations.template

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,9 @@ Mappings:
364364
QueryScheduledRunTime: 5 # by default athena query runs every 5 minutes, update it if needed
365365
UserAgent:
366366
UserAgentExtra: 'AwsSolution/SO0006/%VERSION%'
367+
AppRegistry:
368+
AppRegistryApplicationName: 'waf-security-automations'
369+
SolutionName: 'WAF Security Automations'
367370

368371

369372
Resources:
@@ -2222,6 +2225,68 @@ Resources:
22222225
FunctionName: !GetAtt RemoveExpiredIP.Arn
22232226
StartingPosition: LATEST
22242227

2228+
# AppRegistry Application
2229+
Application:
2230+
Type: AWS::ServiceCatalogAppRegistry::Application
2231+
Properties:
2232+
Description: Service Catalog application to track and manage all your resources for the solution WAF Security Automations. The SolutionID is SO0006 and SolutionVersion is %VERSION%.
2233+
Name:
2234+
!Join
2235+
- "-"
2236+
- - !FindInMap [Solution, AppRegistry, "AppRegistryApplicationName"]
2237+
- !Ref AWS::Region
2238+
- !Ref AWS::AccountId
2239+
- !Ref AWS::StackName
2240+
Tags: {
2241+
'Solutions:SolutionID': !FindInMap [Solution, Data, "SolutionID"],
2242+
'Solutions:SolutionVersion': "%VERSION%",
2243+
'Solutions:SolutionName': !FindInMap [Solution, AppRegistry, "SolutionName"],
2244+
'Solutions:ApplicationType': 'AWS-Solutions',
2245+
}
2246+
2247+
AppRegistryApplicationStackAssociation:
2248+
Type: AWS::ServiceCatalogAppRegistry::ResourceAssociation
2249+
Properties:
2250+
Application: !GetAtt Application.Id
2251+
Resource:
2252+
!Ref AWS::StackId
2253+
ResourceType: CFN_STACK
2254+
2255+
AppRegistryApplicationStackAssociationNestedStackWebACL:
2256+
Type: AWS::ServiceCatalogAppRegistry::ResourceAssociation
2257+
Properties:
2258+
Application: !GetAtt Application.Id
2259+
Resource:
2260+
!Ref WebACLStack
2261+
ResourceType: CFN_STACK
2262+
2263+
AppRegistryApplicationStackAssociationNestedStackFirehoseAthena:
2264+
Type: AWS::ServiceCatalogAppRegistry::ResourceAssociation
2265+
Condition: CreateFirehoseAthenaStack
2266+
Properties:
2267+
Application: !GetAtt Application.Id
2268+
Resource:
2269+
!Ref FirehoseAthenaStack
2270+
ResourceType: CFN_STACK
2271+
2272+
DefaultApplicationAttributes:
2273+
Type: AWS::ServiceCatalogAppRegistry::AttributeGroup
2274+
Properties:
2275+
Name: !Ref AWS::StackName
2276+
Description: Attribute group for solution information.
2277+
Attributes:
2278+
{ "ApplicationType" : 'AWS-Solutions',
2279+
"Version": "%VERSION%",
2280+
"SolutionID": !FindInMap [Solution, Data, "SolutionID"],
2281+
"SolutionName": !FindInMap [Solution, AppRegistry, "SolutionName"]
2282+
}
2283+
2284+
AppRegistryApplicationAttributeAssociation:
2285+
Type: AWS::ServiceCatalogAppRegistry::AttributeGroupAssociation
2286+
Properties:
2287+
Application: !GetAtt Application.Id
2288+
AttributeGroup: !GetAtt DefaultApplicationAttributes.Id
2289+
22252290
Outputs:
22262291
BadBotHoneypotEndpoint:
22272292
Description: Bad Bot Honeypot Endpoint

0 commit comments

Comments
 (0)