Skip to content

Commit fc95305

Browse files
committed
Updated with instructions on how to add file system secrets ARNs.
1 parent 803f503 commit fc95305

File tree

1 file changed

+4
-3
lines changed
  • Monitoring/ingest_nas_audit_logs_into_cloudwatch

1 file changed

+4
-3
lines changed

Monitoring/ingest_nas_audit_logs_into_cloudwatch/README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ and `DeleteNetworkInterface` actions. The correct resource line is `arn:aws:ec2:
103103
|copyToS3|No|If set to `true` it will copy the audit logs to the S3 bucket specified in `s3BucketName`.|
104104
|createWatchdogAlarm|No|If set to `true` it will create a CloudWatch alarm that will alert you if the Lambda function throws in error.|
105105
|snsTopicArn|No|The ARN of the SNS topic to send the alarm to. This is required if `createWatchdogAlarm` is set to `true`.|
106-
|fsxnSecretARNsFile|No|The name of a file within the S3 bucket that contains the Secret ARNs for each for the FSxN file systems. The format of the file should be just `<fsID>=<secretARN>`. For example: `fs-0e8d9172fa5411111=arn:aws:secretsmanager:us-east-1:123456789012:secret:fsxadmin-abc123`|
106+
|fsxnSecretARNsFile|No|The name of a file within the S3 bucket that contains the Secret ARNs for each for the FSxN file systems. The format of the file should have one line for each file system where it specifies the file system id, an equal sign, and then the Secret ARN to use. For example: `fs-0e8d9172fa5411111=arn:aws:secretsmanager:us-east-1:123456789012:secret:fsxadmin-abc123`|
107107
|fileSystem1ID|No|The ID of the first FSxN file system to ingest the audit logs from.|
108108
|fileSystem1SecretARN|No|The ARN of the secret that contains the credentials for the first FSx for Data ONTAP file system.|
109109
|fileSystem2ID|No|The ID of the second FSx for Data ONTAP file system to ingest the audit logs from.|
@@ -148,13 +148,14 @@ need to investigate and correct the issue. If you can't figure it out, please op
148148
### Add more FSx for ONTAP file systems.
149149
The way the program is written, it will automatically discover all FSxN file systems within a region,
150150
and then all the vservers under that FSxN. So, if you add another FSxN it will automatically attempt
151-
to ingest the audit files from all the vservers under it. Unfortunate, it won't be able to, until
151+
to ingest the audit files from all the vservers under it. Unfortunately, it won't be able to, until
152152
you provide a Secret ARN for that file system.
153153

154154
The best way to add a secret ARN, is to either update the secretARNs file you
155155
initially passed to the CloudFormation script, that should be in the S3 bucket you specified in
156156
the `s3BucketName` parameter, or create that file with the information for all the FSxN file systems
157-
you want to ingest the audit logs from and then store it in the S3 bucket.
157+
you want to ingest the audit logs from and then store it in the S3 bucket. See the description
158+
for the `fsxnSecretARNsFile` parameter above for the format of the file.
158159

159160
If you are creating the file for the first time, you'll also need to set the `fsxSecretARNsFile` environment variable
160161
to point to the file. You can leave all the other parameters as they are, including the `fileSystem1ID`, `fileSystem1SecretARN`, etc. ones.

0 commit comments

Comments
 (0)