Show / Hide Table of Contents

Class FirewallObject

Inheritance
System.Object
CollectObject
FirewallObject
Inherited Members
CollectObject.ResultType
CollectObject.RowKey
CollectObject.Serialized
CollectObject.ShouldSerializeRowKey()
CollectObject.ShouldSerializeSerialized()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Microsoft.CST.AttackSurfaceAnalyzer.Objects
Assembly: AsaLib.dll
Syntax
public class FirewallObject : CollectObject

Constructors

| Improve this Doc View Source

FirewallObject(String)

Declaration
public FirewallObject(string Name)
Parameters
Type Name Description
System.String Name

Properties

| Improve this Doc View Source

Action

Gets or sets the action that the rules defines

Declaration
public FirewallAction? Action { get; set; }
Property Value
Type Description
System.Nullable<FirewallAction>
| Improve this Doc View Source

ApplicationName

Gets or sets the name of the application that this rule is about

Declaration
public string ApplicationName { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Direction

Gets or sets the data direction that the rule applies to

Declaration
public FirewallDirection? Direction { get; set; }
Property Value
Type Description
System.Nullable<FirewallDirection>
| Improve this Doc View Source

FriendlyName

Gets or sets the resolved name of the rule

Declaration
public string FriendlyName { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Identity

$"{FriendlyName} - {Direction} - {Protocol} - {ApplicationName} - {Profiles} - {Name}

Declaration
public override string Identity { get; }
Property Value
Type Description
System.String
Overrides
CollectObject.Identity
| Improve this Doc View Source

IsEnable

Gets or sets a Boolean value indicating if this rule is active

Declaration
public bool? IsEnable { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

LocalAddresses

Gets or sets the local addresses that the rule applies to

Declaration
public List<string> LocalAddresses { get; set; }
Property Value
Type Description
System.Collections.Generic.List<System.String>
| Improve this Doc View Source

LocalPorts

Gets or sets the local ports that the rule applies to

Declaration
public List<string> LocalPorts { get; set; }
Property Value
Type Description
System.Collections.Generic.List<System.String>
| Improve this Doc View Source

LocalPortType

Gets or sets the type of local ports that the rules applies to

Declaration
public FirewallPortType? LocalPortType { get; set; }
Property Value
Type Description
System.Nullable<FirewallPortType>
| Improve this Doc View Source

Name

Gets or sets the name of the rule in native format w/o auto string resolving

Declaration
public string Name { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Profiles

Gets the profiles that this rule belongs to

Declaration
public FirewallProfiles? Profiles { get; set; }
Property Value
Type Description
System.Nullable<FirewallProfiles>
| Improve this Doc View Source

Protocol

Gets or sets the protocol that the rule applies to

Declaration
public string Protocol { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

RemoteAddresses

Gets or sets the remote addresses that the rule applies to

Declaration
public List<string> RemoteAddresses { get; set; }
Property Value
Type Description
System.Collections.Generic.List<System.String>
| Improve this Doc View Source

RemotePorts

Gets or sets the remote ports that the rule applies to

Declaration
public List<string> RemotePorts { get; set; }
Property Value
Type Description
System.Collections.Generic.List<System.String>
| Improve this Doc View Source

Scope

Gets or sets the scope that the rule applies to

Declaration
public FirewallScope? Scope { get; set; }
Property Value
Type Description
System.Nullable<FirewallScope>
| Improve this Doc View Source

ServiceName

Gets or sets the name of the service that this rule is about

Declaration
public string ServiceName { get; set; }
Property Value
Type Description
System.String
  • Improve this Doc
  • View Source
Back to top Generated by DocFX