Skip to main content

Writing a Custom Scan-Agent Plugin

Writing a custom scan-agent plugin involves the following the following tasks:

  • Task 1— Review the example generic scan-agent plugin for its code structure and build configuration. (In essence, you can use this plugin as a template for creating your own.)

  • Task 2—Identify the Engineering system with which you will be integrating the scan agent. (This section and the next will use Integration Server as an example Engineering system).

  • Task 3—Using the APIs provided by the Integration Server, write code to pull in all the codebase files that you want to scan into a single folder. This will be the folder path that you will be passing to the plugin.

  • Task 4—Use the Scan Agent Framework APIs to connect to the Code Insight server.

  • Task 5—Scan the folder that contains the desired code base files on the Integration Server.

note

The plugin will typically execute on the same computer system as the Integration Server.