PHOTO: CNN
Now playing
02:06
The videos YouTube shooter posted online
PHOTO: MyHeritage
Now playing
01:01
Watch old photos come to life using AI
PHOTO: CNN/Getty Images
Now playing
06:46
McEnany says she expected 'peaceful' rally on January 6. Keilar rolls the tape
Now playing
01:26
No, Tom Cruise isn't on TikTok. It's a deepfake
PHOTO: ABC's "Jimmy Kimmel Live
Now playing
02:02
Eddie Murphy, Arsenio Hall reunite in 'Coming 2 America'
PHOTO: Courtesy AirlingRatings.com
Now playing
03:06
Virgin Atlantic CEO: We support Covid vaccine passports
Now playing
01:19
Warren proposes wealth tax: 'It's time for them to pay a fair share'
Now playing
01:43
Marriott CEO: Vaccinations are 'the key' to travel recovery
Now playing
01:23
'There should be no threats': Biden's message to union-busters
Ashley Vanderbilt Former QAnon believer
PHOTO: CNN
Ashley Vanderbilt Former QAnon believer
Now playing
07:40
Former QAnon believer shares bonkers conspiracy theory about Biden
snl.fauci.vaccine.orig_00005420.png
snl.fauci.vaccine.orig_00005420.png
Now playing
01:24
'SNL' has 'Dr. Fauci' helping people get vaccinated

Editor’s Note: CNN analyst Juliette Kayyem is the author of the best-seller “Security Mom: My Life Protecting the Home and Homeland.” She is a professor at Harvard’s Kennedy School, a former assistant secretary of the Department of Homeland Security in the Obama administration and CEO of Zemcar. The opinions expressed in this commentary are hers.

(CNN) —  

The shooting in San Bruno, California, at YouTube’s headquarters was, in some respects, just another case of gun violence.

Three people were shot before the woman turned the handgun on herself and committed suicide. Employees were seen fleeing off the YouTube campus as police rushed to the scene.

It appears, by news accounts now, that the shooter was Nasim Najafi Aghdam. More information will be forthcoming about her specific motives and whether she targeted any of the victims. This is a traumatic incident for all those affected by the attack. But in the strange way we judge violence today, the YouTube incident is not a national tragedy; it doesn’t even technically qualify as a mass shooting.

And because it didn’t take place at a schooI but in a workplace environment, it lacks the emotion of what we saw after the February attack in Parkland, Florida.

But that doesn’t mean we should just walk away and simply say: “Tragedy averted.” In crisis management and homeland security, a disaster averted is still significant because it can tell us what we – a school, a business, a community – can do better given that the system was tested.

In other words, we can learn a lot from a mass casualty event that didn’t occur.

In the coming days, YouTube must assess how it performed when the emergency was unfolding.

Did employees get notified? Have they been trained in active shooter protocols? Did police know the campus-like facility and what to do? What sorts of communications were coming from headquarters to notify the public and employee family members? In other words, did the system work?

00:56 - Source: CNN
'Panic' at YouTube headquarters shooting
SAN BRUNO, CA - APRIL 03:  Police officers stand by in front of the YouTube headquarters on April 3, 2018 in San Bruno, California. Police are investigating an active shooter incident at YouTube headquarters that has left at least one person dead and several wounded.  (Photo by Justin Sullivan/Getty Images)
PHOTO: Justin Sullivan/Getty Images
SAN BRUNO, CA - APRIL 03: Police officers stand by in front of the YouTube headquarters on April 3, 2018 in San Bruno, California. Police are investigating an active shooter incident at YouTube headquarters that has left at least one person dead and several wounded. (Photo by Justin Sullivan/Getty Images)
Now playing
00:56
'Panic' at YouTube headquarters shooting
PHOTO: cnn
Now playing
01:01
Police: YouTube shooter went to gun range
PHOTO: CNN
Now playing
02:06
The videos YouTube shooter posted online
YOUTUBE HQ SHOOTING/POLICE GIVE TIMELINE OF SHOOTING - Police are on the scene of an active shooter incident at the YouTube headquarters in San Bruno, California.
PHOTO: KPIX
YOUTUBE HQ SHOOTING/POLICE GIVE TIMELINE OF SHOOTING - Police are on the scene of an active shooter incident at the YouTube headquarters in San Bruno, California.
Now playing
02:00
Suspected YouTube HQ shooter dead
Dr. Andre Campbell
PHOTO: KPIX
Dr. Andre Campbell
Now playing
01:00
Surgeon vents after treating shooting victims
PHOTO: KRON
Now playing
01:22
Witness describes shooting at YouTube HQ
Officers walk near a YouTube office in San Bruno, Calif., Tuesday, April 3, 2018. Police in Northern California are responding to reports of a shooting at YouTube headquarters in the city of San Bruno. (AP Photo/Jeff Chiu)
PHOTO: Jeff Chiu/AP
Officers walk near a YouTube office in San Bruno, Calif., Tuesday, April 3, 2018. Police in Northern California are responding to reports of a shooting at YouTube headquarters in the city of San Bruno. (AP Photo/Jeff Chiu)
Now playing
01:05
Sources: Female shooting suspect dead
PHOTO: KGO
Now playing
02:06
YouTube employee: Everything was a panic
PHOTO: KGO
Now playing
01:53
Shooting reported at YouTube HQ
A target sheet hangs at a shooting range July 22 in Aurora, Colorado.
PHOTO: Getty Images
A target sheet hangs at a shooting range July 22 in Aurora, Colorado.
Now playing
02:20
How police train for active shooter response
Handguns that were swapped for gift cards during a Los Angeles Police Department sponsored gun buyback event in Los Angeles, California on December 13, 2014.  The city held the event in three locations and the public were able safely and anonymously surrender firearms in exchange for $100 and $200 gift cards.    AFP PHOTO/MARK RALSTON        (Photo credit should read MARK RALSTON/AFP/Getty Images)
PHOTO: MARK RALSTON/AFP/AFP/Getty Images
Handguns that were swapped for gift cards during a Los Angeles Police Department sponsored gun buyback event in Los Angeles, California on December 13, 2014. The city held the event in three locations and the public were able safely and anonymously surrender firearms in exchange for $100 and $200 gift cards. AFP PHOTO/MARK RALSTON (Photo credit should read MARK RALSTON/AFP/Getty Images)
Now playing
02:19
Survivors of gun violence are fed up

These are important questions to answer, because these kinds of emergencies are bound to happen again, and YouTube will be a better company if it honestly assesses its performance rather than thinking it simply avoided a catastrophe.

These lessons learned will then serve as a foundation for new security protocols. They can also be shared with other businesses – and will be especially useful to those in Silicon Valley that have similar campuses. In some respects, YouTube also owes such a thorough review to its traumatized employees and their families.

One of the most important aspects of disaster management training is to perform such an exercise that results in lessons learned. Commonly referred to in the military as an “after action” report, it helps institutions assess how prepared they were and what they can do better next time.

Take, for example, the often annoying decision by governors in New England states to stop people from driving during anticipated blizzards. These directives – sometimes wrong if the sun is still shining – are based on one clear reality learned from blizzards of the past: people who die in blizzards often do not die from snow but from carbon monoxide poisoning of those who get stuck in cars. So, as a lesson learned, the general rule is to keep people off the road, even if the disaster doesn’t actually occur.

In an ideal world, there would be no gun violence like what we saw at YouTube. The company does not necessarily need to respond with gates and fences. Every institution needs to weigh how much security it wants against its desire to be open and, in the case of YouTube, “disruptive.” There is no perfect security solution.

But what YouTube can do is take advantage of a bigger tragedy averted so the rest of us might be safer for any deficiencies or gaps that were exposed in those few scary minutes on its campus.