PathRecommendation Class

Represents a path that is recommended to be allowed and its properties.

Inheritance
PathRecommendation

Constructor

PathRecommendation(*, path: Optional[str] = None, action: Optional[Union[str, azure.mgmt.security.models._security_center_enums.RecommendationAction]] = None, type: Optional[Union[str, azure.mgmt.security.models._security_center_enums.RecommendationType]] = None, publisher_info: Optional[azure.mgmt.security.models._models_py3.PublisherInfo] = None, common: Optional[bool] = None, user_sids: Optional[List[str]] = None, usernames: Optional[List[azure.mgmt.security.models._models_py3.UserRecommendation]] = None, file_type: Optional[Union[str, azure.mgmt.security.models._security_center_enums.FileType]] = None, configuration_status: Optional[Union[str, azure.mgmt.security.models._security_center_enums.ConfigurationStatus]] = None, **kwargs)

Parameters

path
str
Required

The full path of the file, or an identifier of the application.

action
str or RecommendationAction
Required

The recommendation action of the machine or rule. Possible values include: "Recommended", "Add", "Remove".

type
str or RecommendationType
Required

The type of IoT Security recommendation. Possible values include: "IoT_ACRAuthentication", "IoT_AgentSendsUnutilizedMessages", "IoT_Baseline", "IoT_EdgeHubMemOptimize", "IoT_EdgeLoggingOptions", "IoT_InconsistentModuleSettings", "IoT_InstallAgent", "IoT_IPFilter_DenyAll", "IoT_IPFilter_PermissiveRule", "IoT_OpenPorts", "IoT_PermissiveFirewallPolicy", "IoT_PermissiveInputFirewallRules", "IoT_PermissiveOutputFirewallRules", "IoT_PrivilegedDockerOptions", "IoT_SharedCredentials", "IoT_VulnerableTLSCipherSuite".

publisher_info
PublisherInfo
Required

Represents the publisher information of a process/rule.

common
bool
Required

Whether the application is commonly run on the machine.

user_sids
list[str]
Required
usernames
list[UserRecommendation]
Required
file_type
str or FileType
Required

The type of the file (for Linux files - Executable is used). Possible values include: "Exe", "Dll", "Msi", "Script", "Executable", "Unknown".

configuration_status
str or ConfigurationStatus
Required

The configuration status of the machines group or machine or rule. Possible values include: "Configured", "NotConfigured", "InProgress", "Failed", "NoStatus".