Giter VIP home page Giter VIP logo

Comments (12)

varunupps avatar varunupps commented on June 10, 2024 2

hi @pedrooot - it's fixed. thanks for your help

image

from prowler.

pedrooot avatar pedrooot commented on June 10, 2024 1

Hi! @varunupps thanks for the report, I´ll work on this issue and reach you with a solution!
Thanks for using Prowler!!!

from prowler.

varunupps avatar varunupps commented on June 10, 2024 1

hello @pedrooot . pls see attached.

image
image

from prowler.

varunupps avatar varunupps commented on June 10, 2024

image

from prowler.

varunupps avatar varunupps commented on June 10, 2024

awesome. if you need more details, just gimme a shout. ta

from prowler.

pedrooot avatar pedrooot commented on June 10, 2024

@varunupps I´m trying to replicate your issue but I´m getting this:
Screenshot 2024-04-17 at 14 07 31

from prowler.

pedrooot avatar pedrooot commented on June 10, 2024

Could you send me a screenshot like this one?:
Screenshot 2024-04-17 at 14 09 46
It appears when creating an inbound security rule

from prowler.

pedrooot avatar pedrooot commented on June 10, 2024

@varunupps To ensure that we have the same configuration, can you check that this configuration?:

"securityRules": [
            {
                "name": "SSH",
                "id": "/subscriptions/<subscription_id>/resourceGroups/<resource_group>/providers/Microsoft.Network/networkSecurityGroups/<nsg>/securityRules/SSH",
                "etag": "W/\"<etag>\"",
                "type": "Microsoft.Network/networkSecurityGroups/securityRules",
                "properties": {
                    "provisioningState": "Succeeded",
                    "protocol": "TCP",
                    "sourcePortRange": "*",
                    "destinationPortRange": "22",
                    "sourceAddressPrefix": "*",
                    "destinationAddressPrefix": "*",
                    "access": "Allow",
                    "priority": 1000,
                    "direction": "Inbound",
                    "sourcePortRanges": [],
                    "destinationPortRanges": [],
                    "sourceAddressPrefixes": [],
                    "destinationAddressPrefixes": []
                }
            }
        ],

From
Screenshot 2024-04-17 at 16 05 30

from prowler.

varunupps avatar varunupps commented on June 10, 2024

hello @pedrooot . Please see below. Only variation I can see is the case of 'Tcp'

 "securityRules": [
            {
                "name": "SSH",
                "id": "/subscriptions/<subscription_id>/resourceGroups/<resource_group>/providers/Microsoft.Network/networkSecurityGroups/<NSG>/securityRules/SSH",
                "etag": "W/\"<ETAG>\"",
                "type": "Microsoft.Network/networkSecurityGroups/securityRules",
                "properties": {
                    "provisioningState": "Succeeded",
                    "protocol": "Tcp",
                    "sourcePortRange": "*",
                    "destinationPortRange": "22",
                    "sourceAddressPrefix": "*",
                    "destinationAddressPrefix": "*",
                    "access": "Allow",
                    "priority": 1000,
                    "direction": "Inbound",
                    "sourcePortRanges": [],
                    "destinationPortRanges": [],
                    "sourceAddressPrefixes": [],
                    "destinationAddressPrefixes": []
                }
            }
        ],

from prowler.

varunupps avatar varunupps commented on June 10, 2024

@pedrooot - could this be it? https://github.com/prowler-cloud/prowler/blob/master/prowler/providers/azure/services/network/network_ssh_internet_access_restricted/network_ssh_internet_access_restricted.py#L26

from prowler.

pedrooot avatar pedrooot commented on June 10, 2024

Yes, I´m pretty sure that changing this line wuould resolve the issue, I´ll do it asap

from prowler.

pedrooot avatar pedrooot commented on June 10, 2024

Hey! @varunupps you can try here the new fix. If the error persists just tell me!
Thanks for using Prowler 😄

from prowler.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.