For example, if the Libyan government has planned a secret military mission to invade Egypt, and someone in the Egyptian discovers that the mission is being planned , the mission has been compromised. Then if the Libyan government knows that the Egyptian government knows about the secret mission, of course they will abandon the mission, because it is no longer secret.