Skip to content

Authoriser lambda#230

Merged
masl2 merged 42 commits into
mainfrom
feature/CCM-11600-SB
Nov 19, 2025
Merged

Authoriser lambda#230
masl2 merged 42 commits into
mainfrom
feature/CCM-11600-SB

Conversation

@stevebux

@stevebux stevebux commented Nov 7, 2025

Copy link
Copy Markdown
Contributor

Description

Context

Type of changes

  • Refactoring (non-breaking change)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would change existing functionality)
  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • I am familiar with the contributing guidelines
  • I have followed the code style of the project
  • I have added tests to cover my changes
  • I have updated the documentation accordingly
  • This PR is a result of pair or mob programming

Sensitive Information Declaration

To ensure the utmost confidentiality and protect your and others privacy, we kindly ask you to NOT including PII (Personal Identifiable Information) / PID (Personal Identifiable Data) or any other sensitive data in this PR (Pull Request) and the codebase changes. We will remove any PR that do contain any sensitive information. We really appreciate your cooperation in this matter.

  • I confirm that neither PII/PID nor sensitive data are included in this PR and the codebase changes.

@stevebux stevebux requested review from a team as code owners November 7, 2025 13:37
masl2
masl2 previously requested changes Nov 11, 2025

@masl2 masl2 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs minor target corrections - and the name of the header being used should be NHSD-Supplier-ID
Also add an alarm to the infrastructure keying on the generate cert expiry metric for visibility

Comment thread specification/api/components/x-nhsd-apim/target-attributes.yml Outdated
Comment thread scripts/utilities/supplier-data/README.md Outdated
Comment thread infrastructure/terraform/components/api/resources/spec.tmpl.json Outdated
Comment thread lambdas/authorizer/src/authorizer.ts Outdated
@masl2 masl2 mentioned this pull request Nov 12, 2025
10 tasks
@masl2 masl2 enabled auto-merge (squash) November 14, 2025 14:46
sidnhs
sidnhs previously approved these changes Nov 17, 2025
@masl2 masl2 requested a review from a team as a code owner November 17, 2025 10:20
Comment thread lambdas/authorizer/src/authorizer.ts Outdated
Comment thread lambdas/authorizer/src/__tests__/index.test.ts Outdated

@stevebux stevebux left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. (I would approve, but I can't because I created the PR)

masl2
masl2 previously approved these changes Nov 18, 2025
Comment thread package-lock.json
@masl2 masl2 merged commit cd7f36b into main Nov 19, 2025
32 checks passed
@masl2 masl2 deleted the feature/CCM-11600-SB branch November 19, 2025 09:54
masl2 added a commit that referenced this pull request Jan 5, 2026
* add product id header

* CCM-11600: supplier repository and table

* CCM-11600: cli interface for supplier repo

* CCM-11600: lock for new packages

* Update .gitleaksignore

added gitleaks ignore

* CCM-11600: fix some imports

* Add certificate expiry check

* Added supplier ID lookup

* Test fix

* Further development

* Fix dependencies

* Temp commit to force cloudwatch logging

* Removed Cloudwatch client

* Tidy up packages

* CCM-11600: correct target attr

* CCM-11600: header name, targets, add alarm

* CCM-11600: correct env ref

* CCM-11600: fix header lookup

* lockfile

* remove placeholder blurb

* fix copy pasta

* workspace refs

* lock

* CCM-11600: header references, format, name consistency

---------

Co-authored-by: David Wass <david.wass2@nhs.net>
Co-authored-by: Mark Slowey <113013138+masl2@users.noreply.github.com>
Co-authored-by: Mark Slowey <mark.slowey1@nhs.net>
Co-authored-by: Tim Ireland <tim.ireland@hscic.gov.uk>
Signed-off-by: Mark Slowey <mark.slowey1@nhs.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants