If you're referring to Phasma, then as a general rule of thumb you should ignore her military rank. According to SW literature, although she's technically a captain, her true position in the First Order is much higher (more or less on the same level as Hux & Klyo Ren).
***EDITORS*** All the Star Trek Discovery Season 0 ("Short Treks") episodes here are MISNUMBERED. According to IMDb, s0e01 is Runaway, s0e02 is Calypso, s0e03 is the just-released Brightest Star; s0e04 won't be out until Jan. The links HERE for "01" are correct, but are the same as for "02" (or mostly so?--I didn't look at all of them), "03" are for the real 02, and "04" are for the real 03. Some other sites are making the same mistakes.
Year : 2010
Episode Runtime: 45
First Aired: September 20, 2010
Status : Continuing
Hawaii Five-0 Season 1 Episode 22 (s01e22)
Steve McGarrett returns home to Oahu, in order to find his father's killer. The governor offers him the chance to run his own task force (Five-0). Steve's team is joined by Chin Ho Kelly, Danny "Danno" Williams, and Kono Kalakaua.
Hawaii Five-0 Season 1 Episode 22 (s01e22) LinksSee All Episodes
Hawaii Five-0 Season 1 Episode 22