diff --git a/CHANGELOG.md b/CHANGELOG.md index c8fd01b..88cb612 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ All notable changes to the "tfsec" extension will be documented in this file. +### 1.11.0 +- Add findings to the Problems tab + ### 1.10.1 - Fix Windows filepaths diff --git a/README.md b/README.md index 14f3c76..6957df3 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,9 @@ To remove ignores, edit the `tfsec.excludedPath` in the `.vscode/settings.json` ## Release Notes +### 1.11.0 +- Add findings to the Problems tab + ### 1.10.1 - Fix Windows filepaths diff --git a/package.json b/package.json index c0a7ef3..ca08f95 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "displayName": "tfsec", "publisher": "tfsec", "description": "tfsec integration for Visual Studio Code", - "version": "1.10.1", + "version": "1.11.0", "engines": { "vscode": "^1.54.0" }, @@ -235,6 +235,7 @@ "@types/uuid": "^8.3.4", "semver": "^7.3.5", "typescipt": "^1.0.0", - "uuid": "^8.3.2" + "uuid": "^8.3.2", + "vsce": "^2.10.0" } -} \ No newline at end of file +} diff --git a/src/explorer/issues_treeview.ts b/src/explorer/issues_treeview.ts index c16dea2..f46166e 100644 --- a/src/explorer/issues_treeview.ts +++ b/src/explorer/issues_treeview.ts @@ -4,6 +4,7 @@ import * as path from 'path'; import { sortByCode, sortBySeverity, sortResults, uniqueLocations } from './utils'; import { CheckResult, CheckSeverity } from './check_result'; import { TfsecTreeItem, TfsecTreeItemType } from './tfsec_treeitem'; +import { checkServerIdentity } from 'tls'; export class TfsecIssueProvider implements vscode.TreeDataProvider { @@ -14,8 +15,9 @@ export class TfsecIssueProvider implements vscode.TreeDataProvider(); + try { const data = JSON.parse(content); if (data === null || data.results === null) { @@ -53,12 +60,22 @@ export class TfsecIssueProvider implements vscode.TreeDataProvider { _self.taintResults = !_self.taintResults; @@ -165,4 +182,9 @@ export class TfsecIssueProvider implements vscode.TreeDataProvider