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

Missing parameter in New-NSResponderPolicy #110

Open
masters274 opened this issue Jun 4, 2022 · 1 comment
Open

Missing parameter in New-NSResponderPolicy #110

masters274 opened this issue Jun 4, 2022 · 1 comment

Comments

@masters274
Copy link

https://docs.citrix.com/en-us/citrix-adc/12-1/appexpert/responder/setting-responder-default-action.html

Expected Behavior

-DefaultAction would be an optional parameter, that would be added to the -Payload parameter of _InvokeNSRestApi

if ($DefaultAction) {
$params += @{
undefAction = $DefaultAction
}
}

undefAction is defined in the Citrix documentation
_InvokeNSRestApi -Session $Session -Method POST -Type responderpolicy -Payload $params -Action add

Current Behavior

Does not currently allow for setting a default action in a responder policy.

Possible Solution

Add a string parameter named DefaultAction. I wouldn't use a validate set as there can be user defined actions. Default values match that of the -Action parameter.

I suggest appending the $params hash table if the parameter is defined.

Steps to Reproduce (for bugs)

N/A

Context

We use automation presented via tools to unprivileged Techs, which manage responder policies, sort of like an ACL would work. These help us apply filtering directly to VIPs. Not having the limits our automation.

Your Environment

No bug...

@olljanat
Copy link

This repository looks to be pretty much dead so there have been multiple pull requests waiting for review for years already.

So I think that it would make sense to create fork where all those can be merged.
@masters274 @thkn-hofa @overag3 Is anyone of you interested to taking lead of that?

Preferably it should be created as GitHub organization instead of having under on person account so we would need also figure out name for that project.

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

No branches or pull requests

2 participants