You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "Veracode_Gate_Script.py", line 42, in
v_results = v.get_scan_results(application_name, sandbox_name, version_id)
File "F:\CIO_Metrics\Veracode_API.py", line 15, in get_scan_results
app = Application(app_name)
File "C:\Program Files (x86)\Python38-32\lib\site-packages\veracode\application.py", line 22, in new
return ExistingApplication(name, sandbox, build)
File "C:\Program Files (x86)\Python38-32\lib\site-packages\veracode\application.py", line 146, in init
self.info = self._get_app_by_name(app_name).application
File "C:\Program Files (x86)\Python38-32\lib\site-packages\veracode\application.py", line 180, in _get_app_by_name
for app in apps.app:
TypeError: 'Struct' object is not iterable
##[error]Cmd.exe exited with code '1'.
The text was updated successfully, but these errors were encountered:
Basically, need to put a filter at the function definition " _get_app_by_name" to select the appropriate entry to return if the input has an array list of applications.
Traceback (most recent call last):
File "Veracode_Gate_Script.py", line 42, in
v_results = v.get_scan_results(application_name, sandbox_name, version_id)
File "F:\CIO_Metrics\Veracode_API.py", line 15, in get_scan_results
app = Application(app_name)
File "C:\Program Files (x86)\Python38-32\lib\site-packages\veracode\application.py", line 22, in new
return ExistingApplication(name, sandbox, build)
File "C:\Program Files (x86)\Python38-32\lib\site-packages\veracode\application.py", line 146, in init
self.info = self._get_app_by_name(app_name).application
File "C:\Program Files (x86)\Python38-32\lib\site-packages\veracode\application.py", line 180, in _get_app_by_name
for app in apps.app:
TypeError: 'Struct' object is not iterable
##[error]Cmd.exe exited with code '1'.
The text was updated successfully, but these errors were encountered: