Skip to content

montross50/netsparker-cloud-sdk

Repository files navigation

Netsparker Cloud PHP SDK

Latest Version on Packagist Software License Build Status Coverage Status Quality Score Total Downloads

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.

Install

Via Composer

$ composer require montross50/netsparker-cloud-sdk

Usage

$api = app(NetsparkerCloudInterface::class);
$result = $api->scansResult('foobar');

Change log

Please see CHANGELOG for more information on what has changed recently.

Testing

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

Contributing

Please see CONTRIBUTING and CODE_OF_CONDUCT for details.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

About

Netsparker Cloud PHP SDK

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages