(covers information from several alternate timelines)
A security team, also known as a security detail, security detachment, security squad, or armed detail, was a squad of security personnel. They are usually assigned aboard major Starfleet starships, and carry weapons such as phase-pistols or phasers. Security team assignments included: guard duty, responding to and neutralizing threats to ship's security, and security or search operations on planetary surfaces and other off-ship locations.
While hiding in the catwalk of Enterprise NX-01 in September 2152 and being taken over by the Takret Militia, Malcolm Reed suggested he could take a security team and bring more EV suits to the catwalk. (ENT: "The Catwalk")
In 2364, Captain Picard ordered a security team to retrieve the two Klingon renegades Korris and Konmel. The team was led by security chief Tasha Yar and had an almost hostage situation. (TNG: "Heart of Glory")
Walter Baxter commanded a security team aboard the USS Voyager. In 2371, his attempts to find them were unsuccessful when he became lost due to the warping of the vessel's hull from a distortion ring. (VOY: "Twisted")
Following the destruction of sections 10-53 during an attack of a Krenim warship, Captain Kathryn Janeway ordered Tuvok to assemble a security team and check Voyager deck by deck to get a full damage report. (VOY: "Year of Hell")