avatarEsh

Free AI web copilot to create summaries, insights and extended knowledge, download it at here

4815

Abstract

g">"rate(60 minutes)"</span> execution-<span class="hljs-keyword">options</span>: output_dir: s3://bucket-name/cclogs/{{policy}}/ action: - start - <span class="hljs-built_in">type</span>: notify template: default.html # Using jinja template template_format: <span class="hljs-string">'html'</span> priority_header: <span class="hljs-string">'1'</span> subject: Started {{ policy[<span class="hljs-string">'resource'</span>] }} <span class="hljs-keyword">as</span> per defined c7n offhours- {{account}} {{region}} via {{policy[<span class="hljs-string">'name'</span>]}} action_desc: | Custodian <span class="hljs-built_in">has</span> started the EC2 instance based <span class="hljs-keyword">on</span> the defined
c7n offhours. <span class="hljs-keyword">to</span>: - <span class="hljs-keyword">first</span>.last@example.<span class="hljs-keyword">com</span> transport: <span class="hljs-built_in">type</span>: sqs queue: https://sqs. {{region}}.amazonaws.<span class="hljs-keyword">com</span>/{{account_id}}/c7nmailermessagequeue</pre></div><p id="8b1f"># 3— EC2 off-hours enforcement</p><div id="46f7"><pre><span class="hljs-symbol">vars:</span> sec-tags: <span class="hljs-variable">&sec</span>-tags <span class="hljs-symbol"> owner:</span> [email protected] <span class="hljs-symbol"> service:</span> cloudcustodian <span class="hljs-symbol"> department:</span> music <span class="hljs-symbol"> compliance:</span> ABCD </pre></div><div id="6999"><pre><span class="hljs-symbol">policies:</span></pre></div><div id="0115"><pre><span class="hljs-bullet">-</span> <span class="hljs-attr">name:</span> <span class="hljs-string">csp-na-ec2-off-hours-enforcement</span> <span class="hljs-attr">resource:</span> <span class="hljs-string">aws.ec2</span> <span class="hljs-attr">comments:</span> <span class="hljs-string">| Opt in EC2 instances without a c7n_off_hours tag. </span> <span class="hljs-attr">filters:</span> <span class="hljs-bullet">-</span> <span class="hljs-attr">"tag:c7n_off_hours":</span> <span class="hljs-string">absent</span> <span class="hljs-bullet">-</span> <span class="hljs-attr">"tag:aws:autoscaling:groupName":</span> <span class="hljs-string">absent</span> <span class="hljs-attr">mode:</span> <span class="hljs-attr">type:</span> <span class="hljs-string">periodic</span> <span class="hljs-attr">schedule:</span> <span class="hljs-string">"rate(24 hours)"</span> <span class="hljs-attr">tags:</span> <span class="hljs-string">*sec-tags</span> <span class="hljs-attr">execution-options:</span> <span class="hljs-attr">output_dir:</span> <span class="hljs-string">s3://bucket-name/cclogs/{{policy}}/</span> <span class="hljs-attr">action:</span> <span class="hljs-bullet">-</span> <span class="hljs-attr">type:</span> <span class="hljs-string">tag</span> <span class="hljs-attr">key:</span> <span class="hljs-string">c7n_off_hours</span> <span class="hljs-attr">value:</span> <span class="hljs-string">"on"</span></pre></div><p id="941e"># 4 — Stop EC2 every Thursday evening at 6 PM (once the vulnerability scanner is done its scanning job)</p><div id="eb3c"><pre><span class="hljs-symbol">policies:</span></pre></div><div id="c8ad"><pre>- name: csp-na-vuln-scanner-off-hours-stop resource: aws.ec2 comments: | Stop EC2 instances, every Thursday evening at 6:00 PM (CST). Tag the<span class="hljs-built_in"> instance </span>with key <span class="hljs-string">"vuln_offhours"</span><span class="hljs-built_in"> and </span>value <span class="hljs-string">"off= (H,18);on=(H,8);tz=ct"</span>.Tag the EC2<span class="hljs-built_in"> if </span>you want this policy to be applied on your<span class="hljs-built_in"> instance </span>and take action. Instance will be turned on for 10 hrs for vulnerability scanner to start<span class="hljs-built_in"> and </span> complete the vulnerability scanning. Time zone is ct. filters: - <span class="hljs-string">"tag:c7n_do_not_shut_down"</span>: absent - <span class="hljs-string">"tag:aws:autoscaling:groupName"</span>: absent - type: offhour default_tz: ct offhour: 18 opt-out: false tag: vuln_offhours <span class="hljs-comment"># Use this tag to be included in scope</span> mode: type: periodic schedule: <span class="hljs-string">"rate(60 minutes)"</span> execution-options: output_dir: s3://bucket-name/cclogs/{{policy}}/ action: - stop - type: notify template: default.html <span class="hljs-comment"># Using jinja template</span> template_format: 'html' priority_header: '1' subject: Stopped {{ policy['re

