Text this: Optimization of network device hardening in a multivendor environment