cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted

Can we keep multiple ip with one user key in PDStorage?

Jump to solution

Can we keep multiple Client.IP with one user key in PD Storage ?

like:

“jon.doe” => “192.168.0.1,192.168.0.30,192.168.0.50”

what type of PD Storage can use and how policy?

2 Solutions

Accepted Solutions
Highlighted
McAfee Employee
McAfee Employee
Report Inappropriate Content
Message 4 of 6

Re: Can we keep multiple ip with one user key in PDStorage?

Jump to solution

Hello,

yes, there is a property to append to an existing list. This is an example using a user-defined property of type "List of IP". The criteria "checks" if the IP is already in the PD Storage list, and if it is not the events are executed:

1.) Read the IPs in the PD Storage Key into the user-defined property
2.) Append the Client.IP to this list
3.) Write the user-defined property back to PD Storage

 

2020-08-06 09_36_22-McAfee _ Web Gateway.png

Here is another example doing all the steps above in one event:

2020-08-06 09_39_12-McAfee _ Web Gateway.png

Let me know if this makes sense.

Best,
Andre

View solution in original post

Highlighted

Re: Can we keep multiple ip with one user key in PDStorage?

Jump to solution

Hello

i try to same you criteria.
It's work!!!

Thank you very much.

PDstorage.list.ip.PNG

View solution in original post

5 Replies
Highlighted
McAfee Employee
McAfee Employee
Report Inappropriate Content
Message 2 of 6

Re: Can we keep multiple ip with one user key in PDStorage?

Jump to solution

Hello,

you can use the Type List.OfIP to store a list of IP addresses per key in PD Storage.

Best,
Andre

Highlighted

Re: Can we keep multiple ip with one user key in PDStorage?

Jump to solution

Hello asabban,

I had use "PDStorage.AddGlobalData.List.IP(Straing,List of IP)" .

but i need to append new client ip to list when user logon with new client ip address.

i don't know how to add append new client ip when user logon multiple.

Do you have any way?

Thank.

Highlighted
McAfee Employee
McAfee Employee
Report Inappropriate Content
Message 4 of 6

Re: Can we keep multiple ip with one user key in PDStorage?

Jump to solution

Hello,

yes, there is a property to append to an existing list. This is an example using a user-defined property of type "List of IP". The criteria "checks" if the IP is already in the PD Storage list, and if it is not the events are executed:

1.) Read the IPs in the PD Storage Key into the user-defined property
2.) Append the Client.IP to this list
3.) Write the user-defined property back to PD Storage

 

2020-08-06 09_36_22-McAfee _ Web Gateway.png

Here is another example doing all the steps above in one event:

2020-08-06 09_39_12-McAfee _ Web Gateway.png

Let me know if this makes sense.

Best,
Andre

View solution in original post

Highlighted

Re: Can we keep multiple ip with one user key in PDStorage?

Jump to solution
Hello
if make this criteria i think PDstroage key is "Know-Client-IPs"
it's mean all ip value keep in PDstroage with key "Know-Client-IPs".
but i need to keep client ip list with Authentication.username key
like:
user1 => 192.168.1.1,192.168.1.10,192.168.1.20
user2 => 192.168.2.1,192.168.2.10,192.168.2.20

but i think your criteria the data in PDStroage is
Know-Client-IPs => 192.168.1.1,192.168.1.10,192.168.1.20,192.168.2.1,192.168.2.10,192.168.2.20

Best Regards,
Norrawat
Highlighted

Re: Can we keep multiple ip with one user key in PDStorage?

Jump to solution

Hello

i try to same you criteria.
It's work!!!

Thank you very much.

PDstorage.list.ip.PNG

View solution in original post

You Deserve an Award
Don't forget, when your helpful posts earn a kudos or get accepted as a solution you can unlock perks and badges. Those aren't the only badges, either. How many can you collect? Click here to learn more.

Community Help Hub

    New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

  • Find Forum FAQs
  • Learn How to Earn Badges
  • Ask for Help
Go to Community Help

Join the Community

    Thousands of customers use the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

  • Get helpful solutions from McAfee experts.
  • Stay connected to product conversations that matter to you.
  • Participate in product groups led by McAfee employees.
Join the Community
Join the Community