Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Provides the ReportingDescriptor
type, which is essentially used to
represent descriptions of rules that a static analysis tool has applied.
Documentation
newtype ReportingConfiguration Source #
Represents default configurations for ReportingDescriptor
values. That is
properties which may be overriden by individual results.
Instances
FromJSON ReportingConfiguration Source # | |
Defined in Data.SARIF.ReportingDescriptor | |
ToJSON ReportingConfiguration Source # | |
Defined in Data.SARIF.ReportingDescriptor toJSON :: ReportingConfiguration -> Value # toEncoding :: ReportingConfiguration -> Encoding # toJSONList :: [ReportingConfiguration] -> Value # | |
Show ReportingConfiguration Source # | |
Defined in Data.SARIF.ReportingDescriptor showsPrec :: Int -> ReportingConfiguration -> ShowS # show :: ReportingConfiguration -> String # showList :: [ReportingConfiguration] -> ShowS # | |
Eq ReportingConfiguration Source # | |
Defined in Data.SARIF.ReportingDescriptor |
defaultReportingConfiguration :: ReportingConfiguration Source #
defaultReportingConfiguration
is a default
ReportingConfiguration
value.
data ReportingDescriptor Source #
Represents rules that a static analysis tool
MkReportingDescriptor | |
|
Instances
FromJSON ReportingDescriptor Source # | |
Defined in Data.SARIF.ReportingDescriptor parseJSON :: Value -> Parser ReportingDescriptor # parseJSONList :: Value -> Parser [ReportingDescriptor] # | |
ToJSON ReportingDescriptor Source # | |
Defined in Data.SARIF.ReportingDescriptor toJSON :: ReportingDescriptor -> Value # toEncoding :: ReportingDescriptor -> Encoding # toJSONList :: [ReportingDescriptor] -> Value # toEncodingList :: [ReportingDescriptor] -> Encoding # | |
Show ReportingDescriptor Source # | |
Defined in Data.SARIF.ReportingDescriptor showsPrec :: Int -> ReportingDescriptor -> ShowS # show :: ReportingDescriptor -> String # showList :: [ReportingDescriptor] -> ShowS # | |
Eq ReportingDescriptor Source # | |
Defined in Data.SARIF.ReportingDescriptor (==) :: ReportingDescriptor -> ReportingDescriptor -> Bool # (/=) :: ReportingDescriptor -> ReportingDescriptor -> Bool # |
defaultReportingDescriptor :: Text -> ReportingDescriptor Source #
defaultReportingDescriptor
id
constructs a default
ReportingDescriptor
with the given id
, which must be unique.