Add Gold Image Baselines to Approved Application List - superseded
Log In or Register to download the BES file, and more.

0 Votes

Versioning - This is an older version.

1Add Gold Image Baselines to Approved Application List3/24/2016 5:00:36 AM
2Add Gold Image Baselines to Approved Application List8/11/2016 11:58:20 AM
3Add Gold Image Baselines to Approved Application List8/11/2016 11:59:23 AM
4Add Gold Image Baselines to Approved Application List8/11/2016 12:21:24 PM

Description

This fixlet will be relevant when there are gold image baseline results in the baseline share.  When executed these applications and their associated hash values will be added to the whitelist.  If the application is already in existence, the new hash will be added.

Property Details

ID21124
StatusProduction - Fully Tested and Ready for Production
TitleAdd Gold Image Baselines to Approved Application List
DomainBESC
SourceRES Software
Source Release Date8/10/2016 12:00:00 AM
Is TaskTrue
Added by on 8/11/2016 11:58:20 AM
Last Modified by on 8/11/2016 11:58:20 AM
Counters 2259 Views / 0 Downloads
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 8 fixlets   * Results in a true/false
Show indented relevance
number of (pathnames of find files "authfiles*.txt" of (descendant folders of folder (pathname of parent folder of parent folder of file of service "BESRootServer" as string))) > 0

Actions

Action 1 (default)

Action Link Click here to deploy this action.
Script Type BigFix Action Script
// Source Release Date: 2016-08-10


delete __createfile
delete "{(value of variable "temp" of environment) & "\importbaseline.bat"}"
createfile until __done
cd /d {"%22"}{(pathname of parent folder of parent folder of file of service "BESRootServer" as string)}\BES Server\UploadManagerData\BufferDir{"%22"}
for /f {"%22"}delims=|{"%22"} %%f in ('dir /b /s authfiles*.txt') do "{pathname of parent folder of parent folder of file of service "res" & "\pwrtech.exe"}" /importhashes={"%22"}%%f{"%22"} /createifnotexists
for /f {"%22"}delims=|{"%22"} %%f in ('dir /b /s authfiles*.txt') do @del /Q /F {"%22"}%%f{"%22"}
__done
copy __createfile "{(value of variable "temp" of environment) & "\importbaseline.bat"}"
waithidden cmd /c "{(value of variable "temp" of environment) & "\importbaseline.bat"}"

delete "{(value of variable "temp" of environment) & "\importbaseline.bat"}"
Success Criteria

This action will be considered successful when the applicability relevance evaluates to false.


Sharing

Social Media:
Share this page on Yammer

Comments

Log In or Register to leave comments!