-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathaudit-manager.yml
29 lines (29 loc) · 919 Bytes
/
audit-manager.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Description: AWS Audit Manager demo
Resources:
S3Bucket:
Type: 'AWS::S3::Bucket'
DeletionPolicy: Delete
Properties:
BucketName: !Sub ${AWS::StackName}-${AWS::AccountId}
Assessment:
Type: AWS::AuditManager::Assessment
Properties:
FrameworkId: "067999dd-6933-3707-96c8-e4bce8f1a60b"
AssessmentReportsDestination:
Destination: !Sub s3://${S3Bucket}
DestinationType: S3
AwsAccount:
Id: !Ref AWS::AccountId
Name: !Ref AWS::StackName
Scope:
AwsAccounts:
- Id: !Ref AWS::AccountId
AwsServices:
- ServiceName: a4b
- ServiceName: acm
- ServiceName: acm-pca
- ServiceName: amazonmq
- ServiceName: amplify
Roles:
- RoleArn: !Sub arn:aws:iam::${AWS::AccountId}:role/aws-service-role/auditmanager.amazonaws.com/AWSServiceRoleForAuditManager
RoleType: PROCESS_OWNER