Skip to content

Commit

Permalink
Merge pull request #37 from JupiterOne/INT-10694
Browse files Browse the repository at this point in the history
INT-10694: disable Up mac addresses restriction
  • Loading branch information
gastonyelmini authored Apr 4, 2024
2 parents 620a56a + e78e46b commit 1974403
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/steps/ms-defender/machine/converters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,9 +195,7 @@ function getValidMacAddresses(data: {
(data.ipAddresses ?? [])
.filter(
(ip) =>
ip.ipAddress == data.lastIpAddress &&
ip.operationalStatus == 'Up' && // Ignore macAddresses that are inactive.
ip.type != 'SoftwareLoopback', // Used for localhost
ip.ipAddress == data.lastIpAddress && ip.type != 'SoftwareLoopback', // Used for localhost
)
.map((ip) => ip.macAddress)
.filter(isValidMacAddress),
Expand Down

0 comments on commit 1974403

Please sign in to comment.