teleren/devto huggingface dataset:
Centralize Security Vulnerabilities with Amazon Macie Integration in CloudDefense
Published: 2023-09-15 07:38:29

![Centralize Security Vulnerabilities with Amazon Macie Integration in CloudDefense](https://cdn-images-1.medium.com/max/5826/1*WMLz4wJQ2-rCatU8fNhuYg.png)

In the modern cloud-based business environment, security breaches have become a significant concern for organizations using AWS services. To address these security risks, CloudDefense.AI offers integration with Amazon Macie, a data privacy and protection service. This integration allows businesses to automatically discover and protect sensitive data in their AWS environment. Here’s a summary of the key points:

Amazon Macie is a data privacy and protection service that uses machine learning and pattern matching to identify and safeguard sensitive data within AWS. It helps organizations deal with the challenge of identifying and protecting sensitive data at scale.

### **Benefits of Using CloudDefense and Amazon Macie:**

 1. **Constant Monitoring of Buckets:** CloudDefense integrates with Amazon Macie to continuously monitor Amazon S3 buckets for changes and provides alerts regarding unauthorized access or unencrypted buckets.

 2. **Discovering Sensitive Data:** CloudDefense leverages Macie’s machine learning to automatically detect sensitive data types, including personally identifiable information (PII) and protected health information (PHI), without manual data identification.

 3. **Visibility of Data Security:** The platform offers a user-friendly interface to view the security status of data in all S3 buckets, making it easier for security teams to track changes.

 4. **Meeting Privacy Regulations:** CloudDefense.AI helps organizations comply with privacy regulations like HIPAA, PCI-DSS, and GDPR by maintaining a list of sensitive data types and enabling security teams to manage them effectively.

 5. **Custom-Defined Sensitive Data Types:** Organizations can define custom-sensitive data types, allowing Macie to identify data unique to their organization.

 6. **Straightforward Setup and Management:** CloudDefense.AI’s agentless solution simplifies the setup of Amazon Macie and enables it across multiple AWS accounts, reducing the need for manual data classification.

### CloudDefense.AI and Amazon Macie:

CloudDefense.AI is a user-friendly security platform that, when integrated with Amazon Macie, provides automated and efficient discovery and protection of sensitive data across AWS accounts. It offers a comprehensive dashboard for monitoring and categorizing S3 buckets and simplifies data discovery tasks. The platform also generates policy-finding and sensitive data-finding reports, as well as CloudWatch event findings for alerting and remediation processes.

In summary, CloudDefense.AI’s integration with Amazon Macie offers an effective solution for organizations to automate the discovery and protection of sensitive data in their AWS environment, helping them meet regulatory requirements and enhance their overall data security.
Learn git revert Step by Step (to revert commit in GitHub)
Tags: javascript, git, github
Published: 2023-09-15 07:32:08

Let say, you have Committed some change and pushed the changes to your git repo.
But now you want to revert/remove  the changes from your git repo as well as from your local machine, then **git revert** can help you.

Note-> This command won't remove the commit from commit history, it only revert the change from files.

As per Google
_The git revert command is a forward-moving undo operation that offers a safe method of undoing changes. Instead of deleting or orphaning commits in the commit history, a revert will create a new commit that inverses the changes specified_

to read from git documentation [https://git-scm.com/docs/git-revert](https://git-scm.com/docs/git-revert).

## **Step-1**
We need commit id to revert the specific commit. So to get commit id enter below command in your code editor terminal or command prompt.

```
git log
```
this will show list of commit with commit id, author, Date and commit Name

IMAGE 1->
![git log](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/sxh5g07ij058h134tzcj.png)

so the top one will show the latest commit. so copy the id from the log and close the process by pressing **_semicolon + q_** button.

## **Step-2**
Now lets use **_git revert_** command.

```
git revert <commit-id>
```

IMAGE 2 -> 
![git revert](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qxy9iotbrvdgyfcfq16i.png)

and press `Enter`.
after enter we will see screen like this :

IMAGE 3 -> 
![git revert](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/c7sw1khbv9e89a939xm5.png)

you can see your _**commit name**_ and _**commit id**_ with _**files that have changes**_.


## **Step-3**

So now we have to exit vim and commit the changes.
To do that press.

1. `Ctrl+C` 

after pressing `Ctrl+C` it will ask to `Type: qa and press enter`.

IMAGE 4 -> 
![git revert](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3nv1kyixwa0wpx8h70db.png)

2.Then type `qa` and press `Enter`.

And you will exit of vim ui. and screen will look like this.
And you will see that you have created one commit and that is the reverted commit.

IMAGE 5 -> 
![git revert](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0xsjvslb7d7pohdpeg15.png)

## **Step-4**

Now we have to push the reverted commit by using git push.

```
git push
```
and Done.

if you see the commit list you will see you have added one new commit starting with `Revert` key.

IMAGE 6 -> 
![commit List](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8s4t5q4sr2xmlcujmhs6.png)





That's all guys.. And All the best.
How to Check Installed Angular CLI Version?
Published: 2023-09-15 07:30:16

As we all know the Google team is frequently updating Angular and tries to launch the next version twice within the year. So as an Angular developer, It's important to know the CLI version installed and to tackle the version related issue wisely. Because many NPM packages do not support the most recent version. 

### Check if Angular CLI is installed
At first, we need to know if CLI is installed in the system or not. Use the below command to check the same.

``````ng``````

If Angular CLI is installed then the above command will  return the list of available command like below:


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/id5mhlut9o1qrqfjdv8c.png)

### Install Angular CLI
If Angular CLI is not installed in your system, Then the first task is to install the Angular CLI with below command over the terminal/command prompt.

``````npm install -g @angular/cli``````


### Check installed version of Angular CLI
 

You can use the below commands to check the installed version of Angular CLI.

``````ng --version``````

If angular CLI is installed properly then, details of the installed version will list like below:


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/eq3deqih2idl5j3fn6y4.png)

