FlexNet Code Insight 6.13.2
To assist you in creating a scan-phase adapter script, Code Insight provides a sample groovy script called autorun.CustomScanPhaseAdapter.groovy.example, located with the other adapters in the config/scanEngine/autorun/ directory. The script includes example code implementations of the various scan-phase methods available for creating the adapter, along with comments describing each method. You can actually test this sample adapter to see how the various scan-adapter methods execute. (To run the test, ensure that the adapter is in the autorun directory and that you have renamed it autorun.CustomScanPhaseAdapter.groovy. Then execute a scan.)
The sample script can serve as a template for developing a groovy script for your own scan-phase adapter. After you create the script, you must save it to the config/scanEngine/autorun directory. For more information about creating and naming a custom scan-phase adapter, see the next section, Rules and Considerations for Creating a Custom Scan-Phase Adapter.
FlexNet Code Insight 6.13.2 Online Help LibraryAugust 2019 |
Copyright Information | Flexera Software |