Comments (3)
This is a good idea. But there are probably many control panels with their own API, and I do not use any of them. It is quite difficult to write and debug usage unknown APIs. Maybe you had in mind the import of domains from some standard format, like CSV?
By the way: Do you know that domains can be automatically added to the database by using allowed_domains
option in the config file?
from dmarc-srg.
This is a good idea. But there are probably many control panels with their own API, and I do not use any of them. It is quite difficult to write and debug usage unknown APIs. Maybe you had in mind the import of domains from some standard format, like CSV?
By the way: Do you know that domains can be automatically added to the database by using
allowed_domains
option in the config file?
All APIs have 1 thing in common: They can be queried viy curl. So, if you add a form to ask for:
- Full API link to query the domains
- API credentials
It should be enough for the system to query the control panels.
- No, I didn't know I could add automatically domains with that option. ;-)
from dmarc-srg.
I see at least two problems:
- API can use a temporary token that is passed after authentication.
- The complexity of processing the result. You need to know the response format and its structure for each control panel to extract the domain name.
It seems to me more reasonable to do this: your script retrieves a list of domains through the API and passes it as CSV to my script through a temporary file or pipe to import your domains to the database.
from dmarc-srg.
Related Issues (20)
- Add DMARC disposition to the Report Detail filter HOT 8
- Enhance information on the Summary Reports page HOT 1
- Summary Reports period selection HOT 3
- error "ACL not available on this IMAP server" HOT 7
- kerberos error HOT 2
- Feature Request -- Support for retrieving DMARC emails from AWS S3 bucket HOT 18
- How to update HOT 4
- Feature Request - Reporting for multiple domains at once HOT 5
- Error: Call to undefined function Liuch\DmarcSrg\getallheaders() HOT 10
- NP tag causes error to be logged HOT 2
- Feature Request: Button to manually retreive email HOT 6
- Multiple Mailboxes? HOT 2
- utils/fetch_reports.php does not list mailbox messages HOT 3
- Cant login HOT 20
- Error - Bad Message Number HOT 11
- JSON.parse: unexpected non-whitespace HOT 2
- Feature Request -- Export Summary Reports to CSV HOT 4
- admin login setting to assign the domains to user login HOT 1
- Forensic reports? HOT 4
- Ip address I wrong in reports. HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dmarc-srg.