They were all lens flares like in the Star Trek movies.
Dylan Browne has counted 721 lens flares in the Star Trek and 826 lens flares in Star Trek Into Darkness, for a grand total of 1,547 Star Trek lens flares!
https://www.slashfilm.com/535828/star-trek-lens-flares/