def get(self, item_id):

        result = NetworkWhitelistEntry.query.filter(NetworkWhitelistEntry.id == item_id).first()

        if not result:
            return {"status": "Whitelist entry with the given ID not found."}, 404

        whitelistentry_marshaled = marshal(result.__dict__, WHITELIST_FIELDS)
        whitelistentry_marshaled['auth'] = self.auth_dict

        return whitelistentry_marshaled, 200
.. http:get:: /api/1/whitelistcidrs/<int:id>
dataset/ETHPy150Open Netflix/security_monkey/security_monkey/views/whitelist.py/WhitelistGetPutDelete.get