0.27.0 • Published 9 months ago

@sectester/reporter v0.27.0

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

@sectester/reporter

Maintainability Test Coverage Build Status NPM Downloads

Provide an abstraction for generating test results as part of the particular test frameworks.

Setup

npm i -s @sectester/reporter

Usage

The package provides an implementation of the Reporter that lets to get results to stdout, i.e. StdReporter:

import { Reporter, StdReporter } from '@sectester/reporter';

const reporter: Reporter = new StdReporter();

You just need to call the report method to send findings to stdout:

await reporter.report(scan);

reporter-sample

In addition, the package exposes a PlainTextFormatter that implements a Formatter interface:

import { Formatter, PlainTextFormatter } from '@sectester/reporter';

const formatter: Formatter = new PlainTextFormatter();

To convert an issue into text, you just need to call the format method:

formatter.format(issue);
Issue in Bright UI:   https://app.neuralegion.com/scans/djoqtSDRJYaR6sH8pfYpDX/issues/8iacauN1FH9vFvDCLoo42v
Name:                 Missing Strict-Transport-Security Header
Severity:             Low
Remediation:
Make sure to proprely set and configure headers on your application - missing strict-transport-security header
Details:
The engine detected a missing strict-transport-security header. Headers are used to outline communication and
improve security of application.
Extra Details:
● Missing Strict-Transport-Security Header
    The engine detected a missing Strict-Transport-Security header, which might cause data to be sent insecurely from the client to the server.
    Remedy:
     - Make sure to set this header to one of the following options:
        1. Strict-Transport-Security: max-age=<expire-time>
        2. Strict-Transport-Security: max-age=<expire-time>; includeSubDomains
        3. Strict-Transport-Security: max-age=<expire-time>; preload
    Resources:
     - https://www.owasp.org/index.php/OWASP_Secure_Headers_Project#hsts
    Issues found on the following URLs:
     - [GET] https://qa.brokencrystals.com/

License

Copyright © 2022 Bright Security.

This project is licensed under the MIT License - see the LICENSE file for details.

0.27.0

9 months ago

0.26.0

9 months ago

0.25.0

9 months ago

0.24.1

10 months ago

0.24.0

10 months ago

0.23.2

10 months ago

0.21.0

11 months ago

0.20.1

11 months ago

0.20.0

11 months ago

0.19.0

12 months ago

0.18.1

1 year ago

0.19.1

11 months ago

0.19.2

11 months ago

0.19.3

11 months ago

0.23.1

11 months ago

0.23.0

11 months ago

0.22.0

11 months ago

0.20.2

11 months ago

0.18.0

1 year ago

0.17.0

1 year ago

0.16.4

2 years ago

0.16.5

2 years ago

0.16.3

2 years ago

0.16.2

2 years ago

0.16.1

2 years ago