It is called "leaking".
a leak
They can say that the information is secret and can limit press coverage.
gatekeeping
If government officials tell lies, hold secret meetings, or try to limit reporters' access to information in other ways, the media may not be able to provide the information citizens need.
What is it called when the media get to decide what information the public will be given
secret.....
Mass Media
The print media has been called the "fourth estate" due to its role as an important pillar of democracy, providing information and holding governments accountable. Media outlets have the responsibility to provide accurate and unbiased information to the public to ensure an informed citizenry.
A whistle blower is a person who divulges internal, often secret, information to outsiders such as media or law enforcement, in order to expose corruption or other illegal activity.
Reporters gather information about the news and the media person you see is called The Anchorman/Anchorwoman.
Media share news and information with the people
Reporters gather information about the news and the media person you see is called The Anchorman/Anchorwoman.