← 输入框|github.com|刷新
Skip to content

➹ Implement a lightweight false-/positive-handling #49

Closed

Description

@rfelber

As a user I would like to have a lightweight false-/positive-handling which helps me to label/mark and filter findings which are not relevant or false-/positive.

I would like to file all findings in my security dashboard (kibana).

See #225

Activity

  1. added this to the Sprint-31 milestone on Nov 4, 2020
  2. changed the title [-]Implement a lightweight false-/positive-handling[/-] [+]➹ Implement a lightweight false-/positive-handling[/+] on Nov 18, 2020
  3. nigthknight commented on Nov 30, 2020

    @nigthknight
    Member

    This depends on: PR #225

  4. self-assigned this
    on Dec 7, 2020
  5. nigthknight commented on Dec 9, 2020

    @nigthknight
    Member

    As described in PR #225 we want to introduce a hash value to the finding model.
    This hash has to be set/updated in the parser of the scanner as well as in each hook modifying findings.
    To avoid duplication we should introduce a new npm package containing a function to calculate the hash consistently.

    For this purpose I took a look at the parser-sdk and the hook-sdk and found at least one duplication (code for uploadFile()). This rose the question if we want to create a scb-sdk combining parser-sdk and hook-sdk as well as their helpers.

    Consequences:

    • some minor refactoring of hooks and parsers to use the scb-sdk.
    • This could cause breaking changes to third-party hooks/scanners that are not included in the official project
    • This package would also have to be published to npm.
  6. J12934 commented on Dec 9, 2020

    @J12934
    Member

    @fuhrmeistery great idea 👍
    We might be able to avoid publishing to npm referencing the scb-sdk in the package.json via a file-path.
    This would probably simplify this a bit.

  7. nigthknight commented on Mar 22, 2021

    @nigthknight
    Member

    In PR #330 @J12934 suggests that the DefectDojo persistence provider is run as a ReadAndWrite Hook before other hooks are executed.
    Similar to this we could add a simple hook that runs before every other hook to realize a lightweight false positive handling.

    This Hook could be optional and would be replaced by a much more sophisticated alternative like DefectDojo.
    This way we could introduce an immutable hash without having to worry about the execution order of ReadWriteHooks.

    See ADR 0007
    See PR #330

  8. removed this from the Sprint-31 milestone on May 17, 2021
  9. Weltraumschaf commented on Jul 20, 2023

    @Weltraumschaf
    Member

    Since we use Defectdojo, which ships with false-positive handling, we do not work further on this topic at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions