Privado
  • Privado
  • Getting Started With Privado
    • Quick Start
    • Running a Scan
    • Understanding Results
    • Command Reference
    • Understanding privado.json
      • Sources
      • Processing
      • Data Flow
      • Collections
      • Violations
  • Understanding Rules
    • What are Rules?
    • Sources
    • Sinks
      • Understanding Sinks
      • Storages
      • Third Parties
      • Leakages
      • Internal APIs
    • Collections
    • Policies
  • Tutorials
    • How to scan a repository using Privado
  • Customizing Privado
    • Add a new Source
    • Add a new Leakage Sink
    • Add a new Storage Sink
    • Add a new Third Party Sink
    • Add a new Policy
  • ROPA Report
    • Generating ROPA Report
  • Play Store Data Safety Report
    • Generate Play Store Data Safety Report
    • Uploading results to Play Store
  • Extra
    • Configurations
    • Contributing through GitHub
  • About Privado
    • LICENSING
    • Privacy Policy
    • Security
Powered by GitBook
On this page
Edit on GitHub
  1. Getting Started With Privado
  2. Understanding privado.json

Processing

Processing results summarises all the occurrences of detected data elements that are found in the scan.

A processing result consists of the following structure:

{
    "processing": {
        "sourceId": "string",
        "occurrences": [
            {
                "sample": "string",
                "lineNumber": "int",
                "columnNumber": "int",
                "fileName": "string",
                "excerpt": "string"
            }
        ]
    }
}

The parameters are explained below:

Field

Description

sourceId

ID of the source

occurrences

List of occurrences of the data element in the code

sample

name of the entity in which the data element is processed

lineNumber

Line number of the occurance

columnNumber

Column number of the occurance

fileName

Name of the file where the occurrence is detected

excerpt

A dump of the code around the occurrence

PreviousSourcesNextData Flow

Last updated 2 years ago