The IDF says a planned raid on a West Bank village was called off after an Israeli soldier disclosed the classified details online.

The Israeli military says that the combat soldier posted the time and location of the raid on his Facebook page, saying that troops were planning on “cleaning up” the village.

Fellow soldiers reported the leak to military authorities, who then called off the raid fearing that the information may have reached hostile groups. The soldier, still unnamed has been court-martialed and sentenced to 10 days in prison.

The IDF’s statement added that it is cracking down on soldiers’ use of social networking Web sites and has launched a campaign warning of the dangers of sharing military classified information online.