Options

source'] }} as per defined vuln offhours- {{account}} {{region}} via {{policy['name']}} action_desc: | Custodian has stopped the EC2<span class="hljs-built_in"> instance </span>based on the defined nessus offhours. to: - [email protected] transport: type: sqs queue: https://sqs. {{region}}.amazonaws.com/{{account_id}}/c7nmailermessagequeue</pre></div><p id="5e94">#5 — Start EC2 every Thursday at 8 AM for the vulnerability scanner.</p><div id="b5c3"><pre><span class="hljs-symbol">policies:</span></pre></div><div id="570e"><pre>- name: csp-na-vuln-scanner-off-hours-start resource: aws.ec2 comments: | Start EC2 instances, every Thursday at 8:00 AM (CST). Tag the<span class="hljs-built_in"> instance </span>with key <span class="hljs-string">"vuln_offhours"</span><span class="hljs-built_in"> and </span>value <span class="hljs-string">"off= (H,18);on=(H,8);tz=ct"</span>.Tag the<span class="hljs-built_in"> instance </span>if you want this policy to be applied<span class="hljs-built_in"> and </span>take action. Instance will be turned on for 10 hrs for vuln scanner to start<span class="hljs-built_in"> and </span>complete the vulnerability scanning. Time zone is ct.. filters: - <span class="hljs-string">"tag:c7n_do_not_shut_down"</span>: absent - <span class="hljs-string">"tag:aws:autoscaling:groupName"</span>: absent - type: onhour default_tz: ct opt-out: false onhour: 8 tag: vuln_offhours <span class="hljs-comment"># Use this tag to be included in scope</span> mode: type: periodic schedule: <span class="hljs-string">"rate(60 minutes)"</span> execution-options: output_dir: s3://bucket-name/cclogs/{{policy}}/ action: - start - type: notify template: default.html <span class="hljs-comment"># Using jinja template</span> template_format: 'html' priority_header: '1' subject: Started {{ policy['resource'] }} as per defined c7n offhours- {{account}} {{region}} via {{policy['name']}} action_desc: | Custodian has started the EC2<span class="hljs-built_in"> instance </span>based on the defined
c7n offhours. to: - [email protected] transport: type: sqs queue: https://sqs. {{region}}.amazonaws.com/{{account_id}}/c7nmailermessagequeue</pre></div><p id="3e51"># 6— EC2 running continuously for last 1 week</p><div id="1fff"><pre><span class="hljs-symbol">policies:</span></pre></div><div id="4d72"><pre><span class="hljs-bullet">-</span> <span class="hljs-attr">name:</span> <span class="hljs-string">csp-n-ec2-running-for-last-7-days</span> <span class="hljs-attr">resource:</span> <span class="hljs-string">aws.ec2</span> <span class="hljs-attr">comments:</span> <span class="hljs-string">| Find all EC2 instances that are in running state for the last 7 days.This is a notify only policy. This policy runs every day at 6:00 AM UTC (1:00 AM CDT) </span> <span class="hljs-attr">filters:</span> <span class="hljs-bullet">-</span> <span class="hljs-attr">"State.Name":</span> <span class="hljs-string">running</span> <span class="hljs-bullet">-</span> <span class="hljs-attr">type:</span> <span class="hljs-string">instance-age</span> <span class="hljs-attr">days:</span> <span class="hljs-number">7</span>
<span class="hljs-attr">mode:</span> <span class="hljs-attr">type:</span> <span class="hljs-string">periodic</span> <span class="hljs-attr">schedule:</span> <span class="hljs-string">"cron(0 6 * * ? *)"</span> <span class="hljs-attr">execution-options:</span> <span class="hljs-attr">output_dir:</span> <span class="hljs-string">s3://bucket-name/cclogs/{{policy}}/</span> <span class="hljs-attr">action:</span> <span class="hljs-bullet">-</span> <span class="hljs-attr">type:</span> <span class="hljs-string">notify</span></pre></div><p id="c9d2"><b>Other Stories</b></p><p id="6ef9"><a href="https://ismsguy.medium.com/ingesting-cloud-custodian-logs-into-sumo-logic-part-1-4e6af6df70a">Ingesting Cloud Custodian Logs into Sumo Logic</a></p><p id="bc30"><a href="https://ismsguy.medium.com/aws-resources-inventory-using-cloud-custodian-12aa011c66">AWS Resource Inventory using Cloud Custodian</a></p><p id="80a8"><a href="https://ismsguy.medium.com/aws-resources-inventory-using-cloud-custodian-12aa011c66">Cloud Custodian Policy Health Checks</a></p><p id="6f54"><a href="https://ismsguy.medium.com/cloud-custodian-gz-output-files-6cd0fbfaed8a">Cloud Custodian Output Files</a></p><p id="cb2d"><a href="https://ismsguy.medium.com/membership">https://ismsguy.medium.com/membership</a></p></article></body>

