An Islamist terrorist plotted to attack France's Rio Olympics team, the head of French intelligence said.

General Christophe Gomart, head of the Directorate of Military Intelligence (DRM), told a parliamentary committee investigating the 2015 terror attacks in Paris that France had been tipped off about the plot by a "partner" foreign intelligence agency, AFP reported.

According to the transcript of the hearing recently made public, a Brazilian national planned the attack. French newspaper Liberation quoted a source disclosing that the nationality of the attacker was not meant to be made public.

No other information on the plot was revealed.

Head of Brazil's intelligence agency Wilson Roberto Trezza said that his organisation was not aware of the plot, and had not been contacted by France or any other country about it.

Brazilian Minister of Justice Alexandre Moraes said that an Islamist terror attack during the Olympics, which will be held from 5 August to 21 August, was a "possibility" but "not a probability".

Brazil said that 85,000 soldiers, police and security personnel will be deployed in Rio de Janeiro for the Olympics.