If the installed version of Angular CLI is not the latest and wants it to upgrade to the latest version. Read my article posted earlier [How To Update Angular CLI To Version 9](https://jsonworld.com/blog/how-to-check-installed-angular-cli-version)

I hope the article was helpful to you.

Let me know your thoughts over email **demo.jsonworld@gmail.com.** I would love to hear them and If you like this article, share it with your friends.

Thank you!

This article is originally posted over [jsonworld](jsonworld.com)
Smart Way to Save Thunderbird emails
Tags: thunderbird, backup, email
Published: 2023-09-15 07:23:15

The way to save emails smartly and safely is to back them up using a secure solution. When you backup emails, one copy is not enough to ensure seamless recovery. The minimum number of copies one should save is three with two on different sites like local and remote which can then ensure seamless recovery in varied circumstances. 

The question now is how to do this as most tools and methods are exhausting even when it comes to saving a single copy. Well, you need a professional tool which has smart features and main is automatic backups. 

## How to backup Thunderbird email easily?

Easy way is the smart way. When a method is easy, the chances of mistakes and goof ups become nil. Mail backup X is the best choice for anyone without a second guess as it is the smartest professional **email backup tool**. 

This tool can backup your emails and save them on a number of sites as you just select those with easy steps. The rest is done by the tool which can run effortlessly on Mac OS as well as Windows OS. This is a seamless and speedy tool that can backup emails for a large number of email services. This tool is actually the smartest choice because it can recognize every email element and all types of content which is important. It is important because we need to backup different email folders and our data can also have Unicode content. It is important that all these elements are properly backed up. 

## Thunderbird email backup- what benefits do you get when you choose this tool?

We have already talked about the tool's wider compatibility which is a really big advantage. There are so many more amazing aspects about it and we will talk about those here. This is a multifunctional software application that is way ahead of others with additional functions of email recovery and migration. It is so important that these functions too have to be automatic and flawless. This is why this tool is so beneficial for users. It is an economical tool even with so many additional functions and a seamless technology. 

## [Backup Thunderbird emails exactly](https://www.mailbackupx.com/thunderbird-backup-email/) as desired

With most methods of email backup, a user never gets to choose all the aspects of the task. The task may get completed but many things are not like the user would want in an ideal scenario. This tool creates an ideal scenario with an environment where every step is simple and straightforward. There are many customisation options starting from the choice of email backup pattern, email backup frequency and timing, different locations like remote, local, and external, double layered encryption, and so many more. 
The data is encrypted and compressed making it secure as well as manageable without utilising significant space. The tool can run in the background and data will be backed up in an intact manner. There is never a reason to worry about email backups with this advanced and user-friendly tool. 

Try a free demo to know more https://www.mailbackupx.com/buy-mailbackupx/.
Welcome to TechOrigins: Crafting Digital Experiences!
Tags: webdev, design, ai, web3
Published: 2023-09-15 07:07:59

Hey there, fellow developers, designers, and digital wanderers!

🚀 We're excited to embark on this digital journey with you. Here at TechOrigins[](https://techorigins.io/), we don't just build websites, apps, or AI-powered wonders. We craft experiences that leave a mark.


🌐 Whether you're diving into the vast sea of the web, craving the latest app sensation, exploring the uncharted realms of Web3, or seeking the intelligence of AI, we've got you covered.

💡 Our mission? To make tech less daunting and more delightful. We're not about buzzwords or corporate fluff. We're all about rolling up our sleeves, writing clean code, and creating designs that speak for themselves.

🛠️ We're the folks who believe that a single line of code can change the world, that pixel-perfect designs are worth the effort, and that innovation is fueled by curiosity, not buzzwords.

🤝 So, whether you're a startup on the verge of greatness or an established player looking for a digital makeover, let's chat. We're not just here to build; we're here to understand your vision and bring it to life.

📣 Stay tuned for tips, tech talk, and some behind-the-scenes goodness as we navigate this digital universe together. Welcome to TechOrigins—where pixels meet purpose.

Let's make things happen. 💻🚀

[techorigins.io](https://techorigins.io/)
#DigitalAgency
Toughest Learning Moment?
Tags: discuss
Published: 2023-09-15 07:00:00

_Welcome to Code Chatter, your go-to series for conversational coding insights. What makes this series of questions different from all the others? Well, truth be told, not much, but they're still thought-provoking and fun. Join us as we explore the coding world, one witty question at a time._

> What concept or skill was particularly challenging for you to grasp when you were learning to code, and what finally helped it click?

{% embed [https://dev.to/devteam](https://dev.to/devteam) %}
Share Your Work Attire Secrets
Tags: discuss, beginners, codenewbie
Published: 2023-09-15 07:00:00

_Get a glimpse into the daily experiences, work routines, and unique perspectives of tech professionals, both novice and experienced alike, in "A Day in the Life."_

> Do you have a dress code at work? What is it? Alternatively, what is your typical work attire?"


Follow the [CodeNewbie Org](https://dev.to/codenewbieteam) and [#codenewbie](https://dev.to/t/codenewbie) for more discussions and online camaraderie!

*{% embed* https://dev.to/codenewbieteam *%}*
Upgrade Debian 11 (bullseye) to Debian 12 (bookworm) in wsl2
Tags: wsl, debian, bookworm, bullseye
Published: 2023-09-15 06:57:15

Aku nok pakai php 8.2, jadi kena upgrade bullseye ke bookworm. step untuk upgrade adalah sebagaimana di bawah:-

```
root@local:/# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 11 (bullseye)
Release:        11
Codename:       bullseye
```

```
root@local:/# uname -a
Linux 5.15.90.1-microsoft-standard-WSL2 #1 SMP Fri Jan 27 02:56:13 UTC 2023 x86_64 GNU/Linux

```

```
root@local:/# cat /etc/apt/source.list
```

```
deb http://deb.debian.org/debian bullseye main
deb http://deb.debian.org/debian bullseye-updates main
deb http://security.debian.org/debian-security bullseye-security main
deb http://ftp.debian.org/debian bullseye-backports main
```

Change source.list from bullseye to bookworm with vi/nano/pico

```
deb http://deb.debian.org/debian bookworm main
deb http://deb.debian.org/debian bookworm-updates main
deb http://security.debian.org/debian-security bookworm-security main
deb http://ftp.debian.org/debian bookworm-backports main
```



```
root@local:/# apt update
```

```
root@local:/# apt upgrade --without-new-pkgs
```
<u>**Perform full-upgrade will replace php 8.1 to new php 8.2** ( if previous wsl2 installed with linux bullseye has php 8.1 )</u>

```
root@local:/# apt full-upgrade
```

After that, validate php version 

```
root@local:/# php -v
PHP 8.2.10 (cli) (built: Sep  4 2023 08:11:43) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.10, Copyright (c) Zend Technologies
    with Zend OPcache v8.2.10, Copyright (c), by Zend Technologies
```


```
root@local:/# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 12 (bookworm)
Release:        12
Codename:       bookworm
```

Photo by <a href="https://unsplash.com/@hidd3n?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">Kevin Horvat</a> on <a href="https://unsplash.com/photos/Pyjp2zmxuLk?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">Unsplash</a>

<a href="https://www.buymeacoffee.com/hardyweb" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/default-orange.png" alt="Buy Me A Coffee" height="41" width="174"></a>
What is an API and how can you protect your API key from exposure?🤔🔥
Tags: api, programming, express, webdev
Published: 2023-09-15 06:43:55

An API, or Application Programming Interface, is a set of rules and protocols that allows different software applications to communicate and interact with each other. It defines the methods and data formats that applications can use to request and exchange information. APIs are used extensively in modern software development to enable the integration of different services and systems.

If you commit your API key to a public repository, it can have serious security implications. An API key serves as a unique identifier that grants access to certain resources or services. If it falls into the wrong hands, unauthorized individuals or applications could potentially misuse it. They might gain unauthorized access to your accounts, data, or services associated with that API key.

To prevent this, it's crucial to follow best practices for handling API keys:

1. **Keep Them Private**: Never share your API keys in public forums, repositories, or anywhere accessible to unauthorized users.

2. **Use Environment Variables**: Store your API keys in environment variables or use a configuration file that is excluded from version control. This way, you can access them without exposing them in your code.

3. **Utilize Secret Management Tools**: Use tools like Vault or AWS Secrets Manager to securely store and manage sensitive information, including API keys.

4. **Check Repository History**: Regularly review your repository's history to ensure no accidental commits containing API keys have been made.

5. **Rotate API Keys**: Periodically rotate your API keys to limit potential damage in case one is compromised.

6. **Restrict API Key Permissions**: Whenever possible, limit the permissions of your API keys to only what is necessary. This minimizes the potential impact if the key is misused.

Remember, protecting your API keys is a critical aspect of ensuring the security of your applications and the services they interact with.

![What if you Push your API-KEY to public repo.😂😂](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1sun9a2v1bccnopfaaoo.jpg)
How critical thinking beats authorities
Published: 2023-09-15 06:20:23

One of the lessons I've learned in my 1st Year as a Software Engineer is to think critically about everything:


* Question ideas even in the best book. Those ideas might not be suitable in certain circumstances

* Question authorities and more senior engineers at work. They might not see some edge cases

* Question the work culture and established workflows. Are they still relevant in this ever-changing industry.

* Question the technologies used for a solution. Are we using them because they best fit the job or are we sticking with them out of habit?


Not accepting things instantly and thinking through them before making a decision has given me a lot of experience. There were several situations when I came with a new or unusual proposals that fit the situation better than ordinary ones. 

This doesn't mean that I'm the one making rebelling on the boat. Mostly I completely agree with the decisions made. But even when I agree, I learn a lot along the way and can provide meaningful insights.
migrate old dart code
Tags: flutter, dart, migrate, help
Published: 2023-09-15 06:18:09

i want to change the old dart code into new, this will follow the documentation https://github.com/letsar/flutter_slidable/wiki/FAQ the code - 
  children: widget.stores!.map<ExpansionPanel>((Store item) {
        return ExpansionPanel(
          headerBuilder: (BuildContext context, bool isExpanded) {
            return Slidable(
              endActionPane: SlidableScrollActionPane(),
              secondaryActions: <Widget>[
                Transform.translate(
                  offset: Offset(-4, 0),
                  child: Container(
                    child: IconButton(
                      onPressed: () {
                        showDeleteDialog(item.products!
                            .map((e) => e.shoppingItemId!)
                            .toList());
                      },
i have tried but unable to solve the issue , moreover the error prompt is- 1)The method 'SlidableScrollActionPane' isn't defined for the type 'ShoppingListPage'. Try correcting the name to the name of an existing method, or defining
          a method named 'SlidableScrollActionPane'. • undefined_method

2) The named parameter 'secondaryActions' isn't defined. Try correcting the name to an existing named parameter's name, or defining a named parameter with the 
          name 'secondaryActions'. • undefined_named_parameter

3)The named parameter 'actionExtentRatio' isn't defined. Try correcting the name to an existing named parameter's name, or defining a named parameter with the
          name 'actionExtentRatio'. • undefined_named_parameter
𝗛𝗶𝘀𝘁𝗼𝗿𝘆 𝗢𝗳 𝗖# 𝗟𝗮𝗻𝗴𝘂𝗮𝗴𝗲
Tags: dotnet, csharp, programming, softwareengineering
Published: 2023-09-15 06:09:13


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/uy5pwclhyo3ua7s99e29.png)

During more than 20 years of development, we saw 11 versions of the C# language. Every version gave us some new and interesting features. Here is a brief overview of those features:

🔹 𝗖# 𝟭.𝟬 released with .NET 1.0 and VS2002 (January 2002).

🔹 𝗖# 𝟭.𝟮 released with .NET 1.1 and VS2003 (April 2003). The first version is called Dispose on IEnumerators which implemented IDisposable.

🔹 𝗖# 𝟮.𝟬 released with .NET 2.0 and VS2005 (November 2005). Major new features: generics, anonymous methods, nullable types, and iterator blocks.

🔹 𝗖# 𝟯.𝟬 released with .NET 3.5 and VS2008 (November 2007). Major new features: lambda expressions, extension methods, expression trees, anonymous types, implicit typing (var), and query expressions.

🔹 𝗖# 𝟰.𝟬 released with .NET 4 and VS2010 (April 2010). Major new features: late binding (dynamic), delegate and interface generic variance, more COM support, named arguments, tuple data type, and optional parameters.

🔹 𝗖# 𝟱.𝟬 released with .NET 4.5 and VS2012 (August 2012). Major features: async programming and caller info attributes.

🔹 𝗖# 𝟲.𝟬 released with .NET 4.6 and VS2015 (July 2015). Enabled by Roslyn. Features: initializers for automatically implemented properties, using directives to import static members, exception filters, and more.

🔹 𝗖# 𝟳.𝟬 released with .NET 4.7 and VS2017 (March 2017). Major new features: tuples, ref locals and ref return, pattern matching (including pattern-based switch statements), and more.

🔹 𝗖# 𝟳.𝟭 released with VS2017 v15.3 (August 2017). New features: async main, tuple member name inference, default expression, and pattern matching with generics.

🔹 𝗖# 𝟳.𝟮 released with VS2017 v15.5 (November 2017). New features: private protected access modifier, Span<T>, aka interior pointer, aka stackonly struct, and everything else.

🔹 𝗖# 𝟳.𝟯 released with VS2017 v15.7 (May 2018). New features: enum, delegate, and unmanaged generic type constraints. ref reassignment.

🔹 𝗖# 𝟴.𝟬 released with .NET Core 3.0 and VS2019 v16.3 (September 2019). Major new features: nullable reference-types, asynchronous streams, indices and ranges, readonly members, and more.

🔹 𝗖# 𝟵.𝟬 released with .NET 5.0 and VS2019 v16.8 (November 2020). Major new features: init-only properties, records, with-expressions, data classes, positional records, top-level programs, and improved pattern matching.

🔹 𝗖# 𝟭𝟬.𝟬 released with .NET 6.0 (November 2021). Major new features: record structs, struct parameterless constructors, interpolated string handlers, and more.

🔹 𝗖# 𝟭𝟭.𝟬 released with .NET 7.0 (November 2022). Major new features: file-scoped types, generic math support, auto-default structs, pattern match Span<char> on a constant string, and more.

What features do you use the most?