Skip to content

Instantly share code, notes, and snippets.

@rsoesemann
Created June 23, 2022 12:18
Show Gist options
  • Save rsoesemann/9203bf33b0cd44ead7018b0d761beec5 to your computer and use it in GitHub Desktop.
Save rsoesemann/9203bf33b0cd44ead7018b0d761beec5 to your computer and use it in GitHub Desktop.
JSON output of Salesforce Graph Engine (SFGE)
[
{
"engine":"sfge",
"fileName":"/Users/rsoesemann/dev/projects/lma-app-cockpit/force-app/main/default/classes/SetupArchiveErrors.cls",
"violations":[
{
"ruleName":"ApexFlsViolationRule",
"severity":1,
"message":"FLS validation is missing for [READ] operation on [ArchivedAppError__b] with field(s) [dtm_ArchivedDate__c]",
"category":"Security",
"url":"https://forcedotcom.github.io/sfdx-scanner/en/v3.x/salesforce-graph-engine/rules/#ApexFlsViolationRule",
"sinkLine":25,
"sinkColumn":43,
"sinkFileName":"/Users/rsoesemann/dev/projects/lma-app-cockpit/force-app/main/default/classes/SetupArchiveErrors.cls",
"sourceLine":42,
"sourceColumn":35,
"sourceType":"SetupArchiveErrors",
"sourceMethodName":"run"
},
{
"ruleName":"ApexFlsViolationRule",
"severity":1,
"message":"FLS validation is missing for [READ] operation on [ArchivedAppError__b] with field(s) [dtm_ArchivedDate__c]",
"category":"Security",
"url":"https://forcedotcom.github.io/sfdx-scanner/en/v3.x/salesforce-graph-engine/rules/#ApexFlsViolationRule",
"sinkLine":25,
"sinkColumn":43,
"sinkFileName":"/Users/rsoesemann/dev/projects/lma-app-cockpit/force-app/main/default/classes/SetupArchiveErrors.cls",
"sourceLine":60,
"sourceColumn":26,
"sourceType":"SetupArchiveErrors",
"sourceMethodName":"runNow"
}
]
},
{
"engine":"sfge",
"fileName":"/Users/rsoesemann/dev/projects/lma-app-cockpit/force-app/main/default/classes/SetupPackageNamespaces.cls",
"violations":[
{
"ruleName":"ApexFlsViolationRule",
"severity":1,
"message":"FLS validation is missing for [READ] operation on [sfLma__Package__c] with field(s) [sfLma__Package_ID__c,txt_Namespace__c]",
"category":"Security",
"url":"https://forcedotcom.github.io/sfdx-scanner/en/v3.x/salesforce-graph-engine/rules/#ApexFlsViolationRule",
"sinkLine":23,
"sinkColumn":48,
"sinkFileName":"/Users/rsoesemann/dev/projects/lma-app-cockpit/force-app/main/default/classes/SetupPackageNamespaces.cls",
"sourceLine":21,
"sourceColumn":35,
"sourceType":"SetupPackageNamespaces",
"sourceMethodName":"run"
},
{
"ruleName":"ApexFlsViolationRule",
"severity":1,
"message":"FLS validation is missing for [UPDATE] operation on [sfLma__Package__c] with field(s) [sfLma__Package_ID__c,txt_Namespace__c]",
"category":"Security",
"url":"https://forcedotcom.github.io/sfdx-scanner/en/v3.x/salesforce-graph-engine/rules/#ApexFlsViolationRule",
"sinkLine":30,
"sinkColumn":13,
"sinkFileName":"/Users/rsoesemann/dev/projects/lma-app-cockpit/force-app/main/default/classes/SetupPackageNamespaces.cls",
"sourceLine":21,
"sourceColumn":35,
"sourceType":"SetupPackageNamespaces",
"sourceMethodName":"run"
}
]
},
{
"engine":"sfge",
"fileName":"/Users/rsoesemann/dev/projects/lma-app-cockpit/force-app/main/default/classes/SetupPageCtrl.cls",
"violations":[
{
"ruleName":"ApexFlsViolationRule",
"severity":1,
"message":"FLS validation is missing for [READ] operation on [ArchivedAppError__b] with field(s) [dtm_ArchivedDate__c]",
"category":"Security",
"url":"https://forcedotcom.github.io/sfdx-scanner/en/v3.x/salesforce-graph-engine/rules/#ApexFlsViolationRule",
"sinkLine":25,
"sinkColumn":43,
"sinkFileName":"/Users/rsoesemann/dev/projects/lma-app-cockpit/force-app/main/default/classes/SetupArchiveErrors.cls",
"sourceLine":25,
"sourceColumn":37,
"sourceType":"SetupPageCtrl",
"sourceMethodName":"steps"
}
]
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment