A journalist's only responsibilities are tell the truth to their readers, don't report allegations as facts and don't expose a persons identity without consent if they're not already famous.
They should never care about national security because that's an instant ethical compromise, letting the government dictate what you can say.