Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix allow port from internet #358

Merged
merged 4 commits into from
Jan 6, 2021

Conversation

srb3
Copy link

@srb3 srb3 commented Jan 5, 2021

Description

When an ICMP rule is created in Azure the port number is set to *. If ICMP is allowed from the internet then the allow_port_from_internet? method returns true for all ports tested, this is not the desired behaviour - this fix makes the port check criteria only consider rules that are not_icmp

Issues Resolved

#357

Check List

@srb3 srb3 requested a review from a team as a code owner January 5, 2021 12:24
Copy link
Contributor

@TheLunaticScripter TheLunaticScripter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@TheLunaticScripter TheLunaticScripter merged commit cf3c184 into inspec:master Jan 6, 2021
@srb3 srb3 deleted the fix_allow_port_from_internet branch January 6, 2021 21:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants