Skip to content

Inspect sudoreplay backups stored in remote S3 buckets.

License

Notifications You must be signed in to change notification settings

kronostechnologies/exegol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Exegol

What is this ?

Starts an s3fs container mounting an s3 bucket containing sudoreplay backups. You can run sudoreplay commands against the container with exegol's "replay" subcommand.
The tool is designed to have environments in separate buckets, access can be restricted for users.

Build exegol image.

docker build -t kronostechnologies/exegol .

Or pull it from docker hub.

docker pull kronostechnologies/exegol

Environment variables

These can be placed in ~/.exegol

AWS_CREDS

Credentials configured in your local ~/.aws/credentials.

S3_BUCKET_PREFIX

This string will be prepended to form the bucket name.

S3_BUCKET_SUFFIX

This string will be appended to form the bucket name.

S3_BUCKET

Specify a static s3-bucket name, if needed.

Examples

IAM policy example

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "Statement",
            "Effect": "Allow",
            "Action": [
                "s3:ListBucket",
                "s3:ListObjects",
                "s3:GetObject"
            ],
            "Resource": [
                "arn:aws:s3:::prefix-env-suffix/*",
                "arn:aws:s3:::prefix-env-suffix"
            ]
        }
    ]
}

Bootstrap an environment.

./exegol bootstrap __environment__

Run sudoreplay at a bootstrapped environment.

./exegol replay __environment__ -l

Display bootstrapped environments.

./exegol status

Destroy previously bootstrapped environment.

./exegol destroy __environment__

Displays help.

./exegol help

About

Inspect sudoreplay backups stored in remote S3 buckets.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published