Security

Reply
Frequent Contributor I

[Time Source] DB syntax in value

Hi folks,

I want to create an attribute that equals the following value.

'Current Date/Time + 90days'.

How can I use [Time Source] local SQL DB to do this ? What is the value syntax to build that using [Time Source].

Guru Elite

Re: [Time Source] DB syntax in value

select localtimestamp(0)+ interval '90 days' as ninety_days_from_now 

| Tim Cappalli | Aruba Security | @timcappalli | timcappalli.me |

NOTE: Answers and views expressed by me on this forum are my own and not necessarily the position of Aruba or Hewlett Packard Enterprise.
Frequent Contributor I

Re: [Time Source] DB syntax in value

So I can just paste that line in my highlighted red area ? Screenshot below

 

http://imgur.com/a/Ycz3v

Guru Elite

Re: [Time Source] DB syntax in value

No, you would need to add it as a custom attribute to your Time Source auth
source, then add the parameterized string to your enforcement profile.

| Tim Cappalli | Aruba Security | @timcappalli | timcappalli.me |

NOTE: Answers and views expressed by me on this forum are my own and not necessarily the position of Aruba or Hewlett Packard Enterprise.
Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: