Relay AdvertisementList (ADSite) - Non-core Infrastructure
Log In or Register to download the BES file, and more.

0 Votes

Description

This fixlet sets the "_BESRelay_Register_Affiliation_AdvertisementList" for non-core infrastructure BES relays to match the property "AD Site"


Property Details

ID23800
StatusQA - Ready for Production Level Testing
TitleRelay AdvertisementList (ADSite) - Non-core Infrastructure
Category, Relay, AdvertisementList, Non-core Infrastructure
Source SeverityLow
Source Release Date10/5/2015 12:00:00 AM
Keywordsrelay AdvertisementList
Added by on 3/13/2017 10:42:08 AM
Last Modified by on 3/13/2017 10:45:21 AM
Counters 4818 Views / 1 Download
User Rating 1 star 2 star 3 star 4 star 5 star * Average over 0 ratings. ** Log In or Register to add your rating.

Relevance

Used in 30 fixlets   * Results in a true/false
Show indented relevance
NOT exists main gather service
Used in 18 fixlets and 3 analyses   * Results in a true/false
Show indented relevance
exists relay service
Used in 1 fixlet   * Results in a true/false
Show indented relevance
/*Server name fits standard names*/ exists ("bfr") whose (computer name as lowercase contains it)
Used in 1 fixlet   * Results in a true/false
Show indented relevance
/*Exclude some server names*/ not exists ("bftr") whose (computer name as lowercase contains it)
Used in 1 fixlet   * Results in a true/false
Show indented relevance
/* AD site matches standards */ (value of setting "AD Site" of client as lowercase = regex "([0-9]{3}-[a-z,0-9]{2}[0-9]{3})" ) and (not exists setting "_BESRelay_Register_Affiliation_AdvertisementList" whose (value of it contains (value of setting "AD Site" of client )) of client)

Actions

Action 1 (default)

Action Link Click here to deploy this action.
Script Type BigFix Action Script
// Check for valid AD-Site property value
if {value of setting "AD Site" of client as lowercase = regex "([0-9]{3}}-[a-z,0-9]{2}}[0-9]{3}})" }
    parameter "_AD_Site" = "{value of setting "AD Site" of client as string | "N/A"}"
    if {parameter "_AD_Site" = "N/A"}
        exit 1
    endif
else
    parameter "_AD_Site" = ""
endif

//both settings are set
if {parameter "_AD_Site" != "" }
    parameter "_set" = "{parameter "_AD_Site"}"

//something is wrong and should never get to this point
else
    exit 3
endif

setting "_BESRelay_Register_Affiliation_AdvertisementList"="{parameter "_set"}" on "{now}" for client
Success Criteria

This action will be considered successful when all lines of the action script have completed successfully.


Sharing

Social Media:
Share this page on Yammer

Comments

Log In or Register to leave comments!
masonje -
Assuming you are capturing the BES property "AD Site", you can automatically associate it to your BESRelay Register Affiliation AdvertisementList