Commit ccd5430f authored by Wen Wei Li's avatar Wen Wei Li

remove build flag

parent 26dfe21e
Pipeline #4821 failed with stage
......@@ -11,9 +11,7 @@ steps:
path: /home/reports/
commands:
- echo `ls`
- echo `ls ./src`
- python3 /usr/local/src/scan --type python,yaml,dockerfile,kubernetes --src ./ -o /home/reports --build
- python3 /usr/local/src/scan --type python,yaml,dockerfile,kubernetes --src ./ -o /home/reports
- name: code-analysis
image: prlab/drone-sonar
......
{
"baseline_fingerprints": {
"scanPrimaryLocationHash": [
"b0bd4a6a902e74cb",
"b0bd4a6a902e74cb",
"b0bd4a6a902e74cb",
"b0bd4a6a902e74cb",
"b0bd4a6a902e74cb",
"b0bd4a6a902e74cb",
"b0bd4a6a902e74cb",
"b0bd4a6a902e74cb",
"b0bd4a6a902e74cb",
"b0bd4a6a902e74cb",
"b0bd4a6a902e74cb",
"b0bd4a6a902e74cb",
"b0bd4a6a902e74cb",
"b0bd4a6a902e74cb",
"b0bd4a6a902e74cb",
"b0bd4a6a902e74cb",
"b0bd4a6a902e74cb",
"b0bd4a6a902e74cb",
"b0bd4a6a902e74cb"
],
"scanTagsHash": []
},
"created_at": "2023-08-28 05:56:18.157798"
}
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
{
"runs": [
{
"tool": {
"driver": {
"name": "Python Source Analyzer",
"version": "1.0.0-scan",
"fullName": "Python Source Analyzer"
}
},
"conversion": {
"tool": {
"driver": {
"name": "@ShiftLeft/sast-scan"
}
},
"invocation": {
"arguments": [
"-r",
"-a",
"vuln",
"-n",
"3",
"-s",
"B101,B102,B105,B307,B308,B310,B322,B404,B601,B602,B603,B604,B605,B701,B702,B703",
"-iii",
"-ll",
"-o",
"/app/reports/source-python-report.json",
"-f",
"json",
"-x",
".git,.svn,.mvn,.idea,.github,.hg,dist,obj,backup,docs,tests,test,test-packages,tmp,report,reports,node_modules,.terraform,.serverless,venv,.virtualenv,vendor,bower_components,.vscode,e2e,.pytest_cache,__pycache__,.storybook,.venv,.tox,examples,tutorials,samples,migrations,db_migrations,unittests,unittests_legacy,stubs,cypress,mock,mocks",
"/app"
],
"executionSuccessful": true,
"commandLine": "-r -a vuln -n 3 -s B101,B102,B105,B307,B308,B310,B322,B404,B601,B602,B603,B604,B605,B701,B702,B703 -iii -ll -o /app/reports/source-python-report.json -f json -x .git,.svn,.mvn,.idea,.github,.hg,dist,obj,backup,docs,tests,test,test-packages,tmp,report,reports,node_modules,.terraform,.serverless,venv,.virtualenv,vendor,bower_components,.vscode,e2e,.pytest_cache,__pycache__,.storybook,.venv,.tox,examples,tutorials,samples,migrations,db_migrations,unittests,unittests_legacy,stubs,cypress,mock,mocks /app",
"endTimeUtc": "2023-08-28T05:56:16Z",
"workingDirectory": {
"uri": "file:///home/oran/Documents/ric-app-hw-python"
}
}
},
"invocations": [
{
"executionSuccessful": true,
"endTimeUtc": "2023-08-28T05:56:16Z",
"workingDirectory": {
"uri": "file:///home/oran/Documents/ric-app-hw-python"
}
}
],
"properties": {
"metrics": {
"total": 0,
"critical": 0,
"high": 0,
"medium": 0,
"low": 0
}
},
"results": [],
"automationDetails": {
"description": {
"text": "Static Analysis Security Test results using @ShiftLeft/sast-scan"
},
"guid": "bf813369-d6ff-470d-a89e-195870e19510"
},
"versionControlProvenance": [
{
"branch": "master",
"repositoryUri": "",
"revisionId": ""
}
]
}
],
"version": "2.1.0",
"$schema": "https://raw.githubusercontent.com/oasis-tcs/sarif-spec/master/Schemata/sarif-schema-2.1.0.json",
"inlineExternalProperties": [
{
"guid": "bf813369-d6ff-470d-a89e-195870e19510",
"runGuid": "518b5465-3c50-45a1-bef9-cbca03e2d705"
}
]
}
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
/app/resources/pod.yaml:19:1: [warning] missing document start "---" (document-start)
/app/.drone.yml:16:81: [error] line too long (108 > 80 characters) (line-length)
/app/.drone.yml:16:104: [error] trailing spaces (trailing-spaces)
/app/.drone.yml:38:11: [error] too many spaces before colon (colons)
/app/.drone.yml:47:1: [error] trailing spaces (trailing-spaces)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment