Indonesian police shot dead three men on Wednesday after one attacked them with a samurai sword, wounding two officers, at Riau police headquarters in Pekanbaru, Sumatra, an internal police report said.
The group slammed a minivan into a gate and then attacked officers with swords.
"The one who escaped has been captured and secured at Pekanbaru police station", Mr Wasisto said.
This was the second attack on a police premise in the country since Monday.
"Then four of the men got out from the vehicle and attacked police", he added.
Police have been frequent targets of mostly low level attacks by local militants, including a 2017 suicide bombing at a bus station in Jakarta that killed three police officers.
Most attacks in recent years have been limited to low-level operations against domestic security forces.
All six bombers died, including the mother who was Indonesia's first known female suicide bomber.
Tribunnews.com reported a TV journalist, not yet identified at the time of writing, suffered some wounds because he was near the fences for a news release on drugs at the police headquarters.
The families have been linked to the local chapter of Indonesian extremist network Jamaah Ansharut Daulah (JAD), which police said was behind the attacks.
"They had the same teacher and they regularly met for Koran recital every week", said East Java police chief Machfud Arifin.
Police have said the church and earlier police station attacks were motivated by the arrest of JAD leaders, including jailed radical Aman Abdurrahman.
The attackers were members of the Negara Islam Indonesia (NII) which is affiliated with the IS group, the spokesman said.