Accessing Core & Scan Servers via ScriptRunner
Code Insight 6.14.2 SP2
ScriptRunner is a standalone module that allows communication with Code Insight Core Server and Scan Servers to perform various application functions. For more information about ScriptRunner, see “Using ScriptRunner” in the Code Insight Installation and System Administration Guide.
Note:If you are running ScriptRunner from a machine other than the Code Insight Core Server, you must use the -c flag to specify the URL of the Code Insight Core Server (i.e. http://localhost:8888/Code Insight). If using ScriptRunner for the first time, you will be prompted for a password. Below are examples:
|
•
|
On Windows:scriptRunner.bat -c <CORE_SERVER_URL> –u user file.groovy |
|
•
|
On Linux:./scriptRunner.sh -c <CORE_SERVER_URL > –u user file.groovy |
The following operations are supported via ScriptRunner. They are organized by various covers (facades) that expose the various APIs. For more information, see API Covers (Facades).
Operation Types Supported via ScriptRunner
|
|
Admin Service Cover
|
|
•
|
User, Team, Project, and Policy Management |
|
•
|
Metadata Value Management (User, Team, Policy, Task) |
|
Metadata Service Cover
|
|
•
|
Metadata Field Management |
|
Request Service Cover
|
|
Reference Data Service Cover
|
|
•
|
Component, Version, License, and Vulnerability Management |
|
•
|
Metadata Value Management (Component, Version, License, and Vulnerability) |
|
Project Data Cover
|
|
•
|
Project Configuration Management |
|
•
|
Project Queue (Scans + Reports) Management |
|
•
|
Project Inventory Management (Comments, Questions/Answers, Checklist Items, and Review Status) |
|
•
|
Project Request Management |
|
•
|
Project Task Management |
|
•
|
Project Snapshot Management |
|
•
|
Metadata Value Management (Project, Workspace, Inventory, and Request) |
|
Auditor Service Cover
|
|
•
|
Metadata Value Management (File and Group) |
|
Workspace Locator Cover
|
|
•
|
Open Existing Workspaces |
|
Workspace Cover
|
|
•
|
Manage Workspace Settings |
|
•
|
Obtain Workspace Scan Results |
|