Three of History’s Unmerciful & Lesser-Known Revenge Stories

Some of history’s greatest revenge stories you skipped.

Source: jus.io

We all love revenge stories. Why? They simply own a dramatic curve which we all are hungry for. They teach us, aware us, and most importantly, entertain us.

These stories will take you on the roller coaster ride of fascinating tales from history, which impresses us with the audacity people possess.

Revenge is taken when people have nothing to lose — even their own life. Let’s dig into fascination, where bold ones denied their suffering and simply acted:

What made her “The Huntress”?

Diana’ Sketch Source: CNN

You might have heard of the history of horrors in Mexico for women — the femicide.

It’s alarming to know the statistics of women murdered every day. New reports surface how abduction and murders are aided by transit officers, local officials, and city bus drivers.

The horrific trend has been brought to attention by women’s rights activists several times, but it didn’t help control the worsening situation.

In 2003, such conditions forced women like Diana to take matters into their own hand.

Titled as “Bus Driver Hunter,” Diana, as a disguised vigilante, targeted Ciudad Juárez bus drivers, who abducted more than 800 girls. She suspected two bus drivers, Jose Roberto Flores Carrera and Fredy Zarate Morales, being accomplices and shot them both.

Pop culture vigilantes take a safer route of targeting criminals in dark alleys, but Diana took a different turn and, in 2013, walked on to two city busses. She applied the same strategy in both crowded buses, where she sat calmly for 15 minutes then walked up to each driver’s bus, shooting the male drivers. Both the murders took place a day apart.

Her justification letter to the local news outlet was:

Source: Diana’s letter to This American Life

Interestingly, Diana, the huntress, has her name from a Roman goddess, who is well known in Juarez, Mexico, because the city has La Diana Cazadora’s statue.

She was the goddess of the hunt, so it makes sense from where the inspiration sprouted.

Diana had a disguised identity, like any vigilante of pop culture. Instead of bothering with masks and capes, she settled for a blonde wig — a reason she has been hard to track down.

Twenty people witnessed Diana’s act, helping to formulate her sketch; they told the police she had dark-skinned and was in her fifties. It is interesting how even having 20 close-range witnesses didn’t help to find Diana.

Her extreme actions had a conspiratorial effect on men, especially the bus drivers — many became terrified to go to work.

Sadly, Diana’s step didn’t help much with the rising numbers of victims, but it did provide comfort to some women.

Owing to the mixed public responses, the morality of her action remains unambiguous.

What made this woman sell all her belongings for buying her “fighting girlfriend”?

Photo Source: Wikimedia Commons

The history is littered with prime examples of revenge incidents from the world war. Flashing back to the second world war, nearly eight hundred thousand women served in the Red Army — one of such women was Mariya Oktyabrskaya, who had her reasons.

Overshadowing the motivation of patriotism, revenge was Mariya Oktyabrskaya’s calling — she had to avenge her husbands’ death at the nazi’s hand.

Hailing from the Crimea peasant family, Mariya Oktyabrskaya already penned a more significant loyalty for the USSR. A supporter of communism, she married an army officer Oktyabrskaya, who further deepened the sense of duty.

Her husband was killed in Kiev when fighting against Nazis, giving her the coping mechanism of revenge.

Throwing the grief coat, she verged on a new journey, which began by selling all her belongings for buying a T-34 tank. She named it “fighting girlfriend,” with which she planned to attack Nazi invaders.

The girl was smart. To ensure she’ll control the wheel, Mariya Oktyabrskaya wrote to dictator Joseph Stalin himself.

Her letter to the Soviet dictator read:

My husband was killed in action defending the motherland. I want revenge on the fascist dogs for his death and the death of Soviet people tortured by the fascist barbarians.

A battle in the outskirts- Source: Wikimedia

No doubt, Stalin was intelligent. He knew the request would earn a superb propaganda value thus approved her plea.

Mariya Oktyabrskaya got full support from the leader, the training of five-months, but despite her efforts, the countryman had little to no faith in her abilities. They were judging her abilities, forgetting her emotional drive surpassed the skill level they expected.

Maria manifested her anger in October 1943. The first tank battle for Fighting Girlfriend successfully breached enemy lines and crushed many under the treads.

She continued facing the German troops fearlessly. In one incident, the courageous woman, under heavy fire, hopped out of the T-34 tank to make the necessary repairs and then jumped back in to continue the fight.

The horrors she witnessed eased her. A line from an emotional letter to her sister says, “I’ve had my baptism by fire. I beat the bastards. Sometimes I’m so angry I can’t even breathe.”

In January 1944, during the Red Army’s Leningrad–Novgorod Offensive, the great woman died fighting the Nazis.

Her revenge killed her. But she killed many.

The Jewish Vigilantes & Their Attempts To Poison Six Million Germans

Poisoning attempt -Source: Wikimedia

Several revenge stories against Nazis — one of them springs up of Abba Kovner, who chaired Nakam, translates to “avengers,” a Jewish vigilante group. Their mission statement: finish off Germans, as many as possible.

Nakam needed fair reparation — the lives of six million Germans. One for every Jew killed by the Nazis. They needed justice, thus following the old testament style for planning their large-scale killing.

Plan A: poison the water supply in five West German cities — Nuremberg, Weimar, Hamburg, Frankfurt, and Munich.

Disguising as engineers, the group of 50 people unfiltered the water departments. For mass targeting, Abba Kovner needed moral permission from one of his friends and the future president of Israel — Chaim Weizmann.

Weizmann thought plan A was a smaller revenge plan, only targeting Nazi prisoners. The moment he was illuminated by the more extensive destruction, which threatened millions of Germans’ lives, Weizmann made Kovner shift his plan.

Kovner moved to plan B, targeting Stalag 13, an Allied POW camp in Nuremberg, where 12,000 former SS officers were held captive. The SS was the paramilitary organization that administered the Holocaust.

On April 13, 1946, Joseph Harmatz led plan B, where the injected glue and arsenic mixture onto 3,000 loaves of bread prepared for the Nazi prisoners. As the day fell, more than 2,000 Nazi prisoners were hospitalized.

Mass hospitalization didn’t result in any death — the reason being low potent poison.

No causality meant no charges against any Nakam member. Decades later, the case was investigated but owing to “extraordinary circumstances,” prosecutors didn’t file any charges.

All those acts of revenge took so much planning, time, effort, and resources but fewer results — mostly, their own life.

It’s easy to write about what they lose but impossible to decipher the level of inner satisfaction they might have achieved.

More from the author:

Education
Crime
History
Justice
Politics
Recommended from ReadMedium