Skip to content

Commit 1d7e2dd

Browse files
qiaozharuowan
authored andcommitted
cred-scan (#156)
* cred-scan * cred-scan * cred scan * update autorest version * suppression
1 parent e897816 commit 1d7e2dd

File tree

4 files changed

+58
-22
lines changed

4 files changed

+58
-22
lines changed

CredScanSuppressions.json

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"tool": "Credential Scanner",
3+
"suppressions": [
4+
{
5+
"file": "node_modules\\superagent\\docs\\index.md",
6+
"_justification": "Additional CredScan searcher specific to my team"
7+
},
8+
{
9+
"file": "node_modules\\superagent\\docs\\test.html",
10+
"_justification": "Legitimate UT certificate file with private key"
11+
}
12+
]
13+
}

azure-pipelines.yml

+23
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,26 @@ steps:
1919
- task: PublishBuildArtifacts@1
2020
inputs:
2121
pathtoPublish: $(Build.SourcesDirectory)/drop
22+
23+
- task: CredScan@2
24+
inputs:
25+
toolMajorVersion: 'V2'
26+
27+
- task: PostAnalysis@1
28+
inputs:
29+
AllTools: false
30+
APIScan: false
31+
BinSkim: false
32+
CodesignValidation: false
33+
CredScan: true
34+
FortifySCA: false
35+
FxCop: false
36+
ModernCop: false
37+
PoliCheck: false
38+
RoslynAnalyzers: false
39+
SDLNativeRules: false
40+
Semmle: false
41+
TSLint: false
42+
ToolLogsNotFoundAction: 'Standard'
43+
44+

package-lock.json

+21-21
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"dependencies": {
1212
"@ts-common/fs": "^0.2.0",
1313
"@ts-common/json-parser": "^0.7.0",
14-
"autorest": "^2.0.0",
14+
"autorest": "^2.0.4407",
1515
"glob": "^7.1.3",
1616
"js-yaml": "^3.13.1",
1717
"json-pointer": "^0.6.0",

0 commit comments

Comments
 (0)