The Financial Institution is responsible for the Security in a Narmi Function section. Please review it carefully.
Security of the Cloud
AWS is responsible for the security of the AWS Cloud including the services used by Narmi Functions. These AWS services include CloudFront, CloudTrail, CloudWatch, GuardDuty, KMS, Lambda, Amazon Simple Storage Service (S3), and Shield. Attestations covering these AWS services include SOC 1, SOC 2, SOC 3, PCI, ISO 27001, and many others.
- Encryption in transit – AWS ensures that URL endpoints only support secure connections over HTTPS. As such, all ingress is encrypted with Transport Layer Security (TLS).
- Encryption at rest – AWS always encrypts files uploaded to the services used.
- AWS is protected by the AWS global network security procedures.
- AWS provides runtimes that run function code in an Amazon Linux–based execution environment. AWS is responsible for keeping software in the runtime and execution environment up to date, and deprecating runtimes when the underlying software is no longer supported.
Security in the Cloud
Narmi is responsible for ensuring that proper protections and best practices are used in our implementation of the AWS services used by Narmi Functions.
- Narmi ensures each Narmi Function execution environment has least privilege access.
- Narmi requires that each AWS Account user have MFA and limits access to the AWS Account used by Narmi Functions to appropriate personnel.
- Narmi uses AWS CloudTrail for purposes of auditing and monitoring changes to the underlying AWS services used by Narmi Functions.
- Narmi always encrypts the environment variables used by Narmi Functions at rest using AWS KMS.
- Narmi ensures no confidential or sensitive information is used in tags or free-form fields such as the AWS Lambda Function “Name” field.
- Narmi uses a 60-day retention policy for logging.
- Security of the Narmi Function service:
- Encryption in transit– Narmi ensures that all code and secrets are uploaded over secure connections using HTTPS/TLS and transmitted securely to AWS.
- Encryption at rest – Narmi requires that all code and secrets are stored using encryption (on AWS).
- Permissions – Narmi ensures that granular permissions govern the CRUD of Narmi Functions.
- Templates – Narmi must ensure that the unmodified “Templates” update any vulnerable dependencies and implement appropriate safeguards to satisfy the below Security in a Narmi Function requirements.
Security in a Narmi Function
The Financial Institution is responsible for applying best practices and securing each Narmi Function as outlined below.
- The Financial Institution is responsible for configuring the Narmi Function. This includes whether the Narmi Function has a URL.
- The Financial Institution is responsible for ensuring the code uploaded to the Narmi Function service is free of all defects and security vulnerabilities. If any additional dependencies and/or libraries are defined in the code, the Financial Institution is responsible for updating them. When AWS Lambda deprecates a runtime, the Financial Institution is responsible for migrating functions to a supported runtime.
- The Financial Institution is responsible for ensuring all secrets are set as Environment Variables in the Narmi Function service and that these Environment Variables are never logged or returned by the Function. The Financial Institution is responsible for rotating these secrets as needed.
- Execution environments are never reused across different function versions or Financial Institutions. However, a single environment can be reused between invocations of the same function version. This means data and state can persist between invocations. Data and/or state may continue to persist for hours before it is destroyed as a part of normal execution environment lifecycle management. The Financial Institution must account for this behavior in the Narmi Function code.