Azure / Azure/azure-powershell
Is this feature working?
- Dominant language
- C#
- Stars
- 4.8k
- Forks
- 4.3k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 51
Description
### Type of issue
Other (describe below)
### Feedback
Hello,
I tried getting this feature to work. I think I did everything right (at least I did not get any error messages and can't find any log suggesting otherwhise).
My Policy looks like this:
```
SourceAddresses : {*}
TargetFqdns : {login.microsoftonline.com, login.microsoft.com, login.windows.net}
FqdnTags : {}
Protocols : {Microsoft.Azure.Commands.Network.Models.PSAzureFirewallPolicyApplicationRuleProtocol,
Microsoft.Azure.Commands.Network.Models.PSAzureFirewallPolicyApplicationRuleProtocol}
SourceIpGroups : {}
WebCategories : {}
TargetUrls : {}
TerminateTLS : True
HttpHeadersToInsert : {Restrict-Access-To-Tenants, Restrict-Access-Context}
Description :
ProtocolsText : [
{
"protocolType": "Http",
"port": 80
},
{
"protocolType": "Https",
"port": 443
}
]
SourceAddressesText : [
"*"
]
SourceIpGroupsText : []
TargetFqdnsText : [
"login.microsoftonline.com",
"login.microsoft.com",
"login.windows.net"
]
FqdnTagsText : []
WebCategoriesText : []
TargetUrlsText : []
HttpHeadersToInsertText : [
{
"headerName": "Restrict-Access-To-Tenants",
"headerValue": "111fd61c-a2a5-4514-8a8a-f923d46b9b79"
},
{
"headerName": "Restrict-Access-Context",
"headerValue": "111fd61c-a2a5-4514-8a8a-f923d46b9b79"
}
]
Name : restricttenant
RuleType : ApplicationRule
```
However the header is not beeing inserted. Is this feature active? If not is there a timeline as when it is? Any information is greatly appreciated.
### Page URL
https://learn.microsoft.com/en-us/powershell/module/az.network/new-azfirewallpolicyapplicationrulecustomhttpheader?view=azps-12.1.0
### Content source URL
https://github.com/Azure/azure-powershell/blob/main/src/Network/Network/help/New-AzFirewallPolicyApplicationRuleCustomHttpHeader.md
### Author
@mikefrobbins
### Document Id
5632839f-f7b1-f5ef-9e3f-25b6f8101125
Contributor guide
Research direction
Start with the New-AzFirewallPolicyApplicationRuleCustomHttpHeader entry point and the help source at src/Network/Network/help/New-AzFirewallPolicyApplicationRuleCustomHttpHeader.md. Reproduce the reported Azure Firewall policy behavior using the example configuration, then determine whether the headers are inserted and update the issue or documentation with the confirmed behavior and support status.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, powershell
- Domain
- cloud, security
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100