-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ASA 8392 #215
ASA 8392 #215
Conversation
@@ -22,8 +22,7 @@ error.threshold.invalid=Invalid entry. Enter an integer value. | |||
error.malformed.url=Malformed URL {0}. | |||
error.server.unavailable=AppScan plugin encountered an unexpected error while connecting to AppScan on Cloud. | |||
error.mobile.analyzer=Incorrect user input. The legacy Mobile Analyzer technology is no longer supported, we recommend using our Static Analyzer scanning for Mobile Applications. | |||
error.dynamic.AppScan360= Dynamic Analysis is available for AppScan on Cloud only. | |||
error.dynamic.analyzer.AppScan360= HCL AppScan task failed: Dynamic analysis (DAST) is available in AppScan on Cloud only. | |||
error.presence.AppScan360= Presence is available for AppScan on Cloud only. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in or For ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It should be "in".
public boolean isAppScan360(){ | ||
String url = m_credentials.getUrl(); | ||
return url != null && !url.isEmpty() && !url.contains("appscan.com"); | ||
@Override |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this required to be override ? Can we add this is only in Jenkins Auth.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As we are now using the isAppScan360() method in the appscan-plugin instead of the SDK. I will not go with overriding this method.
@@ -9,6 +9,7 @@ | |||
import java.io.File; | |||
import java.io.IOException; | |||
import java.io.Serializable; | |||
import java.net.Proxy; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is this import required? there is no changes related to Proxy
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed this import.
@@ -325,17 +326,22 @@ public FormValidation doCheckScanFile(@QueryParameter String scanFile) { | |||
return FormValidation.ok(); | |||
} | |||
|
|||
public FormValidation doCheckTarget(@QueryParameter String target,@RelativePath("..") @QueryParameter String credentials, @AncestorInPath ItemGroup<?> context, @QueryParameter String presenceId) { | |||
public FormValidation doCheckTarget(@QueryParameter String target,@RelativePath("..") @QueryParameter String credentials, @AncestorInPath ItemGroup<?> context, @QueryParameter String presenceId) throws IOException { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
None of the Formvalidations are throwing IO Exception why is it required ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed the IO exception.
https://jira02.hclpnp.com/browse/ASA-8392 - As a DevOps Engineer, I want to automate DAST Scan execution in AppScan 360 via HCL AppScan Jenkins Plugin.