Using the WhiteHat Sentinel Xcode Plugin
The Xcode plugin allows developers to work with Sentinel directly from Xcode. Once you have installed the WhiteHat Sentinel Xcode Plugin as described under Installation, perform the following steps to use the WhiteHat Sentinel Xcode Extension:
-
Open Xcode from your applications and select WhiteHat Sentinel Xcode Extension.
-
Log in by typing your Sentinel User Name and Password or type a valid API Key in the text fields.
A valid API key must be entered before the plugin can be used. To find out how to generate an API key on Sentinel see Generating an API key. -
Confirm that the correct server is listed:
-
sentinel.whitehatsec.com for non EU customers
-
sentinel.whitehatsec.eu for EU customers
-
Reviewing Your Vulnerabilities
-
Select the application you want to review from the drop-down list.
-
You can search for vulnerabilities by:
-
Vuln ID
-
Vuln Status
-
Rating
-
From Date
-
To Date
-
-
Select your filter parameters and click on the filter icon to display the list of vulnerabilities.
-
Click on the X icon to clear all set filter parameters.
-
Double-click on a specific Vuln ID in the list to move to the Debug Vulnerabilities tab and see trace IDs and the associated code snippets for that vulnerability.
-
Click on the down-arrow next to the Vuln ID to display the Attack Vector IDs.
-
Click on the down-arrow next to the Attack Vector ID to see the Attack Vector Types and Source Code Locations.
-
Click on a specific Attack Vector Type to see the associated code snippet.
-
Double-click on the Attack Vector Type to bring up that code in your environment.
If the source code package has not yet been loaded into the IDE, you may specify a source folder. Alternatively, if you do not specify a source folder, you will be asked to navigate to the file path using a Browse File pop-up.
Description
In addition to the code snippet, the WhiteHat Plugin displays a general description and solution for the vulnerability, allowing you to ask WhiteHat Security Engineers a question and see their response. Select the tab to see the information. The Description tab offers a description of the vulnerability class in question, as displayed in the example below.
Solution
The Solution tab offers an approach to resolving the vulnerability class in question, as displayed in the example below.
Q&A
-
In addition, the Q&A tab offers the opportunity to ask questions about this vulnerability and receive answers directly from WhiteHat Security Threat Research Engineers.
-
If questions or answers already exist for this vulnerability, you will see them in the list on the Q&A tab. You can filter by text string if desired.
-
Click on Ask a Question to display dialog box that will allow you to submit a question about this vulnerability and receive answers directly from WhiteHat Security Threat Research Engineers, as shown below.
-
Type your question in the text field.
-
Click Submit.