Skip to content

LFX Security AWS lambda wrapper around the Repository Reporting Tool

License

MIT, CC-BY-4.0 licenses found

Licenses found

MIT
LICENSE
CC-BY-4.0
LICENSE-docs
Notifications You must be signed in to change notification settings

LFX-Engineering/lfx-security-repo-report

Repository files navigation

LFX Security Repository Report

This tool wraps the Repository Reporting tool as an AWS lambda so that we can generate the report for each active project/repository onboarded within LFX Security. The tool accepts a payload with details on the project, repository and GitHub authorization. Once the tool performs the analysis, the results are packaged up and sent to the LFX Security API for storage and later retrieval.

Deployment

yarn deploy:dev

Command Line Testing

# First: Log into your AWS account for the appropriate environment
# Second: invoke using the desired payload, adjust the target repository and provide a GitHub authorization token value
aws --region us-east-2 lambda invoke \
  --function-name lfx-security-repo-report \
  --cli-binary-format raw-in-base64-out \
  --payload '{"project_id":"...", "project_sfid": "...", "repository_id": "...", "repository_url":"github.com/communitybridge/easycla", "github_auth_token":"ghs_XXXX..."}' \
  out.txt

References

License

Copyright The Linux Foundation and each contributor to LFX.

This project’s source code is licensed under the MIT License. A copy of the license is available in LICENSE.

The project leverages source code from the Open Source Security Foundation's (OSSF) - Criticality Score, which is licensed under the Apache License, version 2.0 (Apache-2.0),

This project’s documentation is licensed under the Creative Commons Attribution 4.0 International License (CC-BY-4.0). A copy of the license is available in LICENSE-docs.

About

LFX Security AWS lambda wrapper around the Repository Reporting Tool

Resources

License

MIT, CC-BY-4.0 licenses found

Licenses found

MIT
LICENSE
CC-BY-4.0
LICENSE-docs

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published