diff --git a/.circleci/config.yml b/.circleci/config.yml index 478ef8ff6..d0320f513 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -60,13 +60,13 @@ jobs: chmod +x komiser_windows_amd64.exe komiser_darwin_amd64 komiser_linux_amd64 - run: name: Push Linux binary - command: aws s3 cp komiser_linux_amd64 s3://komiser/2.3.0/linux/komiser --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers + command: aws s3 cp komiser_linux_amd64 s3://komiser/2.4.0/linux/komiser --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers - run: name: Push Windows binary - command: aws s3 cp komiser_windows_amd64.exe s3://komiser/2.3.0/windows/komiser --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers + command: aws s3 cp komiser_windows_amd64.exe s3://komiser/2.4.0/windows/komiser --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers - run: name: Push Mac OS X binary - command: aws s3 cp komiser_darwin_amd64 s3://komiser/2.3.0/osx/komiser --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers + command: aws s3 cp komiser_darwin_amd64 s3://komiser/2.4.0/osx/komiser --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers - run: name: Upload IAM policy command: aws s3 cp policy.json s3://komiser/policy.json --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers diff --git a/Dockerfile b/Dockerfile index f26ffb0b2..b43cb955e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM alpine:3.9.4 MAINTAINER mlabouardy -ENV VERSION 2.3.0 +ENV VERSION 2.4.0 ENV PORT 3000 ENV DURATION 30 diff --git a/Godeps/Godeps.json b/Godeps/Godeps.json index 0e7082f7c..c2042e4e9 100644 --- a/Godeps/Godeps.json +++ b/Godeps/Godeps.json @@ -341,6 +341,11 @@ "Comment": "v0.7.0-12-g80eda21", "Rev": "80eda21e3854386d2a56de1236efe984f6e687de" }, + { + "ImportPath": "github.com/digitalocean/godo", + "Comment": "v1.19.0-2-g4677563", + "Rev": "4677563d2a4e3523791598dcbd3945ead86e5c0c" + }, { "ImportPath": "github.com/elazarl/go-bindata-assetfs", "Comment": "v1.0.0-2-g38087fe", @@ -406,6 +411,11 @@ "Comment": "v1.3.1-4-ge91709a", "Rev": "e91709a02e0e8ff8b86b7aa913fdc9ae9498e825" }, + { + "ImportPath": "github.com/google/go-querystring/query", + "Comment": "v1.0.0-5-gc8c88db", + "Rev": "c8c88dbee036db4e4808d1f2ec8c2e15e11c3f80" + }, { "ImportPath": "github.com/googleapis/gax-go/v2", "Comment": "v1.0.2-1-g9e33419", diff --git a/README.md b/README.md index 4b220eeb7..10b6b535b 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,8 @@ Stay under budget by uncovering hidden costs, monitoring increases in spend, and **Discuss it on [Product Hunt](https://www.producthunt.com/posts/komiser) 🦄** +*Komiser EE is available in private beta test stage, sign in for free at [https://cloud.komiser.io](https://cloud.komiser.io)* + [![Twitter URL](https://img.shields.io/twitter/url/https/twitter.com/fold_left.svg?style=social&label=Follow%20%40Komiser)](https://twitter.com/komiseree) [![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/intent/tweet?text=Optimize%20Cost%20and%20Security%20on%20AWS&url=https://github.com/mlabouardy/komiser&via=mlabouardy&hashtags=komiser,aws,gcp,cloud,serverless,devops) **Highlights** @@ -19,7 +21,7 @@ Stay under budget by uncovering hidden costs, monitoring increases in spend, and * Analyze and manage cloud cost, usage, security, and governance in one place. * Control your usage and create visibility across all used services to achieve maximum cost-effectiveness. * Detect potential vulnerabilities that could put your cloud environment at risk. -* Get a deep understanding of how you spend on the AWS, GCP, OVH and Azure. +* Get a deep understanding of how you spend on the AWS, GCP, OVH, DigitalOcean and Azure.

@@ -37,24 +39,24 @@ Does your company use Komiser? Ask your manager or marketing team if your compa ## Download -Below are the available downloads for the latest version of Komiser (2.3.0). Please download the proper package for your operating system and architecture. +Below are the available downloads for the latest version of Komiser (2.4.0). Please download the proper package for your operating system and architecture. ### Linux: ``` -wget https://cli.komiser.io/2.3.0/linux/komiser +wget https://cli.komiser.io/2.4.0/linux/komiser ``` ### Windows: ``` -wget https://cli.komiser.io/2.3.0/windows/komiser +wget https://cli.komiser.io/2.4.0/windows/komiser ``` ### Mac OS X: ``` -wget https://cli.komiser.io/2.3.0/osx/komiser +wget https://cli.komiser.io/2.4.0/osx/komiser ``` _Note_: make sure to add the execution permission to Komiser `chmod +x komiser` @@ -67,7 +69,7 @@ brew install komiser ### Docker: ``` -docker run -d -p 3000:3000 -e AWS_ACCESS_KEY_ID="" -e AWS_SECRET_ACCESS_KEY="" -e AWS_DEFAULT_REGION="" --name komiser mlabouardy/komiser:2.3.0 +docker run -d -p 3000:3000 -e AWS_ACCESS_KEY_ID="" -e AWS_SECRET_ACCESS_KEY="" -e AWS_DEFAULT_REGION="" --name komiser mlabouardy/komiser:2.4.0 ``` ## How to use @@ -211,6 +213,25 @@ consumer_key=my_consumer_key

+### DigitalOcean + +* To generate a personal access token, log in to the [DigitalOcean Control Panel](https://cloud.digitalocean.com/). + +* Click the **API** link in the main navigation, In the **Personal access tokens** section, click the **Generate New Token** button. + +* Create a *ready-only* scope token. When you click **Generate Token**, your token will be generated. + +* Set *DIGITALOCEAN_ACCESS_TOKEN* environment variable: + +``` +export DIGITALOCEAN_ACCESS_TOKEN= +``` + +* If you point your browser to http://localhost:3000, you should be able to see your projects: + +

+ +

## Options diff --git a/dashboard/src/app/app.component.html b/dashboard/src/app/app.component.html index ae627b7ee..0d04cd597 100644 --- a/dashboard/src/app/app.component.html +++ b/dashboard/src/app/app.component.html @@ -126,7 +126,7 @@

Security

-