diff --git a/src/main/java/com/hcl/appscan/jenkins/plugin/scanners/StaticAnalyzer.java b/src/main/java/com/hcl/appscan/jenkins/plugin/scanners/StaticAnalyzer.java
index eec9fd86..cbbd1ed8 100644
--- a/src/main/java/com/hcl/appscan/jenkins/plugin/scanners/StaticAnalyzer.java
+++ b/src/main/java/com/hcl/appscan/jenkins/plugin/scanners/StaticAnalyzer.java
@@ -58,10 +58,6 @@ public StaticAnalyzer(String target,boolean hasOptions) {
public String getType() {
return STATIC_ANALYZER;
}
-
- public boolean isAdditionalOptions(){
- return getHasOptions();
- }
@DataBoundSetter
public void setScanSpeed(String scanSpeed) {
@@ -69,7 +65,10 @@ public void setScanSpeed(String scanSpeed) {
}
public String getScanSpeed() {
- return m_scanSpeed;
+ if(!m_scanMethod.equals(CoreConstants.UPLOAD_DIRECT)){
+ return m_scanSpeed;
+ }
+ return "";
}
public String checkScanSpeed(String scanSpeed) {
@@ -80,7 +79,10 @@ public String checkScanSpeed(String scanSpeed) {
}
public boolean isOpenSourceOnly() {
- return m_openSourceOnly;
+ if(!m_scanMethod.equals(CoreConstants.UPLOAD_DIRECT)){
+ return m_openSourceOnly;
+ }
+ return false;
}
@DataBoundSetter
@@ -89,7 +91,10 @@ public void setOpenSourceOnly(boolean openSourceOnly) {
}
public boolean isSourceCodeOnly() {
- return m_sourceCodeOnly;
+ if(!m_scanMethod.equals(CoreConstants.UPLOAD_DIRECT)){
+ return m_sourceCodeOnly;
+ }
+ return false;
}
@DataBoundSetter
diff --git a/src/main/resources/com/hcl/appscan/jenkins/plugin/scanners/DynamicAnalyzer/help-trafficFile_en.properties b/src/main/resources/com/hcl/appscan/jenkins/plugin/scanners/DynamicAnalyzer/help-trafficFile_en.properties
index b62788bc..aa75c9b3 100644
--- a/src/main/resources/com/hcl/appscan/jenkins/plugin/scanners/DynamicAnalyzer/help-trafficFile_en.properties
+++ b/src/main/resources/com/hcl/appscan/jenkins/plugin/scanners/DynamicAnalyzer/help-trafficFile_en.properties
@@ -1,4 +1,4 @@
#NLS_MESSAGEFORMAT_ALL
#NLS_ENCODING=UTF8
-description.traffic.file=Provide a path to the login sequence file data. We can use Jenkins built-in variables or user defined variables to define the path.
Examples:
\u2022 C:\\UserName\\documents\\windows\\recorded\\ValidFileLogin.dast.config
\u2022 \/home\/userName\/documents\/linux\/recorded\/ValidFileLogin.dast.config
\u2022 \$'{'WORKSPACE'}'\\recorded\\ValidFileLogin.dast.config
\u2022 ValidFileLogin.dast.config
Location of the file by default will be \$'{'WORKSPACE'}' if not explicitly mentioned.
Supported file type: CONFIG: AppScan Activity Recorder file.
How to record login?
To use the AppScan Activity Recorder extension (for chrome or Edge):
1. Install AppScan Activity Recorder .
2. Open a new tab, enter the starting URL.
3. Click the extension icon, and record your login sequence.
Note: You must be logged out of the application before you start the recording.
4. When finished, click the extension icon again, to stop the recording. You will be prompted to save the CONFIG file.
5. Add the full path for the Config file under the login sequence.
Learn more
\ No newline at end of file
+description.traffic.file=Provide the path to the login sequence file data. We can use Jenkins built-in variables or user defined variables to define the path.
Examples:
\u2022 C:\\UserName\\documents\\windows\\recorded\\ValidFileLogin.dast.config
\u2022 \/home\/userName\/documents\/linux\/recorded\/ValidFileLogin.dast.config
\u2022 \$'{'WORKSPACE'}'\\recorded\\ValidFileLogin.dast.config
\u2022 ValidFileLogin.dast.config
Location of the file by default will be \$'{'WORKSPACE'}' if not explicitly mentioned.
Supported file type: CONFIG: AppScan Activity Recorder file.
How to record login?
To use the AppScan Activity Recorder extension (for chrome or Edge):
1. Install AppScan Activity Recorder .
2. Open a new tab, enter the starting URL.
3. Click the extension icon, and record your login sequence.
Note: You must be logged out of the application before you start the recording.
4. When finished, click the extension icon again, to stop the recording. You will be prompted to save the CONFIG file.
5. Add the full path for the Config file under the login sequence.
Learn more
\ No newline at end of file
diff --git a/src/main/webapp/help/loginAutomatic.html b/src/main/webapp/help/loginAutomatic.html
index 71aaee10..3b91c316 100644
--- a/src/main/webapp/help/loginAutomatic.html
+++ b/src/main/webapp/help/loginAutomatic.html
@@ -1,3 +1,3 @@