En 44-årig kvinde er blevet idømt en ubetinget fængselsdom for blandt andet at have bragt en politibetjent i fare.