GithubHelp home page GithubHelp logo

Comments (5)

Khushboo-msft avatar Khushboo-msft commented on July 23, 2024 1

This will be fixed in our next release (going out this week).

from devopskit.

Khushboo-msft avatar Khushboo-msft commented on July 23, 2024

@samhodgkinson Could you please post the detailed error that you got. Azure_VNet_NetSec_Justify_IPForwarding_for_NICs is the control Id and not an error.

from devopskit.

samhodgkinson avatar samhodgkinson commented on July 23, 2024

Your right; but the issue here is, IPForwarding is only enabled on the interface. I have scanned a template just containing VNET/Subnet/NSG. I should only get an IPForwarding alert/error when an interface is deployed and the enableIPForwarding parameter is set to $true.

Interface Schema
https://docs.microsoft.com/en-us/azure/templates/microsoft.network/2018-11-01/networkinterfaces

Network Schema
https://docs.microsoft.com/en-us/azure/templates/microsoft.network/2018-11-01/virtualnetworks

I will run the scan later and add a screen grab.

from devopskit.

patrick138 avatar patrick138 commented on July 23, 2024

same issue here:

ControlId : Azure_VNet_NetSec_Justify_IPForwarding_for_NICs
FeatureName : VirtualNetwork
Status : Failed
SupportedResources : Microsoft.Network/virtualNetworks , Microsoft.Network/networkInterfaces
Severity : High
PropertyPath : Not found
LineNumber : -1
CurrentValue :
ExpectedProperty : $.properties.enableIPForwarding
ExpectedValue : 'False'
ResourcePath : resources[0]
ResourceLineNumber : 86
Description : Use of IP Forwarding on any NIC in a virtual network should be scrutinized
FilePath : D:\a\1\s\src\Generic-VNet-and-SNet\vnet.json

from devopskit.

ashishrajsrivastava avatar ashishrajsrivastava commented on July 23, 2024

Yep getting the same false error for Vnet resource. If I add the expected property then it passes the azsk validation but then in deployment it will fail as its not a valid schema for Vnet.

##[error]BadRequest: { "error": { "code": "InvalidRequestFormat", "message": "Cannot parse the request.", "details": [ { "code": "InvalidJson", "message": "Could not find member 'enableIPForwarding' on object of type 'VirtualNetworkProperties'. Path 'properties.enableIPForwarding', line 1, position 115." } ] } } undefined

from devopskit.

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.