Video Screencast Help
Search Video Help Close Back
to help
New in the Rewards Catalog: Vouchers for "Symantec Technical Specialist" and "Symantec Certified Specialist" exams.

Variable Host Name in Filtering Data

Updated: 16 Jun 2010 | 2 comments
cody.t.chamberlain's picture
0 0 Votes
Login to vote

I am performing a check on accounts given certain rights. Is there a way to use a variable in my check?

The returned data is: HOSTNAME\administrator and I want to make sure that HOSTNAME\administrator is there. However, in my rule I can't use HOSTNAME\administrator as this rules is used for many different systems. I've tried things like BUILTIN\administrators, but that didn't seem to work.

Any thoughts?

discussion Filed Under:

Comments

kevin_stultz's picture
03
Nov
2009
0 Votes 0
Login to vote

variable host name in filtering data

You can't use a variable but you can use the =~ (regex) to require <something>\administrator.  CCS uses the .NET RegEx engine which is very similar to Perl 5 so there are lots of examples of the types of regex that you can use to get close to your goal.

cody.t.chamberlain's picture
16
Dec
2009
0 Votes 0
Login to vote

thats a great tip, thanks

thats a great tip, thanks Kevin!