This repository has been archived by the owner on Feb 8, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
5 changed files
with
68 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,47 @@ | ||
<style> | ||
.asterisk { | ||
color :red; | ||
} | ||
</style> | ||
<div class="form_item_block"> | ||
<label>IP of server to scan:<span class="asterisk">*</span> | ||
</label> | ||
<input type="text" ng-model="ServerIp" ng-required="true"> | ||
</input> | ||
<span class="form_error" ng-show="GOINPUTNAME[ServerIp].$error.ip">Incorrect IP Adress</span> | ||
<label>IP of server to scan:<span class="asterisk">*</span> | ||
</label> | ||
<input type="text" ng-model="ServerIp" ng-required="true"> | ||
<span class="form_error" ng-show="GOINPUTNAME[ServerIp].$error.ip">Incorrect IP Adress</span> | ||
</div> | ||
<div class="form_item_block"> | ||
<label>Scan Template:<span class="asterisk">*</span> | ||
</label> | ||
<input type="text" ng-model="ScanTemplate" ng-required="true"> | ||
</input> | ||
<label>Scan Template:<span class="asterisk">*</span> | ||
</label> | ||
<input type="text" ng-model="ScanTemplate" ng-required="true"> | ||
</div> | ||
<div class="form_item_block"> | ||
<label>Policy ID:<span class="asterisk">*</span> | ||
</label> | ||
<input type="text" ng-model="Policy" ng-required="true"> | ||
</input> | ||
<label>Policy ID:<span class="asterisk">*</span> | ||
</label> | ||
<input type="text" ng-model="Policy" ng-required="true"> | ||
</div> | ||
<div class="form_item_block"> | ||
<label>Fail issue type:</label> | ||
<select ng-model="IssueTypeFail"> | ||
<option value="critical">Critical</option> | ||
<option value="high">High and Critical</option> | ||
<option value="medium">Medium, High and Critical</option> | ||
<option value="any">Any</option> | ||
</select> | ||
<label>Fail issue type:</label> | ||
<select ng-model="IssueTypeFail"> | ||
<option value="critical">Critical</option> | ||
<option value="high">High and Critical</option> | ||
<option value="medium">Medium, High and Critical</option> | ||
<option value="any">Any</option> | ||
</select> | ||
</div> | ||
<div class="form_item_block"> | ||
<label>Nessus Api Url<span class="asterisk">*</span> | ||
</label> | ||
<input type="text" ng-model="NessusApiUrl" ng-required="true"> | ||
</input> | ||
<label>Nessus Api Url<span class="asterisk">*</span> | ||
</label> | ||
<input type="text" ng-model="NessusApiUrl" ng-required="true"> | ||
</div> | ||
<div class="form_item_block"> | ||
<label>Nessus Api Access Key:<span class="asterisk">*</span> | ||
</label> | ||
<textarea ng-model="NessusApiAccessKey" ng-required="true"> | ||
<label>Nessus Api Access Key:<span class="asterisk">*</span> | ||
</label> | ||
<textarea ng-model="NessusApiAccessKey" ng-required="true"> | ||
</textarea> | ||
</div> | ||
<div class="form_item_block"> | ||
<label>Nessus Api Secret Key<span class="asterisk">*</span> | ||
</label> | ||
<textarea ng-model="NessusApiAccessSecret" ng-required="true"> | ||
<label>Nessus Api Secret Key<span class="asterisk">*</span> | ||
</label> | ||
<textarea ng-model="NessusApiAccessSecret" ng-required="true"> | ||
</textarea> | ||
</div> |
44 changes: 22 additions & 22 deletions
44
sonar-qualitygates-plugin/resources/views/task.template.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,35 @@ | ||
<style> | ||
.asterisk { | ||
color :red; | ||
} | ||
</style> | ||
<div class="form_item_block"> | ||
<label>Stage name where the sonar scan is executed</label> | ||
<input type="text" ng-model="StageName" ng-required="false"> | ||
</input> | ||
<label>Stage name where the sonar scan is executed</label> | ||
<input type="text" ng-model="StageName" ng-required="false"> | ||
</div> | ||
<div class="form_item_block"> | ||
<label>Job name where the sonar scan is executed</label> | ||
<input type="text" ng-model="JobName" ng-required="false"> | ||
</input> | ||
<label>Job name where the sonar scan is executed</label> | ||
<input type="text" ng-model="JobName" ng-required="false"> | ||
</div> | ||
<div class="form_item_block"> | ||
<label>Stage counter</label> | ||
<input type="text" ng-model="JobCounter" ng-required="false"> | ||
</input> | ||
<label>Stage counter</label> | ||
<input type="text" ng-model="JobCounter" ng-required="false"> | ||
</div> | ||
<div class="form_item_block"> | ||
<label>Key of Sonar Project<span class="asterisk">*</span> | ||
</label> | ||
<input type="text" ng-model="SonarProjectKey" ng-required="true"> | ||
</input> | ||
<label>Key of Sonar Project<span class="asterisk">*</span> | ||
</label> | ||
<input type="text" ng-model="SonarProjectKey" ng-required="true"> | ||
</div> | ||
<div class="form_item_block"> | ||
<label>Fail Quality Gate result:</label> | ||
<select ng-model="IssueTypeFail"> | ||
<option value="error">Error and Missing</option> | ||
<option value="warning">Warning, Error and Missing</option> | ||
</select> | ||
<label>Fail Quality Gate result:</label> | ||
<select ng-model="IssueTypeFail"> | ||
<option value="error">Error and Missing</option> | ||
<option value="warning">Warning, Error and Missing</option> | ||
</select> | ||
</div> | ||
<div class="form_item_block"> | ||
<label>SonarQube Api Url<span class="asterisk">*</span> | ||
</label> | ||
<input type="text" ng-model="SonarApiUrl" ng-required="true"> | ||
</input> | ||
<label>SonarQube Api Url<span class="asterisk">*</span> | ||
</label> | ||
<input type="text" ng-model="SonarApiUrl" ng-required="true"> | ||
</div> | ||
|