-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
86 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
# AWS Instance Identity Attestor | ||
|
||
The AWS Instance Identity Attestor communicates with the AWS Instance Metadata to collect | ||
information about the instance Witness is being executed on. The documents signature is | ||
The AWS (Amazon Web Services) Instance Identity Attestor communicates with the AWS Instance Metadata to collect | ||
information about the AWS instance Witness on which executing. The document signature is | ||
verified with the AWS RSA public certificate available [here](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/verify-signature.html). | ||
This currently does not work for the Hong Kong, Bahrain, Cape Town, Milan, China, or | ||
This verification method currently does not work for the Hong Kong, Bahrain, Cape Town, Milan, China, or | ||
GovCloud regions. | ||
|
||
## Subjects | ||
|
||
| Subject | Description | | ||
| ------- | ----------- | | ||
| `instanceid` | The ID of the instance Witness was executed on | | ||
| `instanceid` | The ID of the AWS instance where Witness was executed | | ||
| `accountid` | ID of the account that owns the AWS instance | | ||
| `imageid` | ID of the AMI the instance was running at time of execution | | ||
| `privateip` | IP of the instance at time of execution | | ||
| `imageid` | ID of the AMI ([Amazon Machine Image](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AMIs.html)) the instance was running at time of execution | | ||
| `privateip` | IP address of the instance at time of execution | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
# Command Attestor | ||
|
||
The command attestor collects information about a command that witness executes and observes. | ||
The command's arguments, exit code, stdout, and stderr will be collected and added to the attestation. | ||
The Command Attestor collects information about a command that TestifySec Witness executes and observes. | ||
The command arguments, exit code, stdout, and stderr will be collected and added to the attestation. | ||
|
||
Witness can optionally trace the command which will record all subprocesses started by the parent process | ||
as well as all files opened by all processes. Please note that tracing is currently only supported on | ||
Linux operating systems and is considered experimental for now. | ||
as well as all files opened by all processes. Please note that tracing is currently supported only on | ||
Linux operating systems and is considered experimental. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Environment | ||
# Environment Attestor | ||
|
||
The environment attestor records the OS, hostname, username, and all environment variables set | ||
of witness at execution time. There is currently no way to block specific environment variables | ||
so please take care to not leak secrets stored in environment variables. | ||
The Environment Attestor records the OS, hostname, username, and all environment variables set | ||
by TestifySec Witness at execution time. Currently there is no means to block specific environment variables | ||
so take care to not leak secrets stored in environment variables. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
# GCP Instance Identity Attestor | ||
|
||
The GCP Instance Identity Attestor communicates with the GCP metadata server to collect information | ||
about the instance Witness is being exected on. The instance identity JWT's signature is validated | ||
against Google's JWKS to ensure authenticity. | ||
The [Google Cloud Platform](https://console.cloud.google.com/getting-started?supportedpurview=project) (GCP) Instance Identity Attestor communicates with the [GCP metadata server](https://cloud.google.com/appengine/docs/standard/java/accessing-instance-metadata) to collect information | ||
about the instance on which TestifySec Witness is being exected. The instance identity JSON Web Token signature is validated | ||
against Google's JWKS ([JSON Web Key Set](https://auth0.com/docs/secure/tokens/json-web-tokens/json-web-key-sets)) to ensure authenticity. | ||
|
||
## Subjects | ||
|
||
| Subject | Description | | ||
| ------- | ----------- | | ||
| `instanceid` | ID of the Google Compute instance Witness was executed on | | ||
| `instancename` | Name of the Compute instance Witness was executed on | | ||
| `projectid` | The ID of the project that the instance belonged to | | ||
| `projectnumber` | Number of the project that the instance belonged to | | ||
| `clusteruid` | UID of the cluster if the execution enviornment was a GKE clister | | ||
| `instanceid` | ID of the Google Compute instance on which Witness was executed | | ||
| `instancename` | Name of the Compute instance on which Witness was executed | | ||
| `projectid` | The ID of the project to which the instance belonged | | ||
| `projectnumber` | Number of the project to which the instance belonged | | ||
| `clusteruid` | UID of the cluster if the execution environment was a [Google Kubernetes Engine](https://cloud.google.com/kubernetes-engine) (GKE) cluster | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
# Git Attestor | ||
|
||
The Git attestor records the current state of the objects in the git repository, including untracked objects. | ||
The Git Attestor records the current state of the objects in the git repository, including untracked objects. | ||
Both staged and unstaged states are recorded. | ||
|
||
|
||
## Subjects | ||
|
||
The attestor returns the SHA1 git commit hash as a subject. | ||
The attestor returns the SHA1 ([Secure Hash Algorithm 1](https://en.wikipedia.org/wiki/SHA-1)) git commit hash as a subject. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
# Gitlab Attestor | ||
# GitLab Attestor | ||
|
||
The Gitlab attestor records information about the Gitlab CI/CD job execution that | ||
Witness was run in. Witness verifies the JWT provided in `CI_JOB_JWT` against the | ||
instance's JWKS to ensure authenticity at execution time. | ||
The [GitLab](https://about.gitlab.com/) Attestor records information about the GitLab CI/CD job execution in which | ||
TestifySec Witness was run. Witness verifies the JWT ([JSON Web Token](https://en.wikipedia.org/wiki/JSON_Web_Token)) provided in `CI_JOB_JWT` against the | ||
instance's JWKS ([JSON Web Key Set](https://auth0.com/docs/secure/tokens/json-web-tokens/json-web-key-sets)) to ensure authenticity at execution time. | ||
|
||
## Subjects | ||
|
||
| Subject | Description | | ||
| ------- | ----------- | | ||
| `pipelineurl` | Url of the CI/CD pipeline that this job belonged to | | ||
| `joburl` | Url of the CI/CD job that this attestor describes | | ||
| `projecturl` | Url of the project that owns the CI/CD pipeline and job | | ||
| `pipelineurl` | URL of the CI/CD pipeline to which this job belonged | | ||
| `joburl` | URL of the CI/CD job that this attestor describes | | ||
| `projecturl` | URL of the project that owns the CI/CD pipeline and job | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# JWT Attestor | ||
|
||
The JWT attestor verifies a JWT against a JWKS and records information about the | ||
The JWT ([JSON Web Token](https://en.wikipedia.org/wiki/JSON_Web_Token)) Attestor verifies a JWT against a JWKS ([JSON Web Key Set](https://auth0.com/docs/secure/tokens/json-web-tokens/json-web-key-sets)) and records information about the | ||
claims of the JWT. The JWK that was used to verify the JWT is also recorded. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Material Attestor | ||
|
||
The material attestor records the digests of all files in the working directory of Witness | ||
at exection time, but before any command is run. This gives information about the state | ||
The Material Attestor records the digests of all files in the working directory of TestifySec Witness | ||
at exection time, but before any command is run. This recording provides information about the state | ||
of all files before any changes are made by a command. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
# Maven Attestor | ||
|
||
The Maven attestor records project and dependency information from a provided pom.xml. | ||
The [Maven](https://maven.apache.org/) Attestor records project and dependency information from a provided pom.xml ([Maven Project Object Model](https://maven.apache.org/guides/introduction/introduction-to-the-pom.html)). | ||
|
||
## Subjects | ||
|
||
| Subject | Description | | ||
| ------- | ----------- | | ||
| `project:group/artifact@version` | The group, artifact, and version of the project that the pom.xml belongs to | | ||
| `project:group/artifact@version` | The group, artifact, and version of the project to which the pom.xml belongs | | ||
| `dependency:group/artifact@version` | The group, artifact, and verion of each dependency in the pom.xml | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.