PRIMS is legal, it can't target US citizens without a warrant and has FISA approval.
You missed:
However the piece went on to condemn Snowden for leaking information about "defensive" international intelligence operations including "cooperation with Scandinavian services against Russia; spying on the wife of an Osama bin Laden associate; and certain offensive cyber operations in China".
These revelations "disrupted lawful intelligence-gathering, causing possibly 'tremendous damage' to national security," the Post said, quoting a unanimous, bipartisan report from the House Permanent Select Committee on Intelligence.
Sorry my level of absolute confidence in the NSA stated (after the fact) goals being legal is low. Their legality is based on their declaration that they are targeting non-US citizens (eg. Canadians) but any data that does fall in their hands accidentally is not then destroyed: "Section 702 is the law that the government uses to conduct two massive NSA programs: access to communications as they travel the Internet backbone (called Upstream) and access to communications stored with service providers like Google and Facebook (called Prism).
According to this ruling, communications like email and Facebook posts collected by the government under the broad authority of section 702 that the FBI has access to—including all "raw" Prism data—can be mined for any "evidence of a crime" and used against you, even if you're inside the United States." Link:
https://www.eff.org/deeplinks/2016/04/secret-court-takes-another-bite-out-fourth-amendment
Regarding "These revelations disrupted lawful intelligence-gathering, causing
possibly 'tremendous damage' to national security," ... 'possibly' ? Then again maybe it didn't. I find this (like the mention of Osama Bin Laden) a carefully crafted statement to push public opinion away from them to a scape goat.
I suggest that whitewashing NSA statements to congress as 'I forgot' is just as problematic. "Director of National Intelligence Jim Clapper wasn’t lying when he wrongly told Congress in 2013 that the government does not “wittingly” collect information about millions of Americans, according to his top lawyer.
He just forgot." .... "Instead, Litt said, Clapper had been thinking about separate programs authorized under Section 702 of the Foreign Intelligence Surveillance Act, which the NSA has used to collect massive amounts of foreigners’ Internet data. The law explicitly prohibits the government from gathering the same kind of data about Americans, unless t is “incidental.” Link:
https://www.wsws.org/en/articles/2014/09/13/yaho-s13.html
The level of spying (eg: Merkle's mobile private conversations) against the their allies was bound to surface and can easily be argued itself a threat to national security by undermining strategic defence alliances.
Until Snowden - the NSA was out of control having no limits to their activities with any foreign government. I guess you are inclined to believe the NSA this time whereas my confidence is shaken. Canadians tend to think of themselves as a special ally - the 51'st state - but for the NSA - we are no different than Germany, England or probably Syria. Chances are - every phone call you have made this year is in their data base just waiting for a request from Canada to dig it up.