Skip to content

Commit f28e76f

Browse files
feat: add collect traces command (#2645)
Co-authored-by: svcAPLBot <174728082+svcAPLBot@users.noreply.github.com>
1 parent dd06a12 commit f28e76f

File tree

26 files changed

+925
-160
lines changed

26 files changed

+925
-160
lines changed

.cspell.json

Lines changed: 4 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,10 @@
11
{
22
"version": "0.2",
33
"allowCompoundWords": true,
4-
"enableFiletypes": [
5-
"dockerfile",
6-
"md",
7-
"yaml"
8-
],
9-
"enabledLanguageIds": [
10-
"json",
11-
"jsonc",
12-
"markdown",
13-
"typescript",
14-
"typescriptreact",
15-
"yaml",
16-
"yml"
17-
],
18-
"ignorePaths": [
19-
"CHANGELOG.md",
20-
"*.json"
21-
],
22-
"ignoreRegExpList": [
23-
"/'s\\b/"
24-
],
4+
"enableFiletypes": ["dockerfile", "md", "yaml"],
5+
"enabledLanguageIds": ["json", "jsonc", "markdown", "typescript", "typescriptreact", "yaml", "yml"],
6+
"ignorePaths": ["CHANGELOG.md", "*.json"],
7+
"ignoreRegExpList": ["/'s\\b/"],
258
"ignoreWords": [
269
"adrs",
2710
"trivy",

.devcontainer/devcontainer.json

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
11
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
22
// https://github.com/microsoft/vscode-dev-containers/tree/v0.191.1/containers/docker-existing-dockerfile
33
{
4-
"name": "Existing Dockerfile",
4+
"name": "Existing Dockerfile",
55

6-
// Sets the run context to one level up instead of the .devcontainer folder.
7-
"context": "..",
6+
// Sets the run context to one level up instead of the .devcontainer folder.
7+
"context": "..",
88

9-
// Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename.
10-
"dockerFile": "../Dockerfile",
9+
// Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename.
10+
"dockerFile": "../Dockerfile",
1111

12-
// Set *default* container specific settings.json values on container create.
13-
"settings": {},
14-
15-
// Add the IDs of extensions you want installed when the container is created.
16-
"extensions": []
12+
// Set *default* container specific settings.json values on container create.
13+
"settings": {},
1714

18-
// Use 'forwardPorts' to make a list of ports inside the container available locally.
19-
// "forwardPorts": [],
15+
// Add the IDs of extensions you want installed when the container is created.
16+
"extensions": []
2017

21-
// Uncomment the next line to run commands after the container is created - for example installing curl.
22-
// "postCreateCommand": "apt-get update && apt-get install -y curl",
18+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
19+
// "forwardPorts": [],
2320

24-
// Uncomment when using a ptrace-based debugger like C++, Go, and Rust
25-
// "runArgs": [ "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined" ],
21+
// Uncomment the next line to run commands after the container is created - for example installing curl.
22+
// "postCreateCommand": "apt-get update && apt-get install -y curl",
2623

27-
// Uncomment to use the Docker CLI from inside the container. See https://aka.ms/vscode-remote/samples/docker-from-docker.
28-
// "mounts": [ "source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind" ],
24+
// Uncomment when using a ptrace-based debugger like C++, Go, and Rust
25+
// "runArgs": [ "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined" ],
2926

30-
// Uncomment to connect as a non-root user if you've added one. See https://aka.ms/vscode-remote/containers/non-root.
31-
// "remoteUser": "vscode"
27+
// Uncomment to use the Docker CLI from inside the container. See https://aka.ms/vscode-remote/samples/docker-from-docker.
28+
// "mounts": [ "source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind" ],
29+
30+
// Uncomment to connect as a non-root user if you've added one. See https://aka.ms/vscode-remote/containers/non-root.
31+
// "remoteUser": "vscode"
3232
}

.github/dependabot.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ updates:
1818
groups:
1919
npm-dependencies:
2020
patterns:
21-
- "*"
21+
- '*'
2222
update-types:
23-
- "minor"
24-
- "patch"
23+
- 'minor'
24+
- 'patch'
2525

2626
# Docker
2727
- package-ecosystem: 'docker'
@@ -36,10 +36,10 @@ updates:
3636
groups:
3737
docker-dependencies:
3838
patterns:
39-
- "*"
39+
- '*'
4040
update-types:
41-
- "minor"
42-
- "patch"
41+
- 'minor'
42+
- 'patch'
4343
ignore:
4444
- dependency-name: 'node'
4545
versions: ['>=23']
@@ -57,7 +57,7 @@ updates:
5757
groups:
5858
github-actions-dependencies:
5959
patterns:
60-
- "*"
60+
- '*'
6161
update-types:
62-
- "minor"
63-
- "patch"
62+
- 'minor'
63+
- 'patch'

.github/stale.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ daysUntilClose: 7
55
# Issues with these labels will never be considered stale
66
exemptLabels:
77
- pinned
8-
# Set to true to ignore issues with an assignee (defaults to false)
8+
# Set to true to ignore issues with an assignee (defaults to false)
99
exemptAssignees: true
1010
# Only mark stale when these labels are found
1111
onlyLabels:
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
wizApiToken:
2-
clientId: "__WIZ_CLIENT_ID__"
3-
clientToken: "__WIZ_CLIENT_TOKEN__"
4-
clientEndpoint: ""
2+
clientId: '__WIZ_CLIENT_ID__'
3+
clientToken: '__WIZ_CLIENT_TOKEN__'
4+
clientEndpoint: ''
55
wiz-kubernetes-connector:
66
enabled: true
77
autoCreateConnector:
8-
connectorName: "<connectorName>"
8+
connectorName: '<connectorName>'
99
webhook:
10-
clusterExternalId: "<clusterExternalId>"
10+
clusterExternalId: '<clusterExternalId>'
1111
wiz-admission-controller:
1212
enabled: true
1313
kubernetesAuditLogsWebhook:
14-
enabled: true
14+
enabled: true
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
global:
22
wizApiToken:
3-
clientId: "__WIZ_CLIENT_ID__"
4-
clientToken: "__WIZ_CLIENT_TOKEN__"
5-
clientEndpoint: ""
3+
clientId: '__WIZ_CLIENT_ID__'
4+
clientToken: '__WIZ_CLIENT_TOKEN__'
5+
clientEndpoint: ''
66

77
wiz-kubernetes-connector:
88
enabled: true
99
autoCreateConnector:
10-
connectorName: "<connectorName>"
11-
clusterExternalId: "<clusterExternalId>"
10+
connectorName: '<connectorName>'
11+
clusterExternalId: '<clusterExternalId>'
1212
wiz-broker:
1313
enabled: true
1414

1515
wiz-sensor:
1616
enabled: true
1717
imagePullSecret:
1818
create: false
19-
name: "sensor-image-pull"
19+
name: 'sensor-image-pull'
2020

2121
wiz-admission-controller:
2222
enabled: true
@@ -27,4 +27,4 @@ wiz-admission-controller:
2727
imageIntegrityWebhook:
2828
enabled: false
2929
policies:
30-
- my-image-trust-policy
30+
- my-image-trust-policy

.github/workflows/dependabot-auto-approve.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ jobs:
1616
- name: Auto approve dependabot PRs
1717
uses: hmarr/auto-approve-action@v4
1818
with:
19-
github-token: ${{ secrets.GITHUB_TOKEN }}
19+
github-token: ${{ secrets.GITHUB_TOKEN }}

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,15 @@
2121
## Getting started
2222

2323
### Step 1: [Install the App Platform](https://apl-docs.net/docs/get-started/installation/overview)
24+
2425
Install the App Platform on Linode Kubernetes Engine (LKE) or any other conformant Kubernetes cluster.
2526

2627
### Step 2: [Follow the post installation steps ](https://apl-docs.net/docs/get-started/installation/post-installation-steps)
28+
2729
Configure the App Platform for your use case.
2830

2931
### Step 3: [Explore the App Platform using the Labs](https://apl-docs.net/docs/get-started/labs/overview)
32+
3033
Explore the App Platform with a comprehensive set of hands-on labs.
3134

3235
## Akamai Application Platform supports

SECURITY.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,3 @@ We only want to support forward fixing of our code, so please always upgrade whe
66
A lot of vulnerabilities are automatically closed when we upgrade the open source solutions in our code base.
77
We only make explicit mention of vulnerabilities mentioned to us and or fixed by us to allow for tracking.
88
Read the changelog to see what security related issues have been solved, if any.
9-

adr/index.md

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
1-
# Architectural Decision Log
2-
3-
This log lists the architectural decisions for apl-core.
4-
5-
<!-- adrlog -- Regenerate the content by using "npm run adr". -->
6-
7-
- [ADR-2020-10-01](2020-10-01-github-workflow.md) - Our GitHub workflow
8-
- [ADR-2020-10-02](2020-10-02-docker-compose.md) - docker compose
9-
- [ADR-2020-11-06](2020-11-06-bash-style-guide.md) - Bash coding standard
10-
- [ADR-2020-11-06](2020-11-06-konstraint-policy-library.md) - Konstraint library to support Common Rego Language definitions
11-
- [ADR-2021-10-18](2021-10-18-defaults-and-derived.md) - Derived values
12-
- [ADR-2021-10-28](2021-10-28-internal-values.md) - Internal values
13-
- [ADR-2022-03-24](2022-03-24-custom-ca.md) - urice:
14-
- [ADR-2022-04-22](2022-04-22-values-migration.md) - Values migration
15-
- [ADR-2022-04-23](2022-04-23-pre-upgrade.md) - A new otomi pre-upgrade command
16-
- [ADR-2022-05-17](2022-05-17-destroy-upon-uninstall.md) - Extra flags to accomodate destroy upon uninstall
17-
- [ADR-2022-06-07](2022-06-07-ingress-classes.md) - Ingress classes
18-
- [ADR-2022-07-02](2022-07-02-node-affinity.md) - Node affinity
19-
- [ADR-2022-08-26](2022-08-26-other-dns-provider.md) - Other DNS provider
20-
21-
<!-- adrlogstop -->
22-
23-
For new ADRs, please use [template.md](.template.md) as basis.
24-
More information on MADR is available at <https://adr.github.io/madr/>.
25-
General information about architectural decision records is available at <https://adr.github.io/>.
1+
# Architectural Decision Log
2+
3+
This log lists the architectural decisions for apl-core.
4+
5+
<!-- adrlog -- Regenerate the content by using "npm run adr". -->
6+
7+
- [ADR-2020-10-01](2020-10-01-github-workflow.md) - Our GitHub workflow
8+
- [ADR-2020-10-02](2020-10-02-docker-compose.md) - docker compose
9+
- [ADR-2020-11-06](2020-11-06-bash-style-guide.md) - Bash coding standard
10+
- [ADR-2020-11-06](2020-11-06-konstraint-policy-library.md) - Konstraint library to support Common Rego Language definitions
11+
- [ADR-2021-10-18](2021-10-18-defaults-and-derived.md) - Derived values
12+
- [ADR-2021-10-28](2021-10-28-internal-values.md) - Internal values
13+
- [ADR-2022-03-24](2022-03-24-custom-ca.md) - urice:
14+
- [ADR-2022-04-22](2022-04-22-values-migration.md) - Values migration
15+
- [ADR-2022-04-23](2022-04-23-pre-upgrade.md) - A new otomi pre-upgrade command
16+
- [ADR-2022-05-17](2022-05-17-destroy-upon-uninstall.md) - Extra flags to accomodate destroy upon uninstall
17+
- [ADR-2022-06-07](2022-06-07-ingress-classes.md) - Ingress classes
18+
- [ADR-2022-07-02](2022-07-02-node-affinity.md) - Node affinity
19+
- [ADR-2022-08-26](2022-08-26-other-dns-provider.md) - Other DNS provider
20+
21+
<!-- adrlogstop -->
22+
23+
For new ADRs, please use [template.md](.template.md) as basis.
24+
More information on MADR is available at <https://adr.github.io/madr/>.
25+
General information about architectural decision records is available at <https://adr.github.io/>.

0 commit comments

Comments
 (0)