-
Notifications
You must be signed in to change notification settings - Fork 322
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a0c011a
commit 6dfc5df
Showing
1 changed file
with
54 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,56 +1,56 @@ | ||
{ | ||
"kics_version": "development", | ||
"files_scanned": 1, | ||
"lines_scanned": 78, | ||
"files_parsed": 1, | ||
"lines_parsed": 78, | ||
"lines_ignored": 0, | ||
"files_failed_to_scan": 0, | ||
"queries_total": 43, | ||
"queries_failed_to_execute": 0, | ||
"queries_failed_to_compute_similarity_id": 0, | ||
"scan_id": "console", | ||
"severity_counters": { | ||
"CRITICAL": 0, | ||
"HIGH": 1, | ||
"INFO": 0, | ||
"LOW": 0, | ||
"MEDIUM": 0, | ||
"TRACE": 0 | ||
}, | ||
"total_counter": 1, | ||
"total_bom_resources": 0, | ||
"start": "2024-02-12T12:34:07.3154393Z", | ||
"end": "2024-02-12T12:34:25.658434Z", | ||
"paths": [ | ||
"/path/test/fixtures/test_output_path" | ||
], | ||
"queries": [ | ||
{ | ||
"query_name": "Azure Instance Using Basic Authentication", | ||
"query_id": "6797f581-0433-4768-ae3e-7ceb2f8b138e", | ||
"query_url": "https://docs.microsoft.com/en-us/azure/templates/microsoft.compute/virtualmachines?tabs=json#linuxconfiguration-object", | ||
"severity": "HIGH", | ||
"platform": "AzureResourceManager", | ||
"category": "Best Practices", | ||
"experimental": false, | ||
"description": "Azure Instances should use SSH Key instead of basic authentication", | ||
"description_id": "98ba05ca", | ||
"files": [ | ||
{ | ||
"file_name": "..\\test\\fixtures\\test_output_path\\positive1.json", | ||
"similarity_id": "42d73d5b2fa1fbcb1145ea43b7dc4ec20f92adda85c61161b6a7714b6cd86219", | ||
"line": 53, | ||
"resource_type": "Microsoft.Compute/virtualMachines", | ||
"resource_name": "[variables('vmName')]", | ||
"issue_type": "IncorrectValue", | ||
"search_key": "resources.name=[variables('vmName')].properties.osProfile.linuxConfiguration.disablePasswordAuthentication", | ||
"search_line": 53, | ||
"search_value": "", | ||
"expected_value": "'disablePasswordAuthentication' should be set to true", | ||
"actual_value": "'disablePasswordAuthentication' property value is set to false" | ||
} | ||
] | ||
} | ||
] | ||
"kics_version": "development", | ||
"files_scanned": 1, | ||
"lines_scanned": 78, | ||
"files_parsed": 1, | ||
"lines_parsed": 78, | ||
"lines_ignored": 0, | ||
"files_failed_to_scan": 0, | ||
"queries_total": 43, | ||
"queries_failed_to_execute": 0, | ||
"queries_failed_to_compute_similarity_id": 0, | ||
"scan_id": "console", | ||
"severity_counters": { | ||
"CRITICAL": 0, | ||
"HIGH": 0, | ||
"INFO": 0, | ||
"LOW": 0, | ||
"MEDIUM": 1, | ||
"TRACE": 0 | ||
}, | ||
"total_counter": 1, | ||
"total_bom_resources": 0, | ||
"start": "2024-03-27T12:57:39.1952639Z", | ||
"end": "2024-03-27T12:57:40.2523796Z", | ||
"paths": [ | ||
"/path/test/fixtures/test_output_path" | ||
], | ||
"queries": [ | ||
{ | ||
"query_name": "Azure Instance Using Basic Authentication", | ||
"query_id": "6797f581-0433-4768-ae3e-7ceb2f8b138e", | ||
"query_url": "https://docs.microsoft.com/en-us/azure/templates/microsoft.compute/virtualmachines?tabs=json#linuxconfiguration-object", | ||
"severity": "MEDIUM", | ||
"platform": "AzureResourceManager", | ||
"category": "Best Practices", | ||
"experimental": false, | ||
"description": "Azure Instances should use SSH Key instead of basic authentication", | ||
"description_id": "98ba05ca", | ||
"files": [ | ||
{ | ||
"file_name": "/path/test/fixtures/test_output_path/positive1.json", | ||
"similarity_id": "42d73d5b2fa1fbcb1145ea43b7dc4ec20f92adda85c61161b6a7714b6cd86219", | ||
"line": 53, | ||
"resource_type": "Microsoft.Compute/virtualMachines", | ||
"resource_name": "[variables('vmName')]", | ||
"issue_type": "IncorrectValue", | ||
"search_key": "resources.name=[variables('vmName')].properties.osProfile.linuxConfiguration.disablePasswordAuthentication", | ||
"search_line": 53, | ||
"search_value": "", | ||
"expected_value": "'disablePasswordAuthentication' should be set to true", | ||
"actual_value": "'disablePasswordAuthentication' property value is set to false" | ||
} | ||
] | ||
} | ||
] | ||
} |