From 79ab9b15a8645920b738bae166dbb2fd0de906ab Mon Sep 17 00:00:00 2001 From: Ivan Milchev Date: Fri, 13 Oct 2023 12:57:38 +0300 Subject: [PATCH] update readme Signed-off-by: Ivan Milchev --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index d74024cf0..3d1d37887 100644 --- a/README.md +++ b/README.md @@ -57,6 +57,16 @@ Many files (documentation, manifests, ...) are auto-generated. Before proposing 2. Run `make generate` and `make test`. 3. Commit the generated changes. +### Running the integration tests locally +To run the integration tests locally copy the `.env.example` file: +```bash +cp .env.example .env +``` +Go to the Mondoo platform and create an API token for an organization of choice. Add the API token to the `.env` file. Double-check that the API is set to the correct environment, then run: +```bash +make test/integration +``` + ## Security If you find a security vulnerability related to the Mondoo Operator, please do not report it by opening a GitHub issue. Instead, send an e-mail to [security@mondoo.com](mailto:security@mondoo.com)