Skip to content

Webhook Logging - #1369

Closed
mcaulifn wants to merge 26 commits into
github-aws-runners:developfrom
mcaulifn:mcaulifn/webhook-logging-2
Closed

mcaulifn wants to merge 26 commits into
github-aws-runners:developfrom
mcaulifn:mcaulifn/webhook-logging-2

Conversation

@mcaulifn

@mcaulifn mcaulifn commented Nov 2, 2021 •

Copy link
Copy Markdown
Contributor
  • Move metadata to JSON object for more structured logging
  • Add additional detail to logs
  • Use supportedEvents list to quickly exit if not supported
  • Making handle function definition consistent with other functions in lambda

@mcaulifn
mcaulifn marked this pull request as draft November 2, 2021 20:10
@mcaulifn mcaulifn changed the title Mcaulifn/webhook logging 2 Webhook Logging Nov 3, 2021
@mcaulifn

mcaulifn commented Nov 3, 2021

Copy link
Copy Markdown
Contributor Author

Keeping this draft until #1228 is merged

@mcaulifn
mcaulifn marked this pull request as ready for review November 8, 2021 13:05
@npalm
npalm self-requested a review November 9, 2021 08:20
mcaulifn and others added 24 commits November 9, 2021 10:35
Signed-off-by: Nathaniel McAuliffe <[email protected]>
Signed-off-by: Nathaniel McAuliffe <[email protected]>
Signed-off-by: Nathaniel McAuliffe <[email protected]>
Signed-off-by: Nathaniel McAuliffe <[email protected]>
…nners#1228)

* feat(log): Adding Support for JSON logging

* Passing in log_type to other lambdas

* Casting e as Error

* Add log_level variable, fix formatting

* Correcting failed resolution

* Using latest releases for testing

* Passing in log_level to sub-modules

* Update terraform.yml

* Manually removing `node-fetch`

* Moving logger object to new file

* Resolving merge from develop
Wouldn't be a conflict resolve without a miss

* Logging when job is not queued

* Updating handler names

Signed-off-by: Nathaniel McAuliffe <[email protected]>
…nners#1324)

* feat: dist bucket SSE config

* fixup! feat: dist bucket SSE config

Signed-off-by: Nathaniel McAuliffe <[email protected]>
Add provenance file for releases.

SLSA level 1

Signed-off-by: Nathaniel McAuliffe <[email protected]>
Signed-off-by: Nathaniel McAuliffe <[email protected]>
…ers#1387)

Bumps [nock](https://github.com/nock/nock) from 13.1.4 to 13.2.0.
- [Release notes](https://github.com/nock/nock/releases)
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md)
- [Commits](nock/nock@v13.1.4...v13.2.0)

---
updated-dependencies:
- dependency-name: nock
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: Nathaniel McAuliffe <[email protected]>
Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.1019.0 to 2.1023.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](aws/aws-sdk-js@v2.1019.0...v2.1023.0)

---
updated-dependencies:
- dependency-name: aws-sdk
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: Nathaniel McAuliffe <[email protected]>
…ers#1391)

Bumps [nock](https://github.com/nock/nock) from 13.1.4 to 13.2.0.
- [Release notes](https://github.com/nock/nock/releases)
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md)
- [Commits](nock/nock@v13.1.4...v13.2.0)

---
updated-dependencies:
- dependency-name: nock
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: Nathaniel McAuliffe <[email protected]>
…unners#1395)

Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.1019.0 to 2.1024.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](aws/aws-sdk-js@v2.1019.0...v2.1024.0)

---
updated-dependencies:
- dependency-name: aws-sdk
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: Nathaniel McAuliffe <[email protected]>
…ithub-aws-runners#1386)

Bumps [philips-labs/slsa-provenance-action](https://github.com/philips-labs/slsa-provenance-action) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/philips-labs/slsa-provenance-action/releases)
- [Changelog](https://github.com/philips-labs/slsa-provenance-action/blob/main/.goreleaser.yml)
- [Commits](philips-labs/slsa-provenance-action@v0.2.0...v0.2.2)

---
updated-dependencies:
- dependency-name: philips-labs/slsa-provenance-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: Nathaniel McAuliffe <[email protected]>
…unners#1396)

Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.1019.0 to 2.1024.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](aws/aws-sdk-js@v2.1019.0...v2.1024.0)

---
updated-dependencies:
- dependency-name: aws-sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: Nathaniel McAuliffe <[email protected]>
…s-runners#1392)

Bumps [aws-lambda](https://github.com/awspilot/cli-lambda-deploy) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/awspilot/cli-lambda-deploy/releases)
- [Changelog](https://github.com/awspilot/cli-lambda-deploy/blob/master/ChangeLog)
- [Commits](awspilot/cli-lambda-deploy@v1.0.6...v1.0.7)

---
updated-dependencies:
- dependency-name: aws-lambda
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: Nathaniel McAuliffe <[email protected]>
* feat: support single line private keys

* docs: docs for the new key storage options

* docs: use original doc style

* style: use single quotes

* chore: fmt ts files

* docs: use original language more

* docs: use the original language more

* fix: use correct char code for new line

Co-authored-by: Callum <[email protected]>
Signed-off-by: Nathaniel McAuliffe <[email protected]>
@mcaulifn
mcaulifn force-pushed the mcaulifn/webhook-logging-2 branch from 9bc7f0a to 0dd7321 Compare November 9, 2021 15:42
@mcaulifn

mcaulifn commented Nov 9, 2021

Copy link
Copy Markdown
Contributor Author

Closing in favor of #1401

@mcaulifn mcaulifn closed this Nov 9, 2021
@mcaulifn
mcaulifn deleted the mcaulifn/webhook-logging-2 branch November 9, 2021 18:37
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