National security, or national defence, is the security and defence of a sovereign state, including its citizens, economy, and institutions, which is regarded as a duty of government. From Wikipedia
The Court allows individuals to confirm if they were targeted while affirming spyware use against terrorists is permissible.