Rio de Janeiro - Brazilian police have arrested 10 people who allegedly pledged allegiance to the Islamic State group on social media and discussed possible attacks during the Rio de Janeiro Olympics, officials said on Thursday.Justice Minister Alexandre de Moraes said in the capital, Brasilia, that 10 suspects had been detained and two more were being sought. All are Brazilian, and one is a minor. The gender of the people was not given.Police acted because the group discussed using weapons and guerrilla tactics to potentially launch an attack during the Olympics, which begin August 5, Moraes said.However, "they were complete amateurs and ill-prepared" to actually launch an attack, Moraes said. "A few days ago they said they should start practising martial arts, for example."Still, Moraes said even disorganised groups should be taken seriously.The arrests were made in 10 different states, including Sao Paulo and Parana in the southern part of the country, and it was not clear whether the suspects knew each other beyond their online contacts. Moraes said there were no specific targets for an attack.'Baptised'Moraes said they had all been "baptised" as Islamic State sympathisers online and none had actually travelled to Syria or Iraq, the group's stronghold, or received any training. Several were allegedly trying to secure financing from the group, known by the acronym ISIS.The justice minister said one of the suspects communicated with a store in Paraguay via email in an alleged attempt to buy an AK-47 assault rifle, apparently the most concrete action taken toward a possible attack. That email communication was intercepted by police.Brazilians are allowed to possess small firearms, but must have a license and training to do so. Only members of the military may possess assault weapons like the AK-47, although those and other firearms are commonplace, especially in slums controlled by drug gangs.Moraes said authorities seized computers, cellphones and other equipment, but no weapons.Last week the top military aide for Brazil's interim government said concerns over terrorism had "reached a higher level" after the attack in Nice, France.Officials did not raise the country's terror alert level on Thursday following the raids.Security has emerged as the top concern during the Olympics, including violence possibly spilling over from Rio's hundreds of slums. Authorities have said they will be prepared and that about 85 000 police and soldiers will be patrolling during the competitions.