Skip to content

Commit

Permalink
Merge pull request #389 from kklin/rm-demo
Browse files Browse the repository at this point in the history
Remove demo badge
  • Loading branch information
Cesar Rodriguez authored Nov 17, 2020
2 parents 6b484b1 + f536982 commit 25d5b56
Showing 1 changed file with 0 additions and 54 deletions.
54 changes: 0 additions & 54 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
[![codecov](https://codecov.io/gh/accurics/terrascan/branch/master/graph/badge.svg)](https://codecov.io/gh/accurics/terrascan)
[![community](https://img.shields.io/discourse/status?server=https%3A%2F%2Fcommunity.accurics.com)](https://community.accurics.com)
[![Documentation Status](https://readthedocs.com/projects/accurics-terrascan/badge/?version=latest)](https://docs.accurics.com/projects/accurics-terrascan/en/latest/?badge=latest)
[![Blimp demo badge](https://blimpup.io/demo-badge.svg?repo=https://github.com/accurics/terrascan.git)](https://blimpup.io/preview-env/?repo=https://github.com/accurics/terrascan.git&composeFiles=deploy/docker-compose.yml&port=terrascan:9010)


Detect compliance and security violations across Infrastructure as Code to mitigate risk before provisioning cloud native infrastructure.

Expand Down Expand Up @@ -72,58 +70,6 @@ $ make build
$ ./bin/terrascan
```

### Demoing
If you want to play around with Terrascan without running it locally, you can
[boot a personal demo copy
](https://blimpup.io/preview-env/?repo=https://github.com/accurics/terrascan.git&composeFiles=deploy/docker-compose.yml&port=terrascan:9010)
from your browser without downloading or setting up anything.

1. Click the [demo
link](https://blimpup.io/preview-env/?repo=https://github.com/accurics/terrascan.git&composeFiles=deploy/docker-compose.yml&port=terrascan:9010)
to boot this repo in the Blimp cloud.

1. Once the sandbox is booted, get its public URL by clicking "Connect" on the terrascan service on the left.

The page will 404, but that's OK because we just need the domain name to
create our URL that we'll hit with `curl`.

1. Run the following command in your terminal to scan a simple Terraform file.
Make sure to replace `<YOUR PUBLIC URL>` with the URL from the previous
step.

```
curl -i -F "file=@-" https://<YOUR PUBLIC URL>/v1/terraform/v12/aws/local/file/scan << EOF
variable "my-variable" {
default = "default"
type = string
}
EOF
```

The full URL will look something like `https://a98c0197112b7a4a96b72ea21ac0802b.blimp.dev/v1/terraform/v12/aws/local/file/scan`.

The command will output something like this:
```
{
"ResourceConfig": {},
"Violations": {
"results": {
"violations": [],
"count": {
"low": 0,
"medium": 0,
"high": 0,
"total": 0
}
}
}
}
```

See the [server mode
docs](https://docs.accurics.com/projects/accurics-terrascan/en/latest/getting-started/#server-mode)
for more information on how to use the server endpoints.

## Getting started

To scan your code for security issues you can run the following
Expand Down

0 comments on commit 25d5b56

Please sign in to comment.