This package creates an SDK to integrate with Netsparker Cloud. It is intended to work with Laravel. Hence the service provider. If someone really needs a non laravel version I could do that but this is my use case. The package uses Jane Open Api to generate the raw SDK.
Via Composer
$ composer require montross50/netsparker-cloud-sdk
$api = app(NetsparkerCloudInterface::class);
$result = $api->scansResult('foobar');
Please see CHANGELOG for more information on what has changed recently.
The integration tests expect you to create a phpunit.xml.dist and place your credentials in the env.
<php>
<env name="NETSPARKER_USERNAME" value="user"/>
<env name="NETSPARKER_PASSWORD" value="pass"/>
<env name="NETSPARKER_URL" value="url"/>
<env name="INTEGRATION_TEST_USER_EMAIL" value="api user email"/>
<env name="INTEGRATION_TEST_SCAN_ID" value="some scan id"/>
</php>
$ composer test
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.