Hello!
We are POST-ing a specific server automation template using the REST API to BigFix by passing values to different parameters in the XML.
Here, we are using the VMware Modify Virtual Machine fixlet. So we pass different values to the parameters such as -
<parameter name="Host"><![CDATA[abc.def.ghi.jkl]]></parameter>
<parameter name="VMName"><![CDATA[abc.def.ghi.jkl]]></parameter>
<parameter name="VMUUID"><![CDATA[33333ebff-3cc7-06fb-9cb1-d33333cae]]></parameter>
<parameter name="DiskName"><![CDATA[Hard disk 1]]></parameter>
<parameter name="DiskSize"><![CDATA[61440]]></parameter>
<parameter name="MemorySize"><![CDATA[8192]]></parameter>
<parameter name="CPU"><![CDATA[2]]></parameter>
In the fields of disk name, disk size, we pass values which change constantly.
But our problem is that we do not require the DISKNAME & DISKSIZE fields to be affected.
So is there any default/dummy value which can be passed to these tags, so as to not change the disk name / disk size?
In the XML documentation, there are a few comments:
//action parameter query “DiskName” with description “Enter the name of the disk. For example: Hard disk 1” With default “disk name”
//action parameter query “DiskSize” with description “Enter the size of the disk (KB):” With default “disk size”
This points to there being a default value?
Any & all help is appreciated.
Thanks,
Vishrut Mittal