serverlessclone

command
v0.0.0-...-7d7216e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

README

serverlessclone

This tool clones any log generated by the serverless tooling that is made available over HTTP or HTTPS. See background and database setup in the parent docs.

Logs

Example commands are provided for known serverless logs below. In all cases, the mysql_uri may need tweaking to your environment. The common parameters used are:

  • server: localhost
  • user: clonetool
  • password: letmein

Each example will also have a named database. The database name picked is arbitrary at database creation.

USB Armory

https://github.com/usbarmory/armory-drive-log can be cloned into the usbarmory database using the following command:

go run ./clone/cmd/serverlessclone --v=1 --alsologtostderr \
  --url=https://raw.githubusercontent.com/usbarmory/armory-drive-log/master/log/ \
  --vkey=armory-drive-log+16541b8f+AYDPmG5pQp4Bgu0a1mr5uDZ196+t8lIVIfWQSPWmP+Jv \
  --origin="Armory Drive Prod 2" \
  --mysql_uri='clonetool:letmein@tcp(localhost)/usbarmory'
LVFS

https://fwupd.org/ is running an experimental transparency log. This can be cloned into the lvfs database using the following command:

go run ./clone/cmd/serverlessclone --v=1 --alsologtostderr \
  --url=https://fwupd.org/ftlog/lvfs/ \
  --vkey=lvfs+7908d142+ASnlGgOh+634tcE/2Lp3wV7k/cLoU6ncawmb/BLC1oMU \
  --origin=lvfs \
  --mysql_uri='clonetool:letmein@tcp(localhost)/lvfs'

Documentation

Overview

serverlessclone is a one-shot tool for downloading entries from an HTTP(s) exposed transparency log generated by the serverless tooling.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL