File: _run.py

package info (click to toggle)
python-sarif-python-om 1.0.4-3
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 424 kB
  • sloc: python: 634; makefile: 3
file content (37 lines) | stat: -rw-r--r-- 2,891 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# This file was generated by jschema_to_python version 1.2.3.

import attr


@attr.s
class Run(object):
    """Describes a single run of an analysis tool, and contains the reported output of that run."""

    tool = attr.ib(metadata={"schema_property_name": "tool"})
    addresses = attr.ib(default=None, metadata={"schema_property_name": "addresses"})
    artifacts = attr.ib(default=None, metadata={"schema_property_name": "artifacts"})
    automation_details = attr.ib(default=None, metadata={"schema_property_name": "automationDetails"})
    baseline_guid = attr.ib(default=None, metadata={"schema_property_name": "baselineGuid"})
    column_kind = attr.ib(default=None, metadata={"schema_property_name": "columnKind"})
    conversion = attr.ib(default=None, metadata={"schema_property_name": "conversion"})
    default_encoding = attr.ib(default=None, metadata={"schema_property_name": "defaultEncoding"})
    default_source_language = attr.ib(default=None, metadata={"schema_property_name": "defaultSourceLanguage"})
    external_property_file_references = attr.ib(default=None, metadata={"schema_property_name": "externalPropertyFileReferences"})
    graphs = attr.ib(default=None, metadata={"schema_property_name": "graphs"})
    invocations = attr.ib(default=None, metadata={"schema_property_name": "invocations"})
    language = attr.ib(default="en-US", metadata={"schema_property_name": "language"})
    logical_locations = attr.ib(default=None, metadata={"schema_property_name": "logicalLocations"})
    newline_sequences = attr.ib(default=attr.Factory(lambda: ['\r\n', '\n']), metadata={"schema_property_name": "newlineSequences"})
    original_uri_base_ids = attr.ib(default=None, metadata={"schema_property_name": "originalUriBaseIds"})
    policies = attr.ib(default=None, metadata={"schema_property_name": "policies"})
    properties = attr.ib(default=None, metadata={"schema_property_name": "properties"})
    redaction_tokens = attr.ib(default=None, metadata={"schema_property_name": "redactionTokens"})
    results = attr.ib(default=None, metadata={"schema_property_name": "results"})
    run_aggregates = attr.ib(default=None, metadata={"schema_property_name": "runAggregates"})
    special_locations = attr.ib(default=None, metadata={"schema_property_name": "specialLocations"})
    taxonomies = attr.ib(default=None, metadata={"schema_property_name": "taxonomies"})
    thread_flow_locations = attr.ib(default=None, metadata={"schema_property_name": "threadFlowLocations"})
    translations = attr.ib(default=None, metadata={"schema_property_name": "translations"})
    version_control_provenance = attr.ib(default=None, metadata={"schema_property_name": "versionControlProvenance"})
    web_requests = attr.ib(default=None, metadata={"schema_property_name": "webRequests"})
    web_responses = attr.ib(default=None, metadata={"schema_property_name": "webResponses"})