Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions client_reference/kosli_diff_snapshots.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ kosli diff snapshots aws-beta aws-prod --output=json
```json
{
"snappish1": {
"snapshot_id": "aws-beta#8075",
"snapshot_id": "aws-beta#8091",
"artifacts": [
{
"fingerprint": "00fe296ec6514fc1eb8918abb5b338260c8e7003d3eb0a57b8ac08a01d27d747",
Expand Down Expand Up @@ -151,7 +151,7 @@ kosli diff snapshots aws-beta aws-prod --output=json
]
},
"snappish2": {
"snapshot_id": "aws-prod#5234",
"snapshot_id": "aws-prod#5249",
"artifacts": [
{
"fingerprint": "1342e060fb8af6c34d004e474544d1472b940250eb0084f206c3d7bf9d78e2b5",
Expand Down
6 changes: 3 additions & 3 deletions client_reference/kosli_get_environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ kosli get environment aws-prod --output=json
"name": "aws-prod",
"type": "ECS",
"description": "The ECS cluster for production cyber-dojo",
"last_modified_at": 1786720018.4959269,
"last_reported_at": 1786720018.4959269,
"last_changed_at": 1786679818.4046729,
"last_modified_at": 1787069338.5827048,
"last_reported_at": 1787069338.5827048,
"last_changed_at": 1787021218.5403302,
"state": true,
"include_scaling": false,
"tags": {
Expand Down
104 changes: 52 additions & 52 deletions client_reference/kosli_get_snapshot.md

Large diffs are not rendered by default.

28 changes: 14 additions & 14 deletions client_reference/kosli_list_environments.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ kosli list environments --output=json
"name": "aws-beta",
"type": "ECS",
"description": "The ECS cluster for staging cyber-dojo",
"last_modified_at": 1786720043.998481,
"last_reported_at": 1786720043.998481,
"last_changed_at": 1786679783.9316874,
"last_modified_at": 1787069303.8436406,
"last_reported_at": 1787069303.8436406,
"last_changed_at": 1787021243.9881356,
"state": true,
"include_scaling": false,
"tags": {
Expand All @@ -84,8 +84,8 @@ kosli list environments --output=json
"name": "aws-beta-terraform-drift-detection",
"type": "server",
"description": "Detection of drift of the Infrastructure-as-code components of aws-beta",
"last_modified_at": 1786719908.7127595,
"last_reported_at": 1786719908.7127595,
"last_modified_at": 1787069108.7034366,
"last_reported_at": 1787069108.7034366,
"last_changed_at": 1786632908.9464843,
"state": true,
"include_scaling": false,
Expand All @@ -100,9 +100,9 @@ kosli list environments --output=json
"name": "aws-prod",
"type": "ECS",
"description": "The ECS cluster for production cyber-dojo",
"last_modified_at": 1786720018.4959269,
"last_reported_at": 1786720018.4959269,
"last_changed_at": 1786679818.4046729,
"last_modified_at": 1787069338.5827048,
"last_reported_at": 1787069338.5827048,
"last_changed_at": 1787021218.5403302,
"state": true,
"include_scaling": false,
"tags": {
Expand All @@ -122,8 +122,8 @@ kosli list environments --output=json
"name": "aws-prod-terraform-drift-detection",
"type": "server",
"description": "Detection of drift of the Infrastructure-as-code components of aws-prod",
"last_modified_at": 1786719811.9755135,
"last_reported_at": 1786719811.9755135,
"last_modified_at": 1787069311.8707278,
"last_reported_at": 1787069311.8707278,
"last_changed_at": 1786426111.953674,
"state": true,
"include_scaling": false,
Expand All @@ -138,9 +138,9 @@ kosli list environments --output=json
"name": "production",
"type": "logical",
"description": "Production environments for cyber-dojo",
"last_modified_at": 1786679818.4046729,
"last_modified_at": 1787021218.5403302,
"last_reported_at": null,
"last_changed_at": 1786679818.4046729,
"last_changed_at": 1787021218.5403302,
"state": true,
"include_scaling": false,
"tags": {},
Expand All @@ -155,9 +155,9 @@ kosli list environments --output=json
"name": "staging",
"type": "logical",
"description": "Staging environments for cyber-dojo",
"last_modified_at": 1786679783.9316874,
"last_modified_at": 1787021243.9881356,
"last_reported_at": null,
"last_changed_at": 1786679783.9316874,
"last_changed_at": 1787021243.9881356,
"state": true,
"include_scaling": false,
"tags": {},
Expand Down
10 changes: 5 additions & 5 deletions client_reference/kosli_list_flows.md
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ kosli list flows --output=json
"kind": "run",
"repo_url": "https://github.com/cyber-dojo/secrets"
},
"latest_activity_at": 1786681248.1733625,
"latest_activity_at": 1787022767.4788537,
"latest_state": "NON-COMPLIANT"
},
{
Expand All @@ -326,7 +326,7 @@ kosli list flows --output=json
"workflow_url": "https://github.com/cyber-dojo/snyk-scanning/blob/main/.github/workflows/aws-beta.yml",
"env": "aws-beta"
},
"latest_activity_at": 1786679730.0200381,
"latest_activity_at": 1787021222.2429254,
"latest_state": "COMPLIANT"
},
{
Expand All @@ -343,7 +343,7 @@ kosli list flows --output=json
"kind": "run",
"workflow_url": "https://github.com/cyber-dojo/snyk-scanning/blob/main/.github/workflows/artifact_snyk_test.yml"
},
"latest_activity_at": 1786679615.989234,
"latest_activity_at": 1787021178.2297814,
"latest_state": "COMPLIANT"
},
{
Expand All @@ -360,7 +360,7 @@ kosli list flows --output=json
"workflow_url": "https://github.com/cyber-dojo/snyk-scanning/blob/main/.github/workflows/aws-prod.yml",
"env": "aws-prod"
},
"latest_activity_at": 1786679766.2105615,
"latest_activity_at": 1787021171.7664993,
"latest_state": "COMPLIANT"
},
{
Expand All @@ -377,7 +377,7 @@ kosli list flows --output=json
"kind": "run",
"workflow_url": "https://github.com/cyber-dojo/snyk-scanning/blob/main/.github/workflows/artifact_snyk_test.yml"
},
"latest_activity_at": 1786679720.7573857,
"latest_activity_at": 1787021053.5322313,
"latest_state": "COMPLIANT"
},
{
Expand Down
118 changes: 59 additions & 59 deletions client_reference/kosli_list_snapshots.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,109 +64,109 @@ kosli list snapshots aws-prod --output=json
```json
[
{
"index": 5234,
"from": 1786679818.4046729,
"index": 5249,
"from": 1787021218.5403302,
"to": 0.0,
"compliant": true,
"duration": 40244.23185634613
"duration": 48137.604617357254
},
{
"index": 5233,
"from": 1786679758.5206547,
"to": 1786679818.4046729,
"index": 5248,
"from": 1787021098.4627476,
"to": 1787021218.5403302,
"compliant": true,
"duration": 59.88401818275452
"duration": 120.07758259773254
},
{
"index": 5232,
"from": 1786679638.3800714,
"to": 1786679758.5206547,
"index": 5247,
"from": 1787020978.2979894,
"to": 1787021098.4627476,
"compliant": true,
"duration": 120.14058327674866
"duration": 120.16475820541382
},
{
"index": 5231,
"from": 1786679578.5574222,
"to": 1786679638.3800714,
"index": 5246,
"from": 1786935178.5993426,
"to": 1787020978.2979894,
"compliant": true,
"duration": 59.822649240493774
"duration": 85799.69864678383
},
{
"index": 5230,
"from": 1786679518.6214967,
"to": 1786679578.5574222,
"index": 5245,
"from": 1786935118.4628425,
"to": 1786935178.5993426,
"compliant": true,
"duration": 59.93592548370361
"duration": 60.136500120162964
},
{
"index": 5229,
"from": 1786598698.4780145,
"to": 1786679518.6214967,
"index": 5244,
"from": 1786934998.5150445,
"to": 1786935118.4628425,
"compliant": true,
"duration": 80820.14348220825
"duration": 119.94779801368713
},
{
"index": 5228,
"from": 1786593538.460407,
"to": 1786598698.4780145,
"index": 5243,
"from": 1786934938.5676281,
"to": 1786934998.5150445,
"compliant": true,
"duration": 5160.017607450485
"duration": 59.94741630554199
},
{
"index": 5227,
"from": 1786593418.452673,
"to": 1786593538.460407,
"index": 5242,
"from": 1786934878.6721764,
"to": 1786934938.5676281,
"compliant": true,
"duration": 120.00773406028748
"duration": 59.89545178413391
},
{
"index": 5226,
"from": 1786593358.5152867,
"to": 1786593418.452673,
"index": 5241,
"from": 1786848778.5561426,
"to": 1786934878.6721764,
"compliant": true,
"duration": 59.93738627433777
"duration": 86100.1160337925
},
{
"index": 5225,
"from": 1786593298.400066,
"to": 1786593358.5152867,
"index": 5240,
"from": 1786848658.3665593,
"to": 1786848778.5561426,
"compliant": true,
"duration": 60.11522078514099
"duration": 120.18958330154419
},
{
"index": 5224,
"from": 1786506718.3598936,
"to": 1786593298.400066,
"index": 5239,
"from": 1786848538.4219847,
"to": 1786848658.3665593,
"compliant": true,
"duration": 86580.04017233849
"duration": 119.94457459449768
},
{
"index": 5223,
"from": 1786506358.497881,
"to": 1786506718.3598936,
"index": 5238,
"from": 1786761778.641311,
"to": 1786848538.4219847,
"compliant": true,
"duration": 359.8620126247406
"duration": 86759.7806737423
},
{
"index": 5222,
"from": 1786506298.5599546,
"to": 1786506358.497881,
"index": 5237,
"from": 1786761658.6412923,
"to": 1786761778.641311,
"compliant": true,
"duration": 59.937926292419434
"duration": 120.00001859664917
},
{
"index": 5221,
"from": 1786506238.507325,
"to": 1786506298.5599546,
"index": 5236,
"from": 1786761598.587937,
"to": 1786761658.6412923,
"compliant": true,
"duration": 60.052629709243774
"duration": 60.05335521697998
},
{
"index": 5220,
"from": 1786425598.492372,
"to": 1786506238.507325,
"index": 5235,
"from": 1786761538.4336553,
"to": 1786761598.587937,
"compliant": true,
"duration": 80640.01495289803
"duration": 60.15428185462952
}
]
```
Expand Down
Loading