Skip to content

Commit

Permalink
minor fixes for arm64 and pgoc
Browse files Browse the repository at this point in the history
  • Loading branch information
mawinkler committed Aug 8, 2024
1 parent 9ee23ba commit f1e2397
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/playground-helpers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ function get_config() {
[[ "${vision_one_region}" = "null" || "${vision_one_region}" = "" ]] && vision_one_region="us-east-1"
[[ "${vision_one_cs_enabled}" = "null" || "${vision_one_cs_enabled}" = "" ]] && vision_one_cs_enabled=false
[[ "${vision_one_cs_policy}" = "null" || "${vision_one_cs_policy}" = "" ]] && vision_one_cs_policy="LogOnlyPolicy"
[[ "${vision_one_cs_group_id}" = "null" || "${vision_one_cs_group_id}" = "" ]] && vision_one_cs_group_id="00000000-0000-0000-0000-000000000000"
[[ "${vision_one_cs_group_id}" = "null" || "${vision_one_cs_group_id}" = "" ]] && vision_one_cs_group_id="00000000-0000-0000-0000-000000000001"
[[ "${vision_one_asrm_create_attackpath}" = "null" || "${vision_one_asrm_create_attackpath}" = "" ]] && vision_one_asrm_create_attackpath=false
vision_one_map_api_url ${vision_one_region}

Expand Down
2 changes: 1 addition & 1 deletion container/.PGO_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.4.2
0.4.3
9 changes: 9 additions & 0 deletions docs/getting-started/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,15 @@ Examples:
>
> `az account list | jq -r '.[] | [.name, .id] | @tsv'`

If you intent to use the Playground One user on AWS run the following commands now:

```sh
pgo --init user
pgo --apply user
```

This will create a user account in AWS with the necessary permissions only. The credetials are automatically set in the `config.yaml`.

After bootstrapping you need to configure Playground One. To simplify the process use the built in configuration tool. An eventually already existing `config.yaml` will be saved as `config.yaml.bak`. Run

```sh
Expand Down
5 changes: 5 additions & 0 deletions docs/getting-started/prepare.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,11 @@ Eventually authenticate to AWS and/or Azure by either running
```sh
# Not required when using Cloud9
aws configure

# Verify
aws s3 ls

# Should return a list of available S3 buckets
```
and/or
Expand Down
8 changes: 8 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,14 @@ Vulnerabilities | grype | See [github.com/anchore/grype](https://github.com/anch

## Change Log

***0.4.3***

*Fixes*

- Fix `pgoc` on arm64
- Update documentation for PGO user initial setup
- Update default `group_id` for Container Security on EKS clusters

***0.4.2***

*Changes*
Expand Down

0 comments on commit f1e2397

Please sign in to comment.