Rules
1 - MA-DBP-028
Empty use outlook account activity
*No child activity
{
"Id": "MA-DBP-028",
"IsEnabled": true,
"Parameters": [],
"ErrorLevel": "Warning"
},
2 - ST-USG-014
Package Restriction
“UiPath.Excel.Activities, UiPath.UIAutomation.Activities”
UiPath.Excel.Activities = 2.5.3
UiPath.Excel.Activities > 2.5.3
UiPath.Excel.Activities >= 2.5.3
UiPath.Excel.Activities >= 2.5.3-*
3 - ST-USG-026
Activity Restriction
{
"Id": "ST-USG-026",
"IsEnabled": true,
"Parameters": [
{
"Name": "ProhibitedActivities",
"Value": null
},
{
"Name": "AllowedActivities",
"Value": null
}
],
"ErrorLevel": "Warning"
},
UiPath.Core.Activities.InvokeWorkflowFile,
System.Activities.Statements.Assign
4 - ST-USG-027
Required Packages
{
"Id": "ST-USG-027",
"IsEnabled": true,
"Parameters": [
{
"Name": "RequiredPackages",
"Value": null
}
],
"ErrorLevel": "Error"
},
“UiPath.Excel.Activities, UiPath.UIAutomation.Activities”
UiPath.Excel.Activities = 2.5.3
UiPath.Excel.Activities > 2.5.3
UiPath.Excel.Activities >= 2.5.3
UiPath.Excel.Activities >= 2.5.3-*
5 - XL-DBP-027
Empty Use Excel File activity
*No child activity
{
"Id": "XL-DBP-027",
"IsEnabled": true,
"Parameters": [],
"ErrorLevel": "Warning"
},
6 - UX-SEC-010
App/Url Restriction
{
"Id": "UX-SEC-010",
"IsEnabled": true,
"Parameters": [
{
"Name": "blacklistApps",
"Value": null
},
{
"Name": "whitelistApps",
"Value": null
},
{
"Name": "blacklistUrls",
"Value": null
},
{
"Name": "whitelistUrls",
"Value": null
}
],
"ErrorLevel": "Warning"
},
“iexplore.exe, chrome.exe”
Prohibited Applications - Applications that are not allowed in the
project. All applications that are not on this list can be used in the project.
Allowed Applications - Applications that are allowed in the project. Only
the applications that are on this list can be used in the project.
Prohibited URLs - URLs that are not allowed in the project. All URLs that
are not on this list can be used in the project.
Allowed URLs - URLs that are allowed in the project. Only the URLs that
are on this list can be used in the project.
7 - ST-DBP-020
The rule checks whether output properties for certain activities are declared
and used.
"Id": "ST-DBP-020",
"IsEnabled": false,
"Parameters": [
"Name": "Excluded",
"Value": null
],
"ErrorLevel": "Warning"
},
Excluded
UiPath.Core.Activities.ForEach,
UiPath.Core.Activities.MessageBox,
UiPath.Excel.Activities.Business.ExecuteMacroX,
UiPath.UIAutomationNext.Activities.NCheckState,
UiPath.Excel.Activities.Business.InsertSheetX
8 - ST-MRD-017
Incomplete If
{
"Id": "ST-MRD-017",
"IsEnabled": true,
"Parameters": [],
"ErrorLevel": "Warning"
},
9 – ST-USG-024
Unused Saved for Later
{
"Id": "ST-USG-024",
"IsEnabled": true,
"Parameters": [],
"ErrorLevel": "Warning"
},
10 - ST-USG-025
Saved Value Misuse
Use values that are saved for later only in activities placed after the
activity where the values are saved.
{
"Id": "ST-USG-025",
"IsEnabled": true,
"Parameters": [],
"ErrorLevel": "Warning"
},
11 – UI-DBP-030
Detects forbidden variables used in UIAutomation selectors, both classic and
modern. Ensures that no UIAutomation activity in the entire project uses either
variables in selectors or selectors replaced entirely by variables.
In situations where you are using variables in selectors, it is recommended to
refactor your code and use only string selectors.
{
"Id": "UI-DBP-030",
"IsEnabled": false,
"Parameters": [],
"ErrorLevel": "Error"
},
12 – UX-DBP-029
Insecure Password use
if any “Type Into” activity is used to type passwords as plain strings in your
workflow.
{
"Id": "UX-DBP-029",
"IsEnabled": true,
"Parameters": [],
"ErrorLevel": "Warning